Two very different problems get described with the same phrase. One is “there is a page about me on a site I have nothing to do with, and I want it gone.” The other is “I own this website, and I need it out of Google.” They sound alike and share almost no solutions.
This guide is the second one. It is for the person who can log into the server, edit a template, change a header, or verify the property in Search Console. If that is you, the situation is under your control. The catch is that most advice about how to do it is wrong, and the most popular method of all, adding a line to robots.txt, removes nothing from Google.
What follows covers every method Google supports, how fast each works and how long it lasts, checked against Google Search Central documentation. Where Google’s position contradicts a widely repeated claim, that is called out.
The test is simple. Can you change what the server sends back when Google requests a URL? If you can edit the HTML, add an HTTP header, change a status code, or verify the domain in Search Console, every method here is available to you.
If you cannot, none of this applies. A news article, directory listing, forum thread or people-search profile on somebody else’s domain cannot be noindexed by you, cannot be given a 410 by you, and will not be touched by a removal request filed from your own property. That needs a different playbook built on source removal requests, Google’s policy-based removal forms and sometimes legal process, covered in our companion guide to removing a link or page from Google search results.
Two gray zones are worth naming. You may own the domain but not the platform, since hosted storefronts and some site builders limit which headers you can set. And if a scraper republished your content, your copy is yours to deindex but theirs is not.
Google Search runs in three stages: crawling, where Googlebot fetches the URL; indexing, where the content is analyzed and stored; and serving, where stored pages are selected for a query. Every removal method acts on one of those stages, and nearly every failure comes from picking a method that acts on the wrong one.
The Removals report in Search Console is the fastest lever a site owner has, and the most misunderstood. It requires a verified property and only works on URLs inside it.
Google’s documentation is unambiguous: it is a temporary block. A successful request lasts about six months, after which the content can reappear. Requests typically take up to a day to process and acceptance is not guaranteed. The tool does not prevent Google crawling your page, does not remove it from your server, and does not affect other search engines. It is an emergency brake you pull while implementing something permanent, not instead of it. A request can also be canceled before it expires, which matters if a prefix removal filed in a panic swept in pages you wanted to keep.
Remove this URL only matches the exact URL you submit, including the file extension and any query parameters. A trailing slash, an uppercase letter or a tracking parameter makes it a different URL as far as the tool is concerned.
Remove all URLs with this prefix blocks every URL starting with the string you give, covering the http and https versions and the www and non-www versions of that path. What it does not do is reach across subdomains. Google’s documentation notes that blocking a staging subdomain will not block the www version of the same domain, and that subdomains such as m. or amp. do not match. To remove a subdomain, submit its URL as the prefix and make sure your property covers it.
Clearing the snippet wipes the cached description under a result until the page is reindexed. If you already stripped a name or phone number off a live page but Google still shows the old text, this clears the stale description while the corrected page waits for recrawling. It does not remove the result.
When a page must stay live for humans but must not appear in Google, noindex is the correct tool. Google honors it, it lasts as long as it stays in place, and it scales from one page to millions.
For HTML pages, the tag goes in the head of the document:
<meta name="robots" content="noindex">
That form addresses every crawler supporting the rule. To target Google alone, use <meta name="googlebot" content="noindex">. Rules combine in a comma separated list, so content="noindex, nofollow" also stops Google following the page’s links, and none is shorthand for that pair. Google supports a related family including nosnippet, noimageindex, notranslate, max-snippet and unavailable_after, that last one useful for content with a known expiry such as an event page.
One warning: if the tag is injected by JavaScript rather than present in the HTML the server sends, Google must render the page before it sees the rule. That works, but it is slower and more fragile. Put it in the source HTML wherever you can.
A meta tag only works inside an HTML document. For PDFs, images, video, spreadsheets and anything else, the equivalent is an HTTP response header:
X-Robots-Tag: noindex
It works on HTML pages too, and for bulk work it is often better, because it is set at the server rather than in a template some page type might not use. Apache, to noindex every PDF:
<Files ~ ".pdf$">
Header set X-Robots-Tag "noindex, nofollow"
</Files>
The Nginx equivalent:
location ~* .pdf$ {
add_header X-Robots-Tag "noindex, nofollow";
}
Per-crawler rules are written as X-Robots-Tag: googlebot: noindex. When crawlers are given different rules, Google applies the sum of the negative rules and the more restrictive one wins.
This is the most important paragraph in the guide. Google states it plainly: for the noindex rule to be effective, the page must not be blocked by a robots.txt file, and it has to be otherwise accessible to the crawler. If a page is disallowed from crawling, any indexing or serving rule on it will not be found and will therefore be ignored.
Doing both at once guarantees failure. Googlebot never fetches the page, never sees the noindex, and the URL can sit in the index indefinitely. The fix is order: remove the Disallow first, let Google recrawl and register the noindex, then confirm the page has dropped out.
Noindex only takes effect on the next crawl, and Google warns that depending on a page’s importance on the internet, it may take months for Googlebot to revisit. For a few URLs, use URL Inspection and request indexing, noting the stated limits: there is a quota, and repeat requests for the same URL will not get it crawled faster. For larger sets, submit an XML sitemap with accurate lastmod values.
If you take one thing from this guide, take this. Google’s robots.txt documentation says outright that robots.txt “is not a mechanism for keeping a web page out of Google.”
What happens instead confuses site owners daily. A page disallowed in robots.txt can still be indexed if it is linked to from other sites, and the URL address along with other publicly available information such as the anchor text in those links can still appear in the results. Google adds that a blocked page’s URL can still appear, but the result will not have a description.
That is the origin of the naked, description-free result so many people are trying to fix. Blocking the crawl means Google cannot read the page to write a snippet, and cannot read a noindex rule either. The block makes the result uglier, not absent.
Noindex: line does nothing.Robots.txt is a crawl management tool, meant for infinite faceted navigation, internal search results and endpoints that cost server load. One narrow place it does control visibility: Google only indexes images and videos Googlebot may crawl, so blocking media files keeps them out. For HTML pages it is the wrong instrument.
The most complete removal is deleting the content so the URL returns an error. Google’s documentation on HTTP status codes is precise: all 4xx errors except 429 are treated the same, with crawlers telling the next processing system that the content does not exist, and the indexing pipeline removing the URL from the index if it was previously indexed. Newly encountered 404 pages are not processed at all.
That settles a long running argument. Plenty of SEO writing claims a 410 Gone deindexes faster than a 404 Not Found. Google’s current documentation makes no such distinction: both are 4xx, both are treated identically, and neither is promised to be faster.
There are still reasons to prefer 410 for a deliberate, final removal. It states intent unambiguously to every other crawler and archive reading your responses, and it separates intentional deletions from broken links in your own logs. Use 404 when a URL simply does not exist and 410 when you removed something on purpose, but expect no speed difference from Google. Note the tradeoff either way: removing a URL destroys its rankings and link value permanently.
Deleting a page in your CMS is not the same as returning an error. Many systems answer a removed page with a friendly “no longer available” screen served with a 200 OK status. To Google that is a live page with thin content, not a deletion. Google notes that when the content suggests an error, an empty page or an error message, Search Console shows a soft 404, and the URL may linger. Verify the real status code with curl -I or URL Inspection rather than trusting the browser.
A 301 does not remove a page, it replaces it. Google treats a 301 as a strong signal and a 302 as a weak one, and follows up to 10 hops by default. Redirecting a deleted page to a genuinely equivalent replacement preserves the value of links pointing at the old URL. Mass redirecting unrelated pages to the homepage does not, because Google commonly treats those as soft 404s.
For anything genuinely confidential, Google’s recommendation is not noindex, it is authentication. The documentation states that confidential or private content needs to be password protected so only authorized users can access it. Password protection applies to all content types and works at the access layer, before Google encounters the content.
In practice that means HTTP basic authentication, a login wall, an IP allowlist or a VPN-only environment. Googlebot receives a 401 or 403 and gets nothing. Because those are 4xx codes they carry the same “content does not exist” signal as a 404, so an indexed URL that starts returning them is dropped on recrawl. This is the right method for staging, internal documentation, client portals and member areas.
Two caveats. Locking a page does not retroactively purge what is already indexed, which is why you pair it with a temporary removal for immediate cover. And a soft gate is not password protection: if the full text sits in the HTML and a JavaScript overlay hides it, Googlebot still reads it. Enforce it on the server.
To take an entire domain out of Google you have four workable options and one popular non-option.
The non-option is breaking the site and hoping. Google treats 5xx server errors and 429 responses as temporary: crawlers slow down, and already indexed URLs are preserved and only eventually dropped. An intentionally broken site is therefore the slowest and least predictable way to deindex. Serve a deliberate 410, or a noindex, but do not serve errors.
Removing a section is the same job scoped down: a prefix removal for immediate effect plus a path-scoped X-Robots-Tag for permanence, set with a location block on Nginx or a Directory block on Apache. Test one URL with curl first, because a slightly wrong regex is how people accidentally noindex a whole catalog. Prefix removals do not spill across subdomains, so an m. or amp. version needs its own request and rule.
An indexed staging copy is probably the most common reason a site owner goes looking for this guide. The permanent answer is password protection, never robots.txt, which both fails to deindex and advertises the URLs to anyone who reads the file.
If it is already indexed, order matters. Remove any Disallow rules, serve a noindex header or a 410 across the environment, file a prefix removal for cover, wait for the pages to leave the Page Indexing report, and only then put the wall up. Locking it first means Google can never fetch the instruction to drop them.
A large share of “I need these URLs removed” requests are duplication problems, where the same content is reachable at several addresses and the wrong one is showing. The fix is consolidation, not deletion.
Google describes rel=”canonical” as a strong signal that the specified URL should become canonical, and the word signal is doing real work. It is not a directive: Google decides canonicalization itself and may pick a version other than the one you nominated. It ranks the methods by strength, with redirects strongest, rel=”canonical” in the HTML or an HTTP header a strong signal, and sitemap inclusion weak.
Google gives a warning that is easy to miss: do not use noindex to prevent selection of a canonical page within a single site, because it will completely block the page from Search. Noindexing one of two duplicates is not a tidier canonical, it is a removal.
On parameters, the tool people remember no longer exists: the URL Parameters tool was retired from Search Console in 2022. Handling is now done with the ordinary toolkit: canonical tags on parameterized variants pointing at the clean URL, internal linking that never generates them, keeping them out of sitemaps, and a robots.txt disallow for worthless crawl paths such as faceted filter combinations. If a parameterized URL is already indexed and you want it gone rather than merged, noindex that variant or return a 404 or 410.
| Method | Speed | Permanence | What it actually does | Best for |
| Search Console Removals tool | About a day | Temporary, about six months | Hides the result from Google; crawling and indexing continue | Cover while a permanent fix takes effect |
| Clear snippet in search | About a day | Until the page is reindexed | Wipes the stale description, leaves the result | You already edited sensitive text off a live page |
| Meta robots noindex | Next crawl | Permanent while the tag stays in place | Stops indexing; the page stays live for humans | HTML pages that must stay reachable but not findable |
| X-Robots-Tag noindex | Next crawl | Permanent while the header stays in place | Same as the meta tag, set at the server for any file type | PDFs, media, bulk or path-scoped rules |
| Delete page, return 404 | Next crawl | Permanent | Signals the content does not exist; indexed URL dropped | Pages that should not exist |
| Delete page, return 410 | Next crawl, no documented speed advantage over 404 | Permanent | Same treatment as 404, clearer intent for other systems | Deliberate, final deletions |
| Password protection or server auth | Next crawl | Permanent while the wall stays up | Blocks Googlebot and everyone else at the access layer | Confidential content, staging, internal tools |
| robots.txt Disallow | Within about 24 hours of cache refresh | Does not deindex at all | Stops crawling only; URL can stay indexed with no description | Crawl budget and server load, not removal |
| rel=”canonical” | Repeated crawls | A signal, not a guarantee | Consolidates duplicates onto a preferred URL | Duplicate and parameterized URLs you want merged |
| 301 redirect | Next crawl | Permanent while the redirect stays in place | Replaces the old URL, strong consolidation signal | Retired pages with a genuine equivalent |
Almost every method other than the Removals tool depends on something you do not control: when Googlebot next fetches the URL. Google’s guidance on recrawling says crawling can take anywhere from a few days to a few weeks, and its noindex guidance goes further, noting it may take months for Googlebot to revisit a page depending on that page’s importance on the internet.
Google is also not the internet. Deindexing does nothing about Bing, web archives, AI answer engines that already ingested the content, scrapers that copied it, or link previews cached by social platforms. If the goal is that nobody can find it anywhere, deleting at the source is the only step that helps, and even then copies may persist.
site: query and cross-check the Page Indexing report. Note every variant: http and https, www and non-www, trailing slashes, parameters and subdomains.Deindexing is irreversible in the way that matters: the traffic, the rankings and the value of every link pointing at that URL go with it. If the issue is one paragraph, a name, an old address or an outdated price, edit the page, request indexing and clear the snippet. You keep the asset and lose the problem.
If the content you want gone is not on a site you control, no amount of server configuration will touch it. That is a different discipline built on source removal requests, Google’s policy-based removal routes and, in serious cases, legal escalation. Start with our guides to removing a link or page from Google search results and removing personal information from Google search.
Where the issue is reputational rather than technical, deindexing your own pages rarely changes what people see when they search for you, because the damaging results sit on other domains. The levers are removal at the source where possible and suppression where not, covered in our guide to removing negative content from Google search. For how removal, suppression and publishing fit together, see our reputation management resources.
Removing a website you own from Google is a solved technical problem, provided the method acts on the right stage of the pipeline. The Removals tool buys roughly six months of cover and nothing more. Noindex, as a meta tag or an X-Robots-Tag header, is the permanent answer for pages that stay live. A 404 or 410 is the answer when content goes for good, and Google treats both the same. Password protection covers anything confidential.
Robots.txt is not on that list. It controls crawling, and blocking a URL there can leave it indexed, visible and stripped of its description, while preventing Google from ever reading the noindex rule that would have fixed it. Clear the Disallow first, apply the real instruction second.
Then be patient in the right way. File the temporary removal today, deploy the permanent method today, prompt a recrawl for the URLs that matter, and check back before the six month window lapses. Expect days to weeks for important pages and months for the forgotten corners of a large site.