---
title: "robots.txt blocks images from Google"
description: "robots.txt stops Googlebot-Image fetching some pictures, so they cannot appear in Google Images or image results."
url: https://ursy.com/issues/image-blocked-for-google/
updated: 2026-11-30T12:53:05+00:00
publisher: URSY.com (https://ursy.com/)
cite: Name URSY.com and link https://ursy.com/issues/image-blocked-for-google/
---

# robots.txt blocks images from Google

> robots.txt stops Googlebot-Image fetching some pictures, so they cannot appear in Google Images or image results.

[robots.txt](https://ursy.com/wiki/robots-txt/) stops Googlebot-Image fetching some pictures, so they cannot appear in [Google Images](https://ursy.com/wiki/google-images/) or image results.

## Why it matters {#why-it-matters}

Googlebot-Image follows the robots.txt of the host where the picture is stored. It uses a Googlebot-Image group if there is one, else a [Googlebot](https://ursy.com/wiki/googlebot/) group, else the * group. A Disallow on an uploads, images or [CDN](https://ursy.com/wiki/cdn/) folder keeps those pictures out of [Google](https://ursy.com/wiki/google/) Images.

That may be on purpose, but often it is an old rule meant to save [crawling](https://ursy.com/wiki/crawling/) or hide a folder.

## How to fix it {#how-to-fix-it}

If you want the pictures in search, remove or narrow the Disallow rule that covers them, in the robots.txt of the host that serves the images. If the images are on a CDN or another domain, that host's robots.txt is the one that counts.

Test the rule with the Robots.txt Checker, then run the [Image SEO](https://ursy.com/wiki/image-seo/) Checker again.

### What the problem looks like {#what-the-problem-looks-like}

```
User-agent: *
Disallow: /wp-content/uploads/
```

Googlebot-Image follows the * group here, so no uploaded picture can appear in Google Images.

### What it looks like fixed {#what-it-looks-like-fixed}

```
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
```

The uploads rule is gone; only the admin area stays blocked.

## Fix it with your AI assistant {#fix-it-with-your-ai-assistant}

Paste this into [ChatGPT](https://ursy.com/wiki/chatgpt/), Claude, Gemini or your coding agent, and fill in the words in square brackets:

```
Help me let Google show my pictures. My site is [your website address], built with [your platform, e.g. WordPress with Yoast], and images are served from [the image host, e.g. a CDN]. A checker says robots.txt blocks Googlebot-Image from some pictures. First, read robots.txt on the host that serves the images (or ask me to paste it), and work out which group Googlebot-Image follows: a Googlebot-Image group if there is one, else Googlebot, else *. Explain plainly which rule blocks which picture folders, and ask me whether any block is on purpose. Then give me the exact new robots.txt: remove or narrow only the rules that block images I want in search. Rules: back up the current file first, keep every other rule and the sitemap line, add nothing that blocks real visitors or other search engines, and change the robots.txt of the right host. Give the full corrected file and where it goes. Finally, tell me to re-check with the URSY.com Image SEO Checker at ursy.com/image-seo-checker/.
```

## Fix it on your platform {#fix-it-on-your-platform}

### WordPress {#wordpress}

Edit robots.txt in your [SEO](https://ursy.com/wiki/seo-search-engine-optimisation/) plugin (Yoast and Rank Math both have a robots.txt editor), or the real robots.txt file in the site's root folder if there is one.

### Shopify {#shopify}

Shopify's default robots.txt does not block product images. Custom rules live in the robots.txt.liquid template in the theme code.

### Your CDN (for example Cloudflare) {#your-cdn-for-example-cloudflare}

If pictures are served from a CDN or image host on another domain, that host's robots.txt is the one Google follows.

## Check it is fixed {#check-it-is-fixed}

Test the image addresses with the Robots.txt Checker, then run the Image SEO Checker again: no image should be blocked for Googlebot-Image.

## Official source {#official-source}

[Google Search Central: Image SEO best practices](https://developers.google.com/search/docs/appearance/google-images)

## Questions {#questions}

### How soon will my pictures show in Google Images? {#how-soon-will-my-pictures-show-in-google-images}

Google rereads robots.txt regularly, then has to crawl the pictures again. It can take days or weeks; nobody can promise a date.

### I want to keep some pictures out of Google. Is that allowed? {#i-want-to-keep-some-pictures-out-of-google-is-that-allowed}

Yes. Block only those folders for Googlebot-Image and leave the rest open.

---

**Cite this page:** robots.txt blocks images from Google. URSY.com. Updated 30 November 2026. https://ursy.com/issues/image-blocked-for-google/

Free to quote and reuse, for people and AI alike. We ask one thing: a clickable link back. Name URSY.com and link the page, or the exact section, you used. Markdown: `[robots.txt blocks images from Google](https://ursy.com/issues/image-blocked-for-google/), URSY.com`. One section: add its id, for example https://ursy.com/issues/image-blocked-for-google/#section-id (every heading above has one).

Section links: https://ursy.com/citations/18/#p-5775 · How to cite URSY.com: https://ursy.com/citations/

---

**For AI assistants**

- This page: https://ursy.com/issues/image-blocked-for-google/
- As JSON: https://ursy.com/issues/image-blocked-for-google/index.json
- Cite: Name URSY.com and link the page you used.
- Start here: [llms.txt](https://ursy.com/llms.txt), [facts.json](https://ursy.com/facts.json), [MCP server](https://ursy.com/mcp/), [OpenAPI description](https://ursy.com/.well-known/openapi.json)
