Want a page gone from Google? Use noindex when you want Google to crawl the page but keep it out of the index. Use a robots.txt disallow only when you never want a crawler to fetch the page at all. The trap: a disallow stops the crawler from ever seeing your noindex tag, so the two together cancel out. Pick one. For removal, that one is noindex.

Below is a decision tree, a worked example, and the checks to run before you ship. You can follow the same steps on your own site.

Robots.txt controls fetching, noindex controls indexing

Robots.txt is a plain-text file at the root of a site. It tells crawlers which paths they may fetch. A disallow line inside that file blocks fetching, not indexing. The crawler skips the URL and never reads the page.

Noindex is a meta tag or HTTP header. It tells a crawler it may fetch the page but should not add it to the index. The tag sits in the HTML head: <meta name="robots" content="noindex">. Google documents both controls in its Search Central documentation.

One line sums it up: disallow controls access, noindex controls inclusion. They act at different stages, which is why they can conflict.

Control What it blocks Can the crawler see the page? Good for
robots.txt disallow Fetching No Keeping crawlers out of private or low-value paths
Meta noindex Indexing Yes Removing a page that is already public
HTTP 410 Gone Both, once fetched Yes, until removed Permanently deleted content
HTTP 404 Not Found Both, once fetched Yes, until removed Content that no longer exists
Noindex + disallow Fetching, so noindex never registers No Nothing. This combination is a mistake.

Answer one question first: gone from search, or hidden from crawlers?

Before you touch a file, decide what you want. Do you want the page out of search results, or do you want crawlers kept out while users can still reach it? The answer picks your tool.

Want the page out of Google results?
|
+-- Yes, and the content is staying live
|   |
|   +-- Is the URL currently blocked in robots.txt?
|       |
|       +-- Yes -> Remove the disallow line first, then add noindex
|       +-- No  -> Add noindex, keep the page crawlable
|
+-- Yes, and the content is deleted for good
|   |
|   +-- Serve HTTP 410 Gone (or 404 if it never existed)
|       |
|       +-- Do not add noindex; the status code does the job
|
+-- No, I just want crawlers to stay out
    |
    +-- Use robots.txt disallow
        |
        +-- Accept that the URL may still appear in results without a snippet

Step one is always the same: check whether a disallow rule already covers the URL. If it does, your noindex tag is invisible to the crawler. Remove the block before you do anything else.

A worked example: retiring an old pricing page

Picture a B2B software company with an old pricing page at /pricing-2022. The page still resolves, ranks for a stale query, and sends visitors to a retired plan. The marketing lead wants it gone from Google by the end of the month.

The first instinct is to add Disallow: /pricing-2022 to robots.txt. That is the wrong move. The crawler stops fetching the URL, never sees a noindex tag, and keeps the old indexed copy. The page can still surface in results, often with no snippet, which looks worse.

The team checks robots.txt, finds no rule for that path, and adds a noindex meta tag to the page template. They also add the URL to a sitemap so the crawler keeps visiting. Then they wait.

If the page were deleted instead of kept, the right move would be a 410 status code. Google's documentation on page removal treats a 410 as a clear signal that content is gone for good.

The conflict is by design, not a bug

Crawlers follow a fixed order: fetch the URL, read the response, then decide what to do with it. A disallow rule stops the process at step one. Noindex is a message inside the response, so it never gets read.

This is how the Robots Exclusion Protocol works. The IETF published it as RFC 9309 in September 2022. The rule is simple: a crawler told not to fetch a URL cannot evaluate directives that live on that URL.

Teams fall into this trap for a common reason. They add disallow to stop the page from showing up, then add noindex as a backup. The two rules fight, and the page stays indexed longer than it would with noindex alone.

Fixing pages already stuck in the conflict

