URL blocked by robots.txt: what the Search Console message means and how to fix it
A Disallow rule in your robots.txt stops Googlebot from crawling this URL. If the page should be in Google, remove or narrow that rule and validate the fix.
The message in Search Console
URL blocked by robots.txt
Page indexing report, group "Not indexed". Spelling as in Google's help page for the report.
Blocked by robots.txt
The same reason as the report table and URL Inspection in Search Console label it.
By the Crawlerpeek editorial team · Sources checked · Updated · Editorial standards
What Google says
This page was blocked by your site's robots.txt file. Note that this does not guarantee that the page won't be indexed through some other means.
Source: Google Search Console Help: Page indexing report, read 2026-10-30.
Common causes
- A rule that is broader than intended. Rules match from the start of the path, so
Disallow: /palso blocks/productsand/pricing; aDisallow: /copied from a staging site blocks everything. - A wildcard that catches too much. In Google's syntax
*matches any sequence of characters, soDisallow: /*?blocks every URL with a query string. - A group that names Googlebot. Google uses only the group with the most specific user agent that matches, so once
User-agent: Googlebotexists, the rules underUser-agent: *no longer apply to Googlebot (Google's robots.txt specification). - The URL is listed in your sitemap or linked internally although robots.txt closes it, so Google keeps reporting it.
- A deliberate block of admin, cart, account or internal search pages. That is the intended result, not an error.
How to check
- Enter the exact URL in the AI crawler checker and read the Googlebot row: it applies your live robots.txt to that path with the longest-match rule.
- Paste the file into the robots.txt validator to find syntax mistakes, such as a misspelled field, that change what a rule covers.
- Test every URL in your sitemap at once with the sitemap robots.txt check; it lists, per bot, which URLs the rules block.
- In Search Console, URL Inspection shows "Crawl allowed?". Google's help says a "No" there means Google can't crawl the page because of a robots.txt rule (URL Inspection tool).
- After you change the file, the robots.txt report shows which version Google last fetched and offers "Request a recrawl". Google generally caches robots.txt for up to 24 hours.
- Then click Validate fix in the Page indexing report. Google says validation typically takes up to about two weeks.
When to fix it and when to leave it
Leave it when the URL is one you meant to keep crawlers away from, such as checkout, account or internal search pages. If your goal is to keep a page out of Google, robots.txt is the wrong tool: Google says it "is not a mechanism for keeping a web page out of Google" (Introduction to robots.txt). Allow crawling and use noindex instead; see URL marked ‘noindex’. If a blocked URL shows up in Google anyway, that is Indexed, though blocked by robots.txt.
AI crawlers and AI search
Search Console reports Googlebot only. Rules for AI crawlers sit in their own groups: a User-agent: GPTBot group changes nothing for Googlebot, and blocking Google's Google-Extended token does not affect inclusion in Google Search (Google's common crawlers). The reverse matters more: Google says a page must be indexed and eligible to be shown with a snippet to appear as a supporting link in AI Overviews or AI Mode (AI features and your website), and a URL blocked for Googlebot is shown without a description at best. To see the decision for each AI bot side by side with Googlebot, run the checker.
Questions
Does "URL blocked by robots.txt" mean the page is removed from Google?
Not necessarily. Google's help says the block does not guarantee that the page won't be indexed through some other means. If Google finds the URL through links, it can still list it without a description.
How long after fixing robots.txt does the message go away?
Google generally caches robots.txt for up to 24 hours, and you can request a recrawl in the robots.txt report. The Page indexing report then needs Google to recrawl the URLs; Google says validation typically takes up to about two weeks.
Which rule is blocking my URL?
Enter the URL in the checker for the per-bot decision and run the file through the robots.txt validator. When several rules match, Google applies the one with the longest path, and Allow wins a tie.
Related messages
- Indexed, though blocked by robots.txt · Google indexed the URL from links without crawling it, because robots.txt blocks it. To remove it, allow crawling and add noindex; to keep it, lift the block.
- URL marked ‘noindex’ · Google saw a noindex rule, in a robots meta tag or an X-Robots-Tag header, and left the page out. Remove the rule if the page should be in Google.
- Discovered - currently not indexed · Google knows the URL but has not crawled it yet, typically because more crawling might overload your site. Check server errors, speed, links and sitemap.
- Search Console Crawl and Indexing Errors
Sources
Google's documentation, each page read on 2026-10-30. Google updates these pages; if its wording has changed since, Google's page is the reference.
- Google Search Console Help: Page indexing report (checked 2026-10-30)
- Google Search Central: How Google interprets the robots.txt specification (checked 2026-10-30)
- Google Search Central: Introduction to robots.txt (checked 2026-10-30)
- Google Search Console Help: URL Inspection tool (checked 2026-10-30)
- Google Search Console Help: robots.txt report (checked 2026-10-30)
- Google Search Central: Google's common crawlers (checked 2026-10-30)
- Google Search Central: AI features and your website (checked 2026-10-30)
Check the URL: robots.txt per bot, HTTP status, noindex and the HTML a crawler gets.Run the checker