# Next.js image SEO

> Use the Next.js Image component without losing useful alt text, image URLs, or page context that helps Google discover and understand images.

Canonical: https://scaplet.com/seo/nextjs/image-seo

Guide Next.js · Images

Use the Next.js Image component without losing useful alt text, image URLs, or page context that helps Google discover and understand images.

3 min

read

5

sources

Oct 24, 2026

updated

Scaplet Editorial Team

author

In one line

Use `next/image` to serve responsive, optimized images, and write `alt` text that describes the image’s purpose in the page. Google can discover images through HTML `<img>` elements, but not CSS background images; keep a usable image URL and place it near relevant text. Optimization helps delivery, but it does not make an image relevant or guarantee image search visibility.

30-second check

## Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fnextjs%2Fimage-seo%20(%22Next.js%20image%20SEO%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fnextjs%2Fimage-seo%20(%22Next.js%20image%20SEO%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fnextjs%2Fimage-seo%20(%22Next.js%20image%20SEO%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fnextjs%2Fimage-seo%20(%22Next.js%20image%20SEO%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 3 parts, 3 minutes.

1. [Describe the image for the page 01](#describe-the-image-for-the-page)
2. [Keep responsive delivery and image URLs predictable 02](#keep-responsive-delivery-and-image-urls-predictable)
3. [Help Google discover images 03](#help-google-discover-images)

_01_Checklist

## Describe the image for the page

`alt` is a required prop of the Next.js `Image` component, and Next.js documents it as describing the image for screen readers and search engines. Describe what a meaningful image shows in context; Google warns that stuffing `alt` with keywords gives a poor user experience and may be seen as spam. For decorative images, Next.js says to use an empty string (`alt=""`). Google also considers the surrounding page content and captions when interpreting an image.

First_1_
Name important assets descriptively, for example `blue-trail-jacket-front.jpg` instead of `IMG_0042.jpg`.

Next_1_
Put an image near the text that explains it; a product image should sit with the product details it illustrates.

Then_1_
Use an HTML image, not only a CSS background, when the image carries information or should be discoverable.

Product image with contextual alt text

```
import Image from 'next/image' export function ProductPhoto() { return ( <figure> <Image src="/products/blue-trail-jacket-front.jpg" alt="Front view of the blue trail jacket with two chest pockets" width={1200} height={1500} sizes="(max-width: 640px) 100vw, 50vw" /> <figcaption>Blue trail jacket, front view</figcaption> </figure> ) }
```

_02_Image checks for a Next.js page

## Keep responsive delivery and image URLs predictable

Next.js `Image` can produce responsive variants and optimize supported local or remote sources. Set intrinsic dimensions or a supported sizing mode so the browser can reserve space, and provide `sizes` when the rendered width changes across breakpoints. Without `sizes`, the browser assumes the image is as wide as the viewport (`100vw`), which can download an unnecessarily large file. For remote images, configure narrow allowed host patterns in `next.config.js`. If migrating an existing image implementation, check the rendered `src` and `srcset`; changing URLs can trigger new crawls or break [external links](/glossary/backlinks).

Check

### Rendered `<img>` exists

Why it matters

Google can discover the image URL in HTML image [markup](/glossary/structured-data)

How to verify

Inspect [rendered HTML](/glossary/rendered-html) or the browser DOM

Check

### Useful `alt` value

Why it matters

Helps describe the image to screen readers and search systems

How to verify

Read it without the image; does it convey the visual information?

Check

### Correct responsive size

Why it matters

Avoids downloading a needlessly large file on small screens

How to verify

Inspect `srcset`, `sizes`, and network requests

Check

### Stable source URL

Why it matters

Google advises referencing an image with the same URL consistently so it can cache and reuse it

How to verify

Compare old and new `src` values after deployment

Treat the source image and the optimized response as separate checks. Confirm the Next.js image route returns an image with a successful status, and test remote host allowlists in production where the optimizer runs. If a third-party CDN already resizes images, compare output size and quality before optimizing twice.

_03_Good to know

## Help Google discover images

Google recommends standard HTML image elements and a fallback `src` when using responsive image markup. If important images are otherwise hard to discover, an [image sitemap](/glossary/image-sitemap) can expose their URLs; it is an additional discovery path, not an indexing guarantee. In `app/sitemap.ts`, Next.js sitemap entries accept an `images` array of URLs for this. Google supports the formats listed in its current image documentation, including [AVIF](/glossary/avif), WebP, JPEG, PNG, GIF, SVG, and BMP.

For related work, see [Next.js SEO](/seo/nextjs), [alt text](/glossary/alt-text), and [image SEO](/glossary/image-seo).

Image optimization is not a ranking switch

Next.js can resize and optimize image delivery. Search visibility still depends on whether the image and its page are useful, accessible to crawlers, and relevant to the query.

Questions

## Asked a lot.

3 questions people ask next, answered from the sources on this page.

_01_ Does next/image improve image SEO automatically?

It can improve image delivery with responsive sizing and optimization, but it does not automatically write meaningful alt text or make an image relevant to a query.

_02_ What should I put in the alt prop?

Describe the meaningful visual information and purpose in context. Keep decorative images empty (`alt=""`) and avoid keyword lists.

_03_ Can Google index CSS background images in Next.js?

Google documents image discovery through HTML image elements and says it does not index CSS images. Use an `<img>` element for images that matter to the page or image search.

Sources · 5

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- google.com
- nextjs.org

1. 01 [Image SEO best practices | Google Search Central](https://developers.google.com/search/docs/appearance/google-images) developers.google.com · checked 2026-10-24
2. 02 [Image component | Next.js Docs](https://nextjs.org/docs/app/api-reference/components/image) nextjs.org · checked 2026-10-24
3. 03 [Image optimization | Next.js Docs](https://nextjs.org/docs/app/getting-started/images) nextjs.org · checked 2026-10-24
4. 04 [Image sitemaps | Google Search Central](https://developers.google.com/search/docs/crawling-indexing/sitemaps/image-sitemaps) developers.google.com · checked 2026-10-24
5. 05 [Metadata Files: sitemap.xml | Next.js Docs](https://nextjs.org/docs/app/api-reference/file-conventions/metadata/sitemap) nextjs.org · checked 2026-10-24

## Keep learning

[All platform guides](/seo)

[Learn Next.js SEO Frameworks](/seo/nextjs) [Related Core Web Vitals Performance](/glossary/core-web-vitals) [Read next Next.js lazy loading Frameworks](/seo/nextjs/lazy-loading) [Do Run a free site audit Free, about two minutes](/site-audit)

More in Next.js SEO
[Next.js 404 page](/seo/nextjs/404) [Next.js AI crawlers](/seo/nextjs/ai-crawlers) [Next.js canonical tags](/seo/nextjs/canonical-tags) [Next.js Google Analytics](/seo/nextjs/google-analytics) [Next.js image SEO](/seo/nextjs/image-seo) [Next.js lazy loading](/seo/nextjs/lazy-loading) [Next.js noindex](/seo/nextjs/noindex) [Next.js redirects](/seo/nextjs/redirects) [Next.js robots.txt](/seo/nextjs/robots-txt) [Next.js structured data](/seo/nextjs/structured-data) [Next.js title and meta description](/seo/nextjs/title-and-meta) [Next.js XML sitemap](/seo/nextjs/xml-sitemap)

Terms on this page
[Backlinks](/glossary/backlinks) [Structured data](/glossary/structured-data) [Rendered HTML](/glossary/rendered-html) [Image sitemap](/glossary/image-sitemap) [AVIF](/glossary/avif) [Alt text](/glossary/alt-text) [Image SEO](/glossary/image-seo)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

Run the free audit, then approve the fixes. Every change can be undone.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
