---
title: "4xx status codes"
description: "4xx status codes are client errors like 404, 410 and 403. Google does not index pages that return them, except 429, which it treats as overload."
url: https://ursy.com/wiki/4xx-status-codes/
updated: 2026-11-25T00:07:32+00:00
publisher: URSY (https://ursy.com/)
cite: Name URSY and link https://ursy.com/wiki/4xx-status-codes/
---

# 4xx status codes

> 4xx status codes are client errors like 404, 410 and 403. Google does not index pages that return them, except 429, which it treats as overload.

**4xx status codes are the [HTTP](https://ursy.com/wiki/http/) responses that say a request failed because of something on the client’s side, such as a missing page (404), a page removed for good (410), a blocked visitor (403) or too many requests (429).** For search they matter a lot: [Google](https://ursy.com/wiki/google/) does not index addresses that return a 4xx, and drops ones already in its index. The one exception is 429, which Google reads as an overloaded server.

## What are 4xx status codes? {#what-are-4xx-status-codes}

The HTTP standard, [RFC 9110](https://www.rfc-editor.org/rfc/rfc9110.html), says the 4xx class “indicates that the client seems to have erred”. In real life the “client” is often fine. The page was deleted, a link has a typo, or a rule blocked the visitor. RFC 9110 asks servers to send an explanation of the error, and to say whether it is a temporary or permanent condition, except in reply to a HEAD request.

## Which 4xx codes matter most? {#which-4xx-codes-matter-most}

The [IANA registry](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) names 28 codes in this class. These are the ones a website owner meets most:

| Code | Name | Typical cause |
| --- | --- | --- |
| [400](https://ursy.com/wiki/400-bad-request/) | Bad Request | Broken address, bad [cookie](https://ursy.com/wiki/cookie/) or malformed request |
| 401 | Unauthorized | The visitor must sign in first |
| [403](https://ursy.com/wiki/403-forbidden/) | Forbidden | The server refuses this visitor, often a firewall rule |
| [404](https://ursy.com/wiki/404-and-410/) | Not Found | No page at this address |
| 405 | Method Not Allowed | The page exists but not for this method, such as a GET to a POST-only form |
| [410](https://ursy.com/wiki/404-and-410/) | Gone | Removed on purpose, no forwarding address |
| 429 | Too Many Requests | Rate limiting |
| [451](https://ursy.com/wiki/451-unavailable-for-legal-reasons/) | Unavailable For Legal Reasons | Blocked by law or a court order |

[MDN’s status reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status) explains the rest, from 406 to 431. 429 itself comes from [RFC 6585](https://www.rfc-editor.org/rfc/rfc6585.html) (April 2012), which says it means the user “has sent too many requests in a given amount of time” and may include a Retry-After header.

## How does Google treat 4xx codes? {#how-does-google-treat-4xx-codes}

Google’s [crawling documentation on status codes](https://developers.google.com/crawling/docs/troubleshooting/http-status-codes) sets the rules plainly:

- Any content Google receives with a 4xx is ignored.
- Google doesn’t index URLs that return a 4xx, and indexed ones are removed.
- All 4xx codes except 429 are handled the same way. [Crawling](https://ursy.com/wiki/crawling/) of those addresses slowly gets less frequent.
- 4xx codes, except 429, have no effect on the site’s [crawl rate](https://ursy.com/wiki/crawl-rate/).
- 429 is treated as a sign the server is overloaded, like a 5xx.

So a 404 and a 410 lead to the same place in the end. For Google, the choice between them matters far less than making sure the right pages answer 200.

## Can I use 403 or 404 to slow Googlebot down? {#can-i-use-403-or-404-to-slow-googlebot-down}

No. In February 2023 Google published [Don’t use 403s or 404s for rate limiting](https://developers.google.com/search/blog/2023/02/dont-404-my-yum). It says all 4xx codes except 429 “will cause your content to be removed from Google Search”. To slow crawling, use 500, 503 or 429 for a short time instead. Google’s [reduce crawl rate](https://developers.google.com/search/docs/crawling-indexing/reduce-crawl-rate) page says not to do this for more than 1 or 2 days. See [rate limiting](https://ursy.com/wiki/rate-limiting/).

## What happens if robots.txt returns a 4xx? {#what-happens-if-robots-txt-returns-a-4xx}

Google’s [robots.txt rules](https://developers.google.com/crawling/docs/robots-txt/robots-txt-spec) say it treats all 4xx errors, except 429, as if no valid [robots.txt](https://ursy.com/wiki/robots-txt/) file existed. In other words, a 404 robots.txt means “crawl anything”. If you meant to block an area, a missing file blocks nothing.

## Why does it matter for AI answers? {#why-does-it-matter-for-ai-answers}

[AI crawlers](https://ursy.com/wiki/ai-crawler/) and assistants fetch pages the same way. If your firewall answers 403 to a [bot](https://ursy.com/wiki/bot-web-robot/) you meant to allow, that company cannot read the page, and its answers may lean on other sites. Many security tools block unknown bots with 403 or a challenge; see [web application firewall](https://ursy.com/wiki/web-application-firewall/) and [managed challenge](https://ursy.com/wiki/managed-challenge/). Check which bots really get through before you decide; the pros and cons are weighed in [should I block AI crawlers?](https://ursy.com/guides/should-i-block-ai-crawlers/) A 404 on a page an AI tool already cites also breaks the link people click from the answer.

## Is a 404 bad for SEO? {#is-a-404-bad-for-seo}

Not by itself. A 404 for a page that never existed, or one you removed on purpose, is correct. The harm comes from 404s on pages that should work: links in your menus, pages in your [XML sitemap](https://ursy.com/wiki/xml-sitemap/), or old addresses with good [backlinks](https://ursy.com/wiki/backlinks/). Those lose visitors and the value of the links. [Redirect](https://ursy.com/wiki/redirect/) old pages with a close match, and fix internal [broken links](https://ursy.com/wiki/broken-link/).

## Common mistakes {#common-mistakes}

- **Soft 404s.**  An error page that answers 200 instead of 404; see [soft 404](https://ursy.com/wiki/soft-404/).
- **Blocking [Googlebot](https://ursy.com/wiki/googlebot/) by mistake.**  A security rule returning 403 to real [search crawlers](https://ursy.com/wiki/search-crawler/). Check against Google’s published IP ranges; see [verified bots](https://ursy.com/wiki/verified-bots/).
- **Using 401 or 403 to rate limit.**  Google says not to.
- **404 pages with no way forward.**  Give visitors search and links to main sections.
- **Redirecting every 404 to the home page.**  Visitors land somewhere they did not ask for. Send each old page to its closest match instead.
- **Sitemaps full of 4xx addresses.**  Remove dead addresses so crawlers trust the list.

## A worked example {#a-worked-example}

A shop reviews its [server logs](https://ursy.com/wiki/server-logs/) for one week and finds 4 groups of 4xx replies:

| What | Code | Action |
| --- | --- | --- |
| 300 [hits](https://ursy.com/wiki/hit-analytics/) on /sale-2024/, linked from other sites | 404 | 301 to the current sale page |
| 50 hits on discontinued products | 404 | 410, or redirect to the replacement product |
| Googlebot on /wp-admin/ | 403 | Fine: private area |
| A verified [AI search](https://ursy.com/wiki/ai-search/) crawler on product pages | 403 | Fix the firewall rule if you want to be found there |

## How to check it {#how-to-check-it}

1. Our [Broken Link Checker](https://ursy.com/broken-link-checker/) lists every link on a page that ends in a 4xx. The guide on [how to use the Broken Link Checker](https://ursy.com/guides/how-to-use-broken-link-checker/) explains each row.
2. Paste any address into the [HTTP Header Checker](https://ursy.com/http-header-checker/) to see its exact code.
3. See whether a bot is blocked with our [AI Bot Checker](https://ursy.com/ai-bot-checker/), and confirm the file itself answers 200 with the [Robots.txt Checker](https://ursy.com/robots-txt-checker/).
4. Check that your sitemap lists only live pages with the [Sitemap Checker](https://ursy.com/sitemap-checker/).
5. In [Google Search Console](https://ursy.com/wiki/google-search-console/), open the [Page indexing report](https://ursy.com/wiki/page-indexing-report-index-coverage/) and look at the reasons listed for pages that are not indexed, such as “Not found (404)”.
6. In URSY Pro, [404s with referrer](https://ursy.com/pro/404s-with-referrer/) (Pro) shows which page sent each visitor to a dead end, and the [Log file analyser](https://ursy.com/pro/log-file-analyser/) (Pro) lists codes by bot.

## Questions {#questions}

### How long before a 404 page leaves Google? {#how-long-before-a-404-page-leaves-google}

Google gives no fixed time. It removes the address once it recrawls it and sees the 4xx.

### Should I use 404 or 410? {#should-i-use-404-or-410}

Either works for search. 410 says the removal was deliberate, which is clearer to people and other tools.

### Does 429 remove my pages? {#does-429-remove-my-pages}

Not straight away. Google treats it like a server error and slows down, but long runs can lead to removal.

## Related words {#related-words}

- [HTTP status code](https://ursy.com/wiki/http-status-code/)
- [404 and 410](https://ursy.com/wiki/404-and-410/)
- [Crawl error](https://ursy.com/wiki/crawl-error/)
- [Broken link](https://ursy.com/wiki/broken-link/)
- [5xx server error](https://ursy.com/wiki/5xx-server-error/)

## Sources {#sources}

- [Google Crawling Infrastructure: How HTTP status codes affect Google’s crawlers](https://developers.google.com/crawling/docs/troubleshooting/http-status-codes), checked 24 November 2026
- [Google Search Central Blog: Don’t use 403s or 404s for rate limiting (17 February 2023)](https://developers.google.com/search/blog/2023/02/dont-404-my-yum), checked 24 November 2026
- [Google Search Central: Reduce the Google crawl rate](https://developers.google.com/search/docs/crawling-indexing/reduce-crawl-rate), checked 24 November 2026
- [Google: How Google interprets the robots.txt specification](https://developers.google.com/crawling/docs/robots-txt/robots-txt-spec), checked 24 November 2026
- [IETF RFC 9110: HTTP Semantics, section 15.5](https://www.rfc-editor.org/rfc/rfc9110.html), checked 24 November 2026
- [IETF RFC 6585: Additional HTTP Status Codes](https://www.rfc-editor.org/rfc/rfc6585.html), checked 24 November 2026
- [IANA: HTTP Status Code Registry](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml), checked 24 November 2026
- [MDN: HTTP response status codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status), checked 24 November 2026

*Updated 24 November 2026 by URSY.*
