Do 404 errors hurt SEO, and what is a soft 404?
Do 404 errors hurt SEO? What Google does with a 404
To see whether 404 errors hurt SEO, start with what Google does with them. A 404 status code tells a crawler that the content at a URL does not exist. Google groups 404 and 410 with the other 4xx client errors. According to its crawler documentation, Google does not use content from URLs that return these codes, a URL returning a 4xx is not indexed, and a page that was already indexed is removed once it starts returning one. Google also crawls those URLs less and less over time.
The same page notes that 4xx errors, apart from 429, do not affect how fast Google crawls the rest of your site. Nothing in Google's documentation says a 404 on one page lowers the rankings of your other pages. The Page indexing report help goes further and says 404 responses are not necessarily a problem when a page has been removed and nothing replaces it.
So a 404 is a normal part of a healthy website. Products sell out, events finish and old articles are retired. The status code is simply the accurate answer.
When a 404 does need attention
A 404 becomes a real problem in a few situations:
- You still link to the missing page from your own navigation, articles or footer, so visitors hit a dead end.
- The URL is listed in your XML sitemap, which tells Google you want it indexed.
- The page has moved rather than disappeared. Here Google recommends a 301 redirect to the new location.
- The page had useful backlinks or traffic and there is a close replacement it could point to.
Google's help page advises fixing only the 404s you link to yourself or list in a sitemap. Errors caused by other people linking to URLs that never existed can usually be left alone.
What a soft 404 is
A soft 404 happens when a page tells visitors it was not found, or is effectively empty, but the server still returns a 200 success code. Google's documentation says that when content suggests an empty page or an error message, Search Console reports it as a soft 404.
Common causes include:
- A custom "page not found" template that is served with a 200 status.
- Search results or category pages with no items in them.
- Product pages for discontinued items that show only a short "unavailable" note.
- Single-page applications that handle errors in JavaScript while the server returns 200.
The last case is covered in Google's JavaScript troubleshooting guide, which explains that client-side error handling often leaves a 200 status in place, so error pages can end up indexed.
How to fix soft 404s
For pages that truly no longer exist, return a real 404 or 410 status from the server. For pages that are valid but thin, add enough useful content that they no longer look like errors. Google suggests checking how the page renders with a live URL Inspection test and the "View tested page" option.
For JavaScript apps, Google describes two approaches. You can redirect to a URL that the server answers with a 404, or add a robots meta tag with `noindex` when the requested item does not exist:
```html ```
After fixing the cause, use the validation option in the Pages report so Google rechecks the affected URLs.
Check your status codes
The HTTP Error Audit from AI Web Page SEO crawls your site from the home page, follows internal links and records the status of every URL, so 404 and 410 errors, server errors and 301 or 302 redirects are listed. Results can be filtered and exported as a CSV file.
Sources
- How HTTP Status Codes Affect Google's Crawlers
- Page indexing report, Search Console Help
- Fix Search-Related JavaScript Problems
Frequently asked questions
Do 404 errors hurt SEO if I redirect them all to my home page?
No. Only redirect a removed URL when there is a genuine replacement page covering the same thing. Sending every missing URL to the home page gives visitors something they did not ask for, and Google may treat those redirects as soft 404s anyway. If nothing replaces the old page, letting it return a proper 404 or 410 is the honest and correct response.
How long do 404 URLs stay in Search Console?
Google keeps requesting known URLs for a while after they start returning an error, in case the problem is temporary, so they can remain listed for some time. The Page indexing report shows 404s found during roughly the past month. Focus on the ones you still link to internally or list in your sitemap, because those are the ones you control.