GuidesIndexed

Indexed, though blocked by robots.txt: Google has the URL, not the page

Robots.txt stops Google from reading a page. It doesn’t stop Google from listing it.

Josh Pigford, founder of FirstIndex6 min read
The short answer

Google knows the URL exists, usually from a link, but your robots.txt stops it from reading the page, so it indexed the bare address. It’s a warning, and often harmless. It matters for two kinds of page: one you want found, which shows up with no description, and one you meant to hide, which the block never hid.

The URL isYou want itDo this
A page you want foundIn GoogleRemove or narrow the Disallow line that blocks it.
A page you don’t want found, like a thank-you page or a staging copyOut of GoogleAdd a noindex tag and remove the block in the same change, and take the URL out of your sitemap.
A PDF or other file you don’t want foundOut of GoogleSend noindex in an X-Robots-Tag header, and remove the block in the same change.
Private, like accounts or adminOut, for goodPut it behind a login. Robots.txt is public, so a private path listed there tells everyone it exists.
Junk nobody searches for, like filter URLs or internal search resultsIt doesn’t matterLeave the block.

What does Indexed, though blocked by robots.txt mean?

Google “won’t request and crawl the page, but we can still index it, using the information from the page that links to your blocked page.” Because Google never read the page, the result “won’t have a description.”

An example for ExampleCo (example.com): a blocked page can still show in Google, just with nothing to say about itself.

Don’t confuse it with its look-alike in the Not indexed list, URL blocked by robots.txt. That one means the URL isn’t in Google’s index. This one means it got in anyway.

Is it bad? For junk, no. Asked in 2024 about blocked URLs that got indexed anyway, Google’s John Mueller said “the average user won’t see them, so I wouldn’t fuss over it.” For the other two kinds, it matters. A page you want found sits in Google as a bare address that gives nobody a reason to click. A page you meant to hide isn’t hidden, because robots.txt isn’t a lock.

Which line in your robots.txt is blocking it?

  1. Open the list.In the Page indexing report, open the Indexed, though blocked by robots.txt row to see which URLs are in it.
  2. Inspect one URL.In URL Inspection, the Crawl allowed? line “indicates whether your site will allow Google to crawl (visit) the page, or block it with a robots.txt rule.”
  3. Find the line.Enter your site and the URL’s path in our robots.txt checker. It loads your robots.txt and shows the line that decides for Googlebot, and for the AI crawlers that read the same file.

One line in URL Inspection will fool you. When the page is blocked, Indexing allowed? “will always be ‘Yes’ because Google can’t see and respect any noindex directives.” That Yes doesn’t mean all is well. It means Google can’t read the page, so a noindex on it does nothing.

An example URL Inspection result for a blocked pageAn example for ExampleCo: URL Inspection for example.com/thank-you/demo says Indexed, though blocked by robots.txt. Crawl allowed? says No. Page fetch says Failed. Indexing allowed? says Yes, and that line is highlighted. URL Inspection https://example.com/thank-you/demo Indexed, though blocked by robots.txt Crawl allowed?No Page fetchFailed Indexing allowed?Yes
An example for ExampleCo (example.com): Google can’t crawl the page, yet Indexing allowed? still says Yes.

The line that wins isn’t always the one you’d guess. Google’s crawlers “use the most specific rule based on the length of the rule path,” and on a tie, Google takes the least restrictive one. So Allow: / loses to Disallow: /thank-you/ for every page in that folder.

An example for ExampleCo (example.com): both line 3 and line 4 match /thank-you/demo, and the longer one decides.

Should a blocked page be in your sitemap?

No. Google’s advice is to “include the URLs in your sitemap that you want to see in Google’s search results.” A URL that’s in your sitemap and blocked in your robots.txt is two of your own files saying opposite things.

On December 3, 2026, we checked the robots.txt files and sitemaps of 289 startup sites from Y Combinator’s directory. Blocking something is normal: 116 of them block at least one path for Googlebot. But at least 8 of the 237 sites with a sitemap list a URL that their own robots.txt blocks. For 5 of those 8, it’s just 1 or 2 URLs, the kind of leftover nobody notices.

The mistake runs both ways. Some of those blocked URLs were thank-you pages, an API path and a test folder, which never belonged in the sitemap. Others were landing pages and a features folder, which a site almost certainly wants found, so the block was the mistake. Fix whichever file is wrong.

How do you fix it, and how long does it take?

Whichever row your URL is in, three things decide whether the fix works and how fast.

The noindex tag, and the same rule as a header
<meta name="robots" content="noindex">
X-Robots-Tag: noindex

The tag goes in the page’s <head>. The header is for files that have no <head>, like PDFs.

Once the URLs are fixed, click Validate fix on the row. Google says validation “typically takes up to about two weeks, but in some cases can take much longer.”

Being crawlable is only the first step. Then your pages have to be indexed, show up for the searches buyers make and get named when they ask AI. We do all of it for 50+ software companies, robots.txt and sitemaps included: we check that Google and AI crawlers can find, read and keep every page. It’s $2,000 a month. See what’s in the plan.