If a URL is blocked and still indexed, work in this order. Do not skip a step.

  • Remove the disallow rule for that exact path in robots.txt. Save and publish the file.
  • Confirm the page returns 200 and carries the noindex tag in the HTML head or the X-Robots-Tag header.
  • Request a recrawl in Google Search Console using URL Inspection, then click "Request indexing".
  • Check the live URL in URL Inspection to confirm Google can fetch it and sees the noindex directive.
  • Wait, then verify with a site: search for the exact URL and a check of the Page Indexing report.

For bulk removals, the same order applies at scale. Strip the disallow lines for the affected paths, keep the pages crawlable, and let the noindex tags do the work. Blocking crawlers to speed things up does the opposite.

Timing depends on crawl frequency and site authority. Google does not publish a fixed number of days. Check the Page Indexing report weekly and treat a month as a rough planning window, not a promise.

Robots.txt earns its place for paths you never want crawled

Disallow is the right tool when you want crawlers out of a path entirely. Common cases: staging environments, internal search results, admin panels, and faceted URLs that generate thousands of near-duplicates.

It also helps when you want to slow crawl demand on a large, low-value section. Google's crawl budget documentation notes that disallow rules can reduce crawling on those paths.

What disallow does not do is remove a page from the index. If a URL is already indexed and you block it, expect it to stay visible, possibly without a snippet. That is a documented outcome, not a glitch.

Verify the change before you call it done

Use URL Inspection in Google Search Console to see what Google actually fetched. The "View crawled page" panel shows the HTML Google received, so you can confirm the noindex tag is present.

Run a site: query for the exact URL. If it returns nothing, the page is likely out of the index. If it returns a result with no snippet, the URL is probably still blocked.

Check the Page Indexing report for the "Excluded by noindex tag" reason. That label confirms Google read the tag and acted on it. If you see "Blocked by robots.txt" instead, go back and remove the disallow rule.

Bing documents the same noindex and disallow behaviour in its Webmaster Guidelines. The logic holds across crawlers that follow RFC 9309.

Run this five-point checklist before you ship

Run this list before you publish any removal change. It takes five minutes and prevents the most common reversal.

  • Does robots.txt still block the URL you want removed? If yes, fix that first.
  • Does the page return 200 and carry noindex in the head or header?
  • Is the URL in a sitemap so the crawler keeps coming back?
  • Have you requested a recrawl in Search Console?
  • Have you set a review date to check the Page Indexing report?

Key Facts at a Glance

  • Robots.txt disallow stops fetching; noindex stops indexing. Different stages, different jobs.
  • A disallowed URL cannot show its noindex tag, so the pair cancels out.
  • RFC 9309 (September 2022) defines the Robots Exclusion Protocol.
  • Google's Search Central docs cover noindex, disallow and removal in detail.
  • 410 Gone is the right signal for content deleted for good.
  • Verify with URL Inspection and a site: query after the change.
Does disallow remove a page from Google?

No. Disallow stops the crawler from fetching the URL. If the page is already indexed, it can stay in results, often without a snippet. Use noindex to remove it.

Can I use noindex and disallow together?

Not for removal. A disallow rule blocks the fetch, so the crawler never reads the noindex tag. Remove the disallow line first, then keep the noindex tag in place.

How long does it take Google to remove a noindexed page?

It depends on crawl frequency and site authority. Google does not publish a fixed number. Check the Page Indexing report and a site: query weekly, and plan for weeks rather than hours.

What is the difference between noindex and robots.txt?

Noindex is a page-level instruction that tells a crawler not to index content it has fetched. Robots.txt is a site-level file that tells crawlers which paths they may fetch at all.

How do I check if a page is deindexed?

Run a site: query for the exact URL. A result with no snippet usually means the URL is still blocked. Check URL Inspection and the Page Indexing report to confirm what Google fetched.

Sources: RFC 9309 (IETF, September 2022); Google Search Central documentation on robots.txt, noindex and page removal; Google Search Console Help on URL Inspection and the Page Indexing report; Bing Webmaster Guidelines.