Noindex Tag Implementation: The Complete 2026 Guide

The noindex meta tag tells Google not to include a page in its search index. The tag is placed in the HTML <head> element and uses the format <meta...

Dilshad Akhtar
Dilshad Akhtar
Published: 16 June 2026
4 min read
TL;DRAI summary
  • The noindex meta tag tells Google not to include a page in its search index.
  • The noindex tag must appear in the <head section of the HTML document.
  • The noindex directive can also be sent as an HTTP response header.
  • The noindex tag pairs with nofollow and other robot directives.
  • A noindex tag inside a JavaScript file or loaded after page render may not be detected.
  • Use the URL Inspection tool in Google Search Console.
  • Document every page type that should carry a noindex tag.

The noindex meta tag tells Google not to include a page in its search index. The tag is placed in the HTML &lt;head&gt; element and uses the format &lt;meta name=&quot;robots&quot; content=&quot;noindex&quot;&gt; . Google respects this directive at the indexing stage. The page may still be...

What the Noindex Tag Does

The noindex meta tag tells Google not to include a page in its search index. The tag is placed in the HTML <head> element and uses the format <meta name="robots" content="noindex">. Google respects this directive at the indexing stage. The page may still be crawled, but it will not appear in search results.

The noindex tag is a directive, not a command. Google's documentation on noindex indexing states that Google honors the tag but may still crawl the page for other purposes. A noindex page can still pass link equity if Google chooses to follow its links.

Where to Place the Noindex Tag

The noindex tag must appear in the <head> section of the HTML document. It can be inserted directly in the template or injected via a CMS plugin. For WordPress sites, plugins like Yoast SEO and Rank Math add the tag automatically when you set a page to noindex.

Server-side rendering frameworks like Next.js and Nuxt require the tag in the document head for every route that should be excluded. Single page applications need the tag rendered before JavaScript executes. Google's rendering documentation explains that the tag must be visible in the initial HTML response.

Noindex via HTTP Header

The noindex directive can also be sent as an HTTP response header. The header format is X-Robots-Tag: noindex. This method works for non-HTML resources like PDFs, images, and video files. Google's developer guide on robots meta tags covers both HTML and header implementations.

HTTP header noindex is the preferred method for files that lack an HTML <head> section. PDFs served with an X-Robots-Tag noindex header will not appear in search results. The header can be set at the server level in nginx or Apache configurations.

Noindex Combinations With Other Directives

The noindex tag pairs with nofollow and other robot directives. <meta name="robots" content="noindex, follow"> tells Google not to index the page but to follow its links. This combination is useful for thin category pages that should pass link equity to product pages.

Google treats noindex, nofollow as a full block. The page is excluded from the index, and its links are not followed. A 2025 Ahrefs study on meta robots combinations showed that noindex with follow is the most common pattern on ecommerce sites. Use the combination that matches your intent for each page type.

Common Noindex Implementation Mistakes

A noindex tag inside a JavaScript file or loaded after page render may not be detected. Google must see the tag in the initial HTML response. If a noindex tag is added via client-side JavaScript after the page loads, Google may index the page before the tag executes.

Blocking the noindex tag in robots.txt does not override the directive. Nor does a canonical tag pointing to an indexable page override a noindex. Google's guidance on conflicting directives is clear: noindex wins when there is a conflict. The presence of any noindex signal makes the page non-indexable regardless of other signals.

How to Verify Noindex Implementation

Use the URL Inspection tool in Google Search Console. Enter the URL and check the coverage status. The tool shows whether Google detected a noindex tag and why the page is excluded.

Google's Rich Results Test also displays robot directives. Crawl the page with a tool like Screaming Frog SEO Spider to identify all noindex tags across the domain. Verify that intended noindex pages are tagged and that unintended noindex pages are not.

The Noindex Implementation Audit

Document every page type that should carry a noindex tag. Admin pages, staging pages, internal search results, and thin affiliate pages belong in this group. Crawl the site and compare the actual noindex tags against your documentation. Note the gap between intended noindex coverage and actual coverage. Missing noindex tags on thin pages waste crawl budget. Extra noindex tags on valuable pages kill traffic. Audit quarterly.

Ready to Build Your Dream Website?

Let's discuss your project and create something amazing together.