What Is 404 Error?

Flavio AmielWritten byFlavio Amiel Founder, Roborank
Updated July 15, 2026

A 404 error is an HTTP response status code, defined in RFC 9110, that a web server returns when it cannot find any resource matching the requested URL. It tells the browser or crawler that the page is missing, without stating whether that absence is temporary or permanent, and it is one of the most common client-error responses on the web.

Key Takeaways

How a 404 Error Works

Every time a browser or crawler requests a URL, the web server answers with an HTTP status code in the response header. That code, not the visible page, is the machine-readable verdict on what happened. A 404 means the server understood the request perfectly well but holds no resource that matches the URL. In the words of MDN, the 404 Not Found status code is “a client error response status code [that] indicates that the server cannot find the requested resource.” It is standardized in RFC 9110, the current specification for HTTP semantics.

The defining trait of a 404 is what it leaves unsaid. It reports that a resource is missing but makes no claim about why or for how long. MDN is explicit: “A 404 status code only indicates that the resource is missing without indicating if this is temporary or permanent. If a resource is permanently removed, servers should send the 410 Gone status instead.” So a 404 is the correct answer when the server genuinely doesn’t know — a mistyped URL, a page that may return, a resource that never existed.

What matters for search is that the status code travels in the header, invisible to the human reading the page. A well-designed site pairs the 404 code with a friendly HTML page (“Sorry, we couldn’t find that”), but the friendly page is decoration. Software — including Googlebot — keys off the numeric code. This is the seam where soft 404s are born, which we return to below.

How Google Handles a 404

For crawling and indexing, Google’s behavior is documented and blunt. Its guidance states that “all 4xx errors, except 429, are treated the same: Google crawlers inform the next processing system that the content doesn’t exist.” The downstream effect: “the indexing pipeline removes the URL from the index if it was previously indexed. Newly encountered 404 pages aren’t processed. The crawling frequency gradually decreases.”

Two practical consequences follow. First, a 404 is not a penalty. Google drops that one URL and eventually stops re-requesting it, but it does not dock the rest of your site for having dead pages — 404s are a normal, expected part of any site that changes over time. Second, because Google treats 404 and 410 almost identically for crawling, the choice between them is about semantics and speed of cleanup, not about avoiding harm. If you know a page is gone for good, a 410 is the more honest signal; if you’re unsure, 404 is right.

Hard 404 vs Soft 404

There are two ways a “not found” experience can be delivered, and only one is a true 404:

The goal is always the hard 404. A soft 404 wastes crawl budget on a page Google has to evaluate, then guess about, rather than drop.

Example of a 404 Error

Consider the lifecycle of a deleted product page — a clearly illustrative walkthrough built on the documented behavior in Google’s and MDN’s references. A store removes /products/old-widget. A visitor who bookmarked it makes a request, and the server replies with a status line reading HTTP/1.1 404 Not Found. MDN’s own reference response for this code even attaches caching headers such as Cache-Control: max-age=604800, showing that a 404 is a cacheable response a server can legitimately ask clients to remember for a week.

Now Googlebot re-requests the same URL during a routine crawl. It receives the 404, and per Google’s documented pipeline it “inform[s] the next processing system that the content doesn’t exist.” Because /products/old-widget was previously indexed, the indexing pipeline removes it from the index. Over subsequent crawls, Google requests that URL less and less often — the “crawling frequency gradually decreases” — until it effectively stops checking a page that keeps answering “gone.”

The point of the example is what does not happen. The rest of the store’s catalog is untouched. There is no sitewide demotion, no manual action, no lingering ghost — provided the page returns an honest 404. The only real cleanup left is internal: any menu link, related-products widget, or sitemap entry still pointing at /products/old-widget should be updated or removed, because those broken links waste crawl requests and send users into a wall. The status code did its job; the maintenance is on the links that lead to it.

The thing people get wrong

The reflex I have to talk people out of most often is redirecting every 404 to the homepage to "save the link equity." It does the opposite. When a user or a crawler asks for a deleted page and you 301 them to the homepage, you have not preserved anything — you have created a soft 404, because the URL now returns a 200 with content that has nothing to do with what was requested. Google’s own guidance is to let missing pages return a real 404 (or 410). A clean 404 is a signal working exactly as designed: it tells the index the page is gone so it can be dropped cleanly. Panic-redirecting muddies that signal and usually earns you a soft-404 flag in Search Console for your trouble. Return the honest status code and move on.

404 Error vs Soft 404

404 Error Soft 404
HTTP status returned 404 (or 410) Success code, usually 200 OK
Header vs page content Agree — both say “missing” Contradict — header says OK, page says missing
How Google reads it Drops the URL cleanly from the index Must evaluate content, then flags it as a soft 404
Crawl impact Crawl frequency decreases over time Wastes crawl budget on a page it can’t trust
Correct? Yes — the honest answer for a missing page No — a misconfiguration to fix

A 404 is a signal working as designed; a soft 404 is that same signal broken. The fix for a soft 404 is almost always to make the server return a real 404 or 410 for the missing URL — see the full write-up on soft 404s.

Frequently Asked Questions

Does a 404 error hurt my SEO?
Not by itself. Google removes the specific 404 URL from its index and slows crawling of it, but a genuine 404 for a page that no longer exists is expected behavior and does not lower the ranking of your other pages. The risk is broken internal links pointing at it, not the code itself.
What is the difference between a 404 and a soft 404?
A real 404 returns the 404 status code in the HTTP header. A soft 404 returns a success code (200 OK) while showing ‘page not found’ content, so the header and the page contradict each other. Google flags soft 404s because it cannot trust the status code.
Should I redirect 404 pages?
Only when a genuine replacement exists — then a 301 to the equivalent new URL is right. If nothing replaces the page, let it return 404 or 410. Redirecting unrelated missing pages to the homepage creates soft 404s and confuses both users and crawlers.
How do I find 404 errors on my site?
Google Search Console’s Page Indexing report lists URLs returning ‘Not found (404).’ A crawl of your site will also surface internal links and sitemap entries that resolve to 404s, which are the ones worth fixing because they waste crawl budget and frustrate users.

The Bottom Line

A 404 error is the web’s standard way of saying "there is nothing here." It is a client-error status code that a server sends when a URL points to no resource, and it deliberately leaves open whether the gap is temporary. Treated correctly, it is healthy plumbing — the honest answer that lets an index drop a dead page. The failures around 404 come not from the code but from hiding it: masking it behind a 200 or a homepage redirect turns a clean signal into a soft 404.

Sources

  1. 404 Not Found — HTTP Status ReferenceMDN Web Docs
  2. How HTTP status codes, and network and DNS errors affect Google SearchGoogle Search Central
Roborank does this

Roborank crawls your site for broken links and dead URLs, then flags the internal links and sitemap entries still pointing at 404s so you can fix or remove them.

Find your broken links →

Rank & Cash — the weekly SEO breakdown

One practical teardown a week on ranking in search and getting cited by AI. No fluff.