deindexpages.com
Page types

How to remove images from Google Search

Images appear in Google through two kinds of URL: the image file itself and the page that embeds it. Removing an image properly means dealing with both. The good news is that images are one of the few cases where robots.txt is an accepted tool.

How images are indexed

Google Images discovers images from the pages that embed them. Google's guidance on image SEO best practices explains how images are found and understood. This yields two distinct things to address:

  • The image file URL (such as /uploads/photo.jpg), which may appear as a result by itself.
  • The host page that embeds it, which provides context and may be indexed separately.

Removing the page from the index does not necessarily remove the image, and vice versa.

Methods compared

MethodRemoves from Google Images?Image still reachable?Notes
Delete the file (404/410)Yes after recrawlNoCleanest; also fix pages that embed it
X-Robots-Tag: noindex on the image responseYes after recrawlYesNeeds server or CDN control
robots.txt Disallow for Googlebot-ImagePrevents the images from appearingYesAccepted by Google for images; scope carefully
Removals tool requestTemporarilyYesFor urgent cases; about six months
noindex on host pageNot guaranteed for the image fileYesAddress the file separately

Option 1: delete the file

  1. Delete the image from your server, media library and CDN. Purge the CDN.
  2. Confirm the old URL returns 404 or 410 using curl -I.
  3. Remove or replace the references on pages and in any image sitemap.
  4. Leave the URL crawlable so Google can see the error.
  5. Request a recrawl of key host pages in URL Inspection to speed up discovery of the change.

Google's treatment of error statuses is described in the HTTP status codes documentation.

Option 2: noindex header on the image

If the image must remain available on your page, serve the file with X-Robots-Tag: noindex. There is no HTML head to carry a meta tag. Server-level patterns for common extensions are in the X-Robots-Tag guide:

location ~* \.(jpe?g|png|webp)$ {
    add_header X-Robots-Tag "noindex" always;
}

Use specific paths rather than a global extension rule, unless you really want none of your images indexed.

Option 3: robots.txt for image crawlers

Google documents robots.txt as a way to keep image files out of Google Images, via rules aimed at its image crawler. That is a notable exception to the rule that robots.txt does not deindex pages, because for image files the aim is to stop the image from being fetched and shown. Example:

User-agent: Googlebot-Image
Disallow: /private-photos/

Treat this as a crawl control with some limits: existing indexed images may take time to drop, and the rule does not affect other search engines unless they honour the same user agent. For the general principle on blocking versus removing, see why robots.txt does not deindex pages.

Option 4: temporary removal

For urgent cases, use the Removals tool on the image URL, and then apply a permanent method. The hide lasts about six months per Google's help page.

Image URLs on a CDN or another domain

If your images are served from a separate hostname, such as a CDN subdomain or a storage bucket, that hostname may need its own Search Console property for removals, and its own header and robots rules. Check where the file actually lives by opening the image URL in a new tab.

Images you do not own

If someone else is displaying your photo, or a private image of you appears on a site you do not control, you cannot noindex it. Google has official forms for explicit and private content, covered in the third-party removal explainer. For copyright claims, use the legal removal channels Google provides.

Common reasons an image keeps appearing

  1. The file still returns 200 at another URL (resized variants, CDN copies, query strings).
  2. The CDN caches the old file or lacks the header.
  3. The image is still embedded on indexed pages, so Google rediscovers it.
  4. A thumbnail or old snippet remains until Google reprocesses it.
  5. robots.txt blocks the page that would show Google the change.

Many CMSs generate multiple sizes of each image (thumbnails, medium, large). Removing the original may leave the generated sizes in place. Delete or noindex all sizes. See troubleshooting a page that is still indexed.

Checklist

A note on thumbnails and image search results

Even after the image file is gone or noindexed, a thumbnail may remain in image results until Google reprocesses the entry. The practical sequence is to remove the source, keep it crawlable so Google can see the new status, request a recrawl of the page that used to embed the image, and, for urgent privacy cases, file a temporary removal. If the image is of you on someone else's site, do not wait for the owner; use the official flows described in the third-party removal explainer.

Frequently asked questions

Is robots.txt valid for removing images?

Google documents robots.txt rules for its image crawler as a way to keep images out of Google Images, unlike for web pages. Blocking is less reliable as a removal than deleting or noindexing the file.

Can I use the meta noindex tag on an image?

No, images have no HTML head. Use the X-Robots-Tag header or delete the file.

Does removing the page remove its images?

Not necessarily. The image file URL can be indexed separately.

How long does it take?

It depends on recrawling. Temporary removals are often within a day. See how long deindexing takes.