Technical SEO

404 vs 410 for SEO: Which Status Code Should You Use?

By Alex··8 min read
404 vs 410 for SEO: Which Status Code Should You Use?

Key Takeaways

  • Google treats 404 and 410 the same for Search: both are 4xx responses, are not indexed, and remove an already indexed URL over time
  • 410 communicates that removal is intentional and permanent to HTTP clients; Google does not document a faster de-indexing or special crawl-rate benefit
  • Use a 404 or 410 when no similar replacement exists; use a permanent redirect when the content has moved to a genuinely relevant successor
  • A soft 404 is different: Google detects an error-like 200 page from its content and excludes that page from Search

The 404 vs 410 question usually arrives during a cleanup: a retired page needs to leave the index, and someone wants to know which status code does it faster.

For Google Search, there is no documented speed contest. Google's crawler documentation says all 4xx responses other than 429 are treated the same: the content is ignored, a previously indexed URL is removed over time, and crawl frequency gradually decreases.

What actually decides the choice is not speed. It is whether you are certain the page is never coming back — and how much you trust the process that generated the list.

What Each Code Declares

Both are client-error responses, and both tell a crawler the resource is unavailable. The distinction is about certainty.

404 Not Found410 Gone
Literal meaningNothing here right nowNothing here, deliberately, permanently
Implied permanenceUnspecified — may returnExplicit — will not return
Google Search treatment4xx; not indexed4xx; not indexed
Documented crawl behaviourCrawl frequency gradually decreasesThe same documented 4xx behaviour
If content returnsServe a working 200 page and let Google recrawl itServe a working 200 page and let Google recrawl it
Right forAnything uncertain, and any bulk operationPages you personally decided to delete forever

Google's HTTP status code documentation lists 404 and 410 under the same 4xx behaviour. It does not assign 410 a faster removal path or a separate crawl-rate effect.

The distinction still matters outside Google's indexing pipeline. In HTTP semantics, 410 states that the resource is intentionally and permanently gone, while 404 does not say whether the absence is temporary or permanent. Choose the response that truthfully describes the resource; do not choose 410 because an SEO tool promises faster removal.

Why 404 Is the Safer Default

The instinct is to reach for 410 because it sounds more decisive. Decisiveness is exactly the risk.

Consider how removal lists get generated in practice. Somebody exports URLs with zero sessions in 90 days. Somebody filters out-of-stock products. A migration script maps old paths and everything unmapped gets swept up. Each of these produces a list that is mostly correct and partly wrong — seasonal products, pages that receive traffic outside the sample window, URLs whose analytics tagging broke a year ago.

If a removal list contains a mistake, the recovery procedure is the same for Search: restore useful content with a successful response, update links and sitemaps where appropriate, and let Google recrawl it. The reason to prefer 404 for uncertain cases is semantic accuracy, not a special Google recovery rule.

So the rule that survives contact with real projects: 410 when a human decided this specific page should never exist again; 404 for everything generated by a filter, a script, or a bulk export.

A raw 404 count is not, by itself, evidence of a ranking problem. Review whether your own pages still link to removed URLs, whether the URLs remain in sitemaps, and whether a relevant successor exists. Those are actionable maintenance questions; the status-code count alone is not.

Status mismatch Verify in Search Console

Soft 404: page returns 200 with “product unavailable”

Google can recognize the error-like content, report the URL as a soft 404, and exclude it from Search even though the server returned 200.

If the content is gone, return 404 or 410. If it still exists, fix the loading or rendering failure and confirm the rendered page with URL Inspection.

Google must encounter the response before its systems can process the change, and Google does not guarantee when a URL will be crawled or removed. For urgent temporary hiding, use Search Console's Removals tool alongside a durable access or status-code change appropriate to the situation.

The Mistake That Costs More Than Either Code

Arguing over 404 versus 410 while shipping soft 404s is the common failure, and it wastes far more time than picking the wrong one of the two.

A soft 404 is a page that returns HTTP 200 while telling the human it does not exist — "Product no longer available", "This page has moved", or an empty result page. Google says its algorithms can detect that error-like content; the page is excluded from Search and appears as a soft 404 in the Page Indexing report.

This happens most often on three surfaces: e-commerce templates that render an "unavailable" message inside the normal product layout, single-page applications where routing happens client-side after a 200 has already been sent, and custom error pages wired to a controller that forgets to set the status. In every case the fix is to set the status code before rendering, not after.

Two habits catch the rest:

  • Check both the response and the rendered page. Verify the HTTP status, then use Search Console URL Inspection to see what Google rendered. Either side can explain a soft 404.
  • Clean the inbound links. A removed URL that still receives internal links keeps getting crawled and sends visitors to a dead end. Removing the page and leaving the links is half a job — and those internal links are usually easier to find than the removed pages themselves.

Where a retired page has a genuine successor, neither status code is the right tool — a redirect is, and the canonical versus 301 comparison covers which of those belongs on the URL. Removal codes are for pages with no replacement.

The illustrative MendMySEO demo shows bounded crawlability evidence and guidance; it is not proof that every 404/410 condition is production-covered. Review the current release status — commercial access remains evidence-gated.

One more habit worth building: record which code you used and why, alongside the removal list. Six months later, when somebody asks why a URL is gone, the answer should be retrievable rather than reconstructed from server config.

Frequently Asked Questions

Does 410 remove pages from Google faster than 404?

Google does not document a faster path for 410. Its current crawler documentation treats 404 and 410 alike with the other 4xx responses (except 429): they are not indexed, previously indexed URLs are removed over time, and crawl frequency gradually decreases.

Are 404 errors bad for SEO?

A legitimate 404 is the correct response for missing content and is not, by itself, proof of a ranking problem. Fix internal links that send users to dead ends, remove retired URLs from sitemaps, and redirect only when a genuinely relevant successor exists.

Should I redirect deleted pages instead of returning 404 or 410?

Only when a genuinely equivalent page exists. Redirecting a retired product to an unrelated category or the homepage produces a soft 404 in Google's eyes and confuses the visitor, who expected the thing they clicked. Without a real successor, returning the removal code is the correct and more honest answer.

What is a soft 404 and why does it matter more?

A soft 404 returns HTTP 200 while the content looks like an error, empty page, or missing resource. Google can detect that mismatch and exclude the page from Search. The remedy is to return a real 404/410 when the content is gone, or restore the useful content when the page should exist.

Can I use 410 for pages that might come back later?

410 explicitly means gone, so it is a poor semantic fit for content expected to return. But a temporarily unavailable product does not automatically need a 404 either: if the page still provides useful product information and a genuine purchase state, it may remain a working page. Choose based on what the resource actually represents.

Check what your error pages actually return

Explore illustrative static status-code findings; the demo does not request the URL you enter.

Try the interactive demo →