Marketing term, content and SEO

Noindex

Noindex is a directive, set in a robots meta tag or an HTTP header, that tells search engines not to show a page in search results.

Also called: noindex tag, meta robots noindex, X-Robots-Tag, noindex directive

Noindex lives in attract, the part of the funnel about getting found, near related terms like Canonical Tag, Crawl Budget and XML Sitemap (the blue squares).

Noindex is a directive that tells search engines not to include a page in their search results. You set it with a robots meta tag in the page's head or an X-Robots-Tag HTTP header. It's how you keep useful-but-not-searchable pages, like thank-you pages and drafts, out of the index without deleting them.

How it works

The meta tag version is one line in the head: <meta name="robots" content="noindex">. The header version, X-Robots-Tag: noindex, does the same job for files without an HTML head, such as PDFs, and can be applied to whole folders at the server or CDN level.

When a crawler fetches a page and sees noindex, it drops the page from results during indexing, or never adds it. The catch: the crawler has to be able to fetch the page to see the directive. If you block the same URL in robots.txt, the crawler never reads the noindex, and the URL can still show up in results, without a description, if other pages link to it.

Noindex is different from a canonical tag. Noindex says "don't show this page." A canonical says "this page is a copy, show that one instead." Use noindex for pages that shouldn't be in search at all. Use canonicals for duplicates.

Example

Good candidates for noindex: form thank-you pages, internal site search results, thin tag archives, gated asset confirmation pages, login and account pages, and drafts.

Every draft on this site, including this glossary entry, carries noindex: true in its front matter until it's reviewed. That flag is meant to render as a robots meta tag. When an entry passes review, the flag flips to false and the page goes into the XML sitemap. That keeps unfinished pages out of search without hiding them from the people reviewing them.

The same flag protects a staging environment. Staging sites should carry a sitewide noindex or, better, sit behind a password. The danger is the reverse case: that sitewide noindex shipping to production at launch. Say a site with 300 indexed pages launches a redesign with staging's noindex still on (hypothetical). Over the next few weeks, pages drop out of results as they're recrawled, and organic leads fall with them until someone notices.

Noindex vs robots.txt vs canonical

Method Crawled? Indexed? Use when
Noindex Yes No Page is useful to people, not to search
Robots.txt disallow No Possibly, as a bare URL You want to stop crawling a URL space
Canonical Yes The canonical version Duplicate of another page

How to check it's working

  • Use Search Console's URL Inspection tool on a sample page and confirm it reports indexing as not allowed because of noindex.
  • Watch the Pages report for the "Excluded by 'noindex' tag" count and investigate any page there you actually want indexed.
  • After every launch, crawl the live site and filter for noindex to catch template mistakes before search engines do.

Why it matters for GTM teams

Noindex protects quality. Every thin or half-finished page in the index is a page search engines judge your site by. It's also a core tool for content pruning when a page should exist for users but not compete in search. On large sites it also stops low-value pages from cluttering results, though for saving crawl budget robots.txt is the more direct lever.

Common mistakes

  • Blocking a page in robots.txt and adding noindex, so the noindex is never seen.
  • Shipping a staging site's sitewide noindex to production at launch.
  • Listing noindexed pages in your sitemap, which sends mixed signals.
  • Using noindex on duplicates where a canonical would keep the signals.
  • Noindexing paginated category pages, which can cut crawler paths to the items listed on them.
  • Setting noindex in a CMS toggle and never verifying the tag actually renders.

FAQ

What is the difference between noindex and nofollow?

Noindex tells search engines not to show the page in results. Nofollow tells them not to follow or credit the links on the page, or a specific link when set on that link. They control different things, and you can use either one alone or both together.

Can I use noindex in robots.txt?

No. Google stopped supporting noindex rules inside robots.txt in 2019. Use a robots meta tag in the page's head or an X-Robots-Tag HTTP header instead, and make sure robots.txt doesn't block the page, or crawlers will never see the directive.

How long does it take for a noindexed page to drop out of Google?

The page drops out after Google next crawls it and sees the directive, which can take anywhere from days to weeks depending on how often the page is crawled. You can request a recrawl with the URL Inspection tool, and use the Removals tool if you need it hidden from results quickly while that happens.

See all content and SEO terms ↳

Used in these articles