Skip to content

Noindex

Also called noindex tag, meta noindex, noindex directive

What is noindex?

Noindex is a robots directive that tells search engines not to include a page in their index, so it does not appear in search results. You set it with a robots meta tag, <meta name="robots" content="noindex">, in the page’s head, or with an X-Robots-Tag: noindex HTTP header. Google treats it as a rule, not a hint.

A locked document under a glass dome with a magnifying glass, depicting a noindex instruction.

The crawler has to see the directive to obey it. If the page is blocked in robots.txt, Google never fetches it, never sees the noindex, and may keep the URL indexed from links. So a page you want out of results must stay crawlable.

Noindex affects only the page it is on. Links on a noindexed page can still be followed for a while, although Google has said that long-term noindexed pages are eventually crawled less and their links treated like those on a page that is not there. noindex in robots.txt itself has not worked since Google dropped it in September 2019.

Why noindex matters for SEO

Noindex is how you keep low-value pages out of search: thank-you pages, internal search results, thin tag archives, staging copies and account pages. Removing them reduces index bloat and keeps searchers landing on pages that are worth landing on.

It is also one of the easiest ways to lose traffic by accident. A noindex left on after a redesign, or a CMS setting that adds it to a whole section, removes those pages from Google within days or weeks of the next crawl. Checking for unexpected noindex is a standard part of every technical SEO audit.

How to noindex a page

  1. Add <meta name="robots" content="noindex"> to the <head> of the page. To target only Google, use name="googlebot".
  2. For PDFs, images and other non-HTML files, send an X-Robots-Tag: noindex header from your server instead. See X-Robots-Tag.
  3. Make sure the URL is not disallowed in robots.txt, or Google cannot see the directive.
  4. Remove the page from your XML sitemap and avoid pointing a canonical tag from it to another URL.
  5. Check it worked with the URL Inspection tool in Search Console. For an urgent removal, use the Removals tool, which hides a URL for about six months while the noindex takes effect.

Noindex example

HTML and HTTP header
<!-- In the page head -->
<meta name="robots" content="noindex">

# Or as an HTTP response header
X-Robots-Tag: noindex

Noindex FAQ

What is the difference between noindex and disallow?

Disallow in robots.txt stops a page being crawled but not indexed. Noindex lets the page be crawled but keeps it out of the index. To remove a page from results, use noindex and do not disallow it.

How long does noindex take to work?

It takes effect the next time Google crawls the page, which can be days or weeks depending on how often the page is crawled. Requesting indexing in URL Inspection can speed up the recrawl.

Does noindex pass link equity?

Links on a noindexed page can still be followed at first, but Google has said that pages left on noindex for a long time are treated more like noindex, nofollow. Don’t rely on noindexed pages to pass value.

Related SEO terms

Back to the SEO glossary

Put the terms to work

Every term here is something OpenSEO measures. It is open source: start online in a minute, or run it on your own server.