Next.js · sdk · fg-0304

next/image quality prop is ignored on Next.js 16 and direct /_next/image?q=90 requests return 400

If you see An Image with quality={90} is served at q=75, the cause and the fix for Next.js are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
An Image with quality={90} is served at q=75GET /_next/image?url=...&w=1080&q=90 returns 400 Bad Request
Cause
Next.js 16 changed the default images.qualities from any value to only [75]. Unlisted quality values are snapped to the nearest allowed one, and the optimizer rejects unlisted q values.
Fix
List every quality you use in images.qualities.
Apply
// next.config.ts export default { images: { qualities: [75, 90] } }
Affected
Next.js 16.0 and later
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun