This article is part of our Complete SEO Guide, which shows how on-page and off-page SEO fit together and links to every topic in the series.
Key takeaways
- Controls are documented together. Google's 21 October 2026 update to its "control what you share" guide covers the robots meta tag and X-Robots-Tag alongside snippet and AI controls.
- Placement is forgiving, but don't rely on it. Since 24 March 2026 Google documents that it respects robots meta tags found outside the HTML head. The head is still the recommended place.
- Noindex can stop rendering. Google clarified in December 2025 that a noindex in the original HTML may mean JavaScript never runs.
- robots.txt is not noindex. Blocking a page in robots.txt stops crawling, so Google can't see a noindex tag on it.
- Interest doubled. Google Trends interest in "noindex" averaged 52.1 over the last 12 months, up from 26.8 the year before.
What is noindex?
Noindex is a directive that tells search engines not to include a page in their results. It's set with a robots meta tag (<meta name="robots" content="noindex">) in the page's HTML, or with an X-Robots-Tag HTTP header for any file type. Google must be able to crawl the page to see the directive. Once it does, the page drops out of search results, though it can still be visited directly.
Noindex is the right tool for pages that should exist but shouldn't appear in Google: thank-you pages, internal search results, thin tag archives, staging copies, login pages. It's the wrong tool for duplicate pages (use canonicals) or for limiting snippets (use snippet controls).
Our snippet and AI controls guide covers the other robots directives, and our canonical tags guide covers duplicates.
What the 2026 data shows
Robots tags are on half the web, but real noindex use is narrow. Most problems come from tags added by accident.
Robots directives in four numbers
Three Google changes over the past year shape how noindex works in practice:
- 15 December 2025. Google clarified that if the original HTML includes noindex, it may not render the page. A JavaScript app that ships with noindex and removes it later may stay out of the index.
- 24 March 2026. Google added a note that it doesn't enforce head placement and will respect robots meta tags in the body. The behaviour wasn't new, but it hadn't been documented.
- 21 October 2026. Google consolidated the robots meta tag, X-Robots-Tag, data-nosnippet and its generative AI control in one "control what you share" guide.
Search interest: Google Trends, 2025 to October 2026
We compared "noindex", "x-robots-tag" and "noindex nofollow" in Google Trends (worldwide, web search, data to 18 October 2026). As always with Trends, the numbers are relative, with the top week of the period set to 100.
- A spring 2026 surge. Interest climbed from February to May, as site owners looked hard at what Google indexes.
- The header is still niche. X-Robots-Tag is powerful but rarely searched or used.
- Late-September drop. Nearly every marketing term we track dropped in the same week at the end of September 2026; I'd treat the low October values as a data change.
Noindex, robots.txt, canonical or password?
These tools are often confused. Each does a different job.
| Tool | What it does | Use it for | Watch out |
|---|---|---|---|
| noindex (meta or header) | Keeps a crawled page out of results | Thank-you pages, internal search, thin archives | Page must be crawlable |
| robots.txt Disallow | Stops crawling | Saving crawl effort on endless URL spaces | Blocked URLs can still appear if linked |
| Canonical tag | Consolidates duplicates to one URL | Variants and parameters | A hint, not a removal |
| Password or login | Blocks everyone without access | Staging sites, private content | The only truly private option |
| 404 or 410 | Says the page is gone | Content you've deleted | Redirect instead if there's a replacement |
How Google processes a noindex
The order matters: Google has to fetch the page before it can obey the tag.
How to use noindex safely: 9 steps
Treat noindex like a sharp tool: useful, but check twice before applying it.
-
List pages that shouldn't be in Google
Typical candidates: internal search results, cart and checkout steps, thank-you pages, login pages, thin tag pages, test pages, duplicate print views.
-
Use noindex, not robots.txt, to remove pages
If a page is already indexed and you want it gone, it must stay crawlable so Google can see the noindex. Blocking it in robots.txt can leave it stuck in results.
-
Put the tag in the head
Google now respects robots tags in the body, but other search engines and tools may not. Keep it in the head of the server HTML.
-
Set it on the server, not with JavaScript
Decide indexability before the page is sent. Our JavaScript SEO guide explains why adding or removing noindex with scripts is unreliable.
-
Use X-Robots-Tag for files
PDFs, Word documents and images can be noindexed with an HTTP header. It's also handy for applying rules to whole folders at the server level.
-
Don't noindex pages you want to pass value through
Paginated category pages and important hub pages should stay indexable; our pagination guide explains why.
-
Remove noindex from staging before launch
Most site-wide disasters happen when a new site launches with the staging noindex still in place. Make it a launch checklist item.
-
Protect staging properly
Password-protect staging sites. Noindex alone doesn't stop people finding them.
-
Monitor the Page Indexing report
Search Console's "Excluded by 'noindex' tag" list should only contain pages you meant to exclude. Check it after every release.
Noindex checklist
Run this after every launch or template change.
Indexing directives check
- Only intended pages carry noindex
- Noindexed pages not blocked in robots.txt
- Robots tag in the head of server HTML
- No JavaScript adding or removing noindex
- X-Robots-Tag used for files where needed
- Paginated and hub pages indexable
- Staging noindex removed at launch
- Staging sites password-protected
- No noindex combined with canonical to another URL
- Page Indexing report checked after releases
Examples by site type
What to noindex depends on how your site generates pages.
Online stores
Noindex cart, checkout, account and internal search pages. Keep category, product and paginated listing pages indexable. Handle filter combinations with canonicals or noindex depending on whether they match real searches.
Blogs and publishers
Thin tag and author archives with one or two posts are good noindex candidates. Main category archives usually aren't.
Lead generation sites
Thank-you and confirmation pages should be noindexed so they don't show up in search and inflate conversion tracking.
SaaS products
Logged-in app pages should sit behind authentication; public share links created by users often need noindex by default.
Removing a page from Google quickly
Noindex works on Google's schedule, which can mean days or weeks. If something needs to disappear fast, such as personal data published by mistake, use the Removals tool in Search Console to hide the URL temporarily (about six months), and at the same time add noindex or delete the page so the removal becomes permanent. Then check the URL Inspection tool to confirm Google has seen the change.
Reading the Page Indexing report
Search Console's Page Indexing report is where noindex problems show up first. Three rows deserve regular attention. "Excluded by 'noindex' tag" should contain only pages you meant to exclude; export it after every release and scan for product, service or article URLs that don't belong there. "Indexed, though blocked by robots.txt" means Google found links to URLs you've blocked from crawling, so it indexed the address without being able to read the page; if you want those gone, unblock them and add noindex instead. "Crawled – currently not indexed" isn't a noindex issue at all: Google chose not to index the page, usually because it looked thin or duplicated. Treat that one as a content problem, not a tag problem.
A simple habit helps: keep a list of the URL patterns you intentionally noindex (for example /cart/, /search/, /thank-you/). Anything excluded that doesn't match the list is worth investigating.
Setting X-Robots-Tag on the server
For files, set the header in your server or CDN configuration. On Apache it usually goes in an .htaccess rule matching the file type; on Nginx, an add_header line in the relevant location block; most CDNs let you add response headers by path. Test with your browser's developer tools or a header checker to confirm the header appears on the file, and make sure the rule doesn't accidentally match your HTML pages too.
A 90-day indexing clean-up
Most sites have a few surprises in their indexing reports.
From accidental exclusions to a clean index in three phases
Audit
- Export noindexed and blocked URLs
- Compare with intended exclusions
- Check robots.txt conflicts
Correct
- Remove accidental noindex tags
- Noindex thin and utility pages
- Add headers for files
Protect
- Add launch checklist items
- Password-protect staging
- Review Page Indexing monthly
Noindex mistakes
These are the ones that cause the biggest traffic drops.
- Launching with staging noindex. The whole site disappears from Google.
- Noindex plus robots.txt block. Google can't see the tag, so the page may linger.
- Noindex and canonical to another page. Contradictory signals.
- Plugin defaults. SEO plugins sometimes noindex categories, tags or media pages you actually want indexed.
- Using noindex for duplicates. Canonicals preserve link value; noindex throws it away.
Frequently asked questions
What's the difference between noindex and robots.txt?
Noindex tells Google not to show a page in results, but Google must crawl the page to see it. robots.txt stops crawling. If you block a page in robots.txt, Google can't read its noindex tag and may still show the URL if other pages link to it.
Does Google respect robots meta tags outside the head?
Yes. Google documented on 24 March 2026 that it doesn't enforce head placement and will respect robots meta tags in the body. Placing them in the head is still the recommended practice.
Can I add noindex with JavaScript?
It's unreliable. Google clarified in December 2025 that a noindex in the original HTML may prevent rendering, and adding noindex late may not be seen consistently. Set indexing directives in the server HTML.
How do I noindex a PDF?
Use an X-Robots-Tag HTTP header with the value noindex for that file. PDFs can't contain HTML meta tags.
How long does noindex take to work?
It takes effect after Google recrawls the page, which can be days or weeks. For urgent removals, use the Removals tool in Search Console as a temporary measure while noindex or deletion takes effect.
The bottom line
Noindex is simple in principle: tell Google which pages shouldn't appear, and let it crawl them to read the instruction. Most damage comes from forgotten staging tags, plugin defaults and robots.txt blocks that hide the tag. Keep directives in the server HTML, check your Page Indexing report after every release, and password-protect anything that's truly private. Our website development team can audit your indexing setup. Book a free consultation and send us your Page Indexing report.
Sources
- Google Trends, worldwide web search for "noindex", "x-robots-tag" and "noindex nofollow", data to 18 October 2026.
- Google Search Central, "Robots meta tag, data-nosnippet, and X-Robots-Tag specifications". developers.google.com
- Search Engine Roundtable, "Google documents robots tags outside HTML head", 25 March 2026. seroundtable.com
- Search Engine Roundtable, "Google updates Control what you share with Google Search", 21 October 2026. seroundtable.com
- Google Search Central, "Block search indexing with noindex". developers.google.com
- HTTP Archive, Web Almanac 2025, SEO chapter (robots directives). almanac.httparchive.org
This article is for general information only and is not professional advice. Tools, prices and platform rules change often, so please check official sources before acting on it. See our Terms & Conditions.
Are the right pages in Google, and the wrong ones out?
Talk to our experts. Your first consultation is free.
