# 5xx server errors

> Locate intermittent 5xx failures by route, host, and deployment; fix the source, protect key pages, and verify recovery in logs and Search Console.

Canonical: https://scaplet.com/seo-issues/server-errors-5xx

Guide SEO issue · HTTP status

Locate intermittent 5xx failures by route, host, and deployment; fix the source, protect key pages, and verify recovery in logs and Search Console.

4 min

read

4

sources

Oct 24, 2026

updated

Scaplet Editorial Team

author

In one line

A 5xx response means the server failed to complete a request. Google slows its crawling after 5xx responses, ignores their content, and drops URLs that persistently return a server error from the index. Correlate affected URLs and timestamps with origin, CDN, application, and deployment logs, restore 2xx responses for pages that should exist, then check Googlebot activity and indexing separately.

30-second check

## Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo-issues%2Fserver-errors-5xx%20(%225xx%20server%20errors%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo-issues%2Fserver-errors-5xx%20(%225xx%20server%20errors%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo-issues%2Fserver-errors-5xx%20(%225xx%20server%20errors%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo-issues%2Fserver-errors-5xx%20(%225xx%20server%20errors%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 3 parts, 4 minutes.

1. [Find whether the failure is widespread or route-specific 01](#find-whether-the-failure-is-widespread-or-route-specific)
2. [Restore availability at the source 02](#restore-availability-at-the-source)
3. [Verify recovery and watch for a second failure 03](#verify-recovery-and-watch-for-a-second-failure)

_01_How it works

## Find whether the failure is widespread or route-specific

Use the status family as a clue, then confirm the logs
| Response | Common place to investigate | Check |
| 500 | Application exception or unhandled dependency failure | Stack traces, error rates, and changes around the first failure |
| 502 | Proxy or gateway received an invalid upstream response | Origin health, connection resets, and upstream protocol |
| 503 | Temporary overload or scheduled maintenance, or deliberate [throttling](/glossary/rate-limiting) | Capacity, maintenance window, CDN rules, and recovery behavior |
| 504 | Gateway waited too long for an upstream response | Slow queries, dependency latency, queueing, and timeout settings |

**Do not leave 503 or 429 in place for more than 2 days**Google's emergency overcrawl advice is to return 503 or 429 temporarily when your server is overloaded. Googlebot retries those URLs for about 2 days, and returning 503 or 429 for more than 2 days will cause Google to drop those URLs from the index. Google also says returning "no availability" codes for more than a few days will cause it to permanently slow or stop crawling URLs on your site.

1. 01

### Check the status from outside your browser

Request affected URLs with an HTTP client or browser network panel and record each response, redirect, timestamp, and [time to first byte](/glossary/time-to-first-byte). A page that works for you can still fail intermittently at the origin, edge, or for a particular region.
2. 02

### Group Search Console evidence

Review [Crawl Stats](/glossary/crawl-stats-report) host availability and response-code examples, then inspect representative URLs in [URL Inspection](/glossary/url-inspection-tool). Crawl Stats aggregates requests, so its error percentage is not a count of unique failed URLs.
3. 03

### Correlate logs across layers

Match request IDs and timestamps across the CDN, load balancer, application, database, and deploy history. Compare [Googlebot](/ai-crawlers/googlebot) requests with normal user requests; validate crawler identity from network ranges or reverse DNS when it affects the diagnosis.
4. 04

### Map errors to affected templates

Separate homepage, product, category, article, API, and asset requests. A shared origin failure has a different repair from one broken route or one slow database query.

_02_Checklist

## Restore availability at the source

First_2_
If failures started after a release, compare the deployment and roll back or patch the failing code path. Verify migrations, environment variables, secrets, and upstream compatibility.

If the origin is healthy but the edge returns errors, check CDN cache behavior, origin pools, TLS configuration, firewall rules, and health checks.

Next_2_
If failures occur under load, profile database and dependency latency, queue depth, connection pools, and concurrency. Add capacity only after identifying the constrained component.

If a page was removed on purpose, return a correct 404 or 410 instead of a 5xx. If it moved, redirect to a relevant replacement.

Then_1_
If planned maintenance is necessary, keep the window brief and return 503. RFC 9110 lets a 503 carry a `Retry-After` header with a date or a number of seconds to suggest how long to wait. Do not serve a 200 status for an error page; Google may report it as a [soft 404](/glossary/soft-404).

Prioritize URLs with customer value and search demand: product and checkout entry pages for stores, lead-generation pages for service businesses, and top documentation or articles for publishers and SaaS companies. Fix a shared template or dependency before manually testing hundreds of similar URLs.

_03_How it works

## Verify recovery and watch for a second failure

1. 1

### Test key URLs from multiple paths

Check representative pages through the public hostname and, where possible, directly at the origin. Confirm stable successful responses, expected content, and no redirect loop.
2. 2

### Compare errors by layer

Use request IDs to verify the repaired requests reached the origin and returned correctly through the CDN. A single successful browser reload is not evidence that an intermittent issue is resolved.
3. 3

### Watch crawl response patterns

Monitor [Search Console](/glossary/google-search-console) Crawl Stats and server logs over subsequent crawls. Google says that once the server starts responding with a 2xx status code, it gradually increases the crawl rate for the site.
4. 4

### Recheck indexed state later

Use URL Inspection for important URLs and review the Page Indexing report after Google recrawls them. Availability recovery does not immediately restore indexing or guarantee it.

If responses succeed but are consistently slow, investigate [slow TTFB](/seo-issues/slow-ttfb). For client-side missing routes, compare [4xx errors](/seo-issues/4xx-errors) and [soft 404 errors](/seo-issues/soft-404-errors).

Sources · 4

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- google.com
- rfc-editor.org

1. 01 [How HTTP status codes affect Google's crawlers](https://developers.google.com/crawling/docs/troubleshooting/http-status-codes) developers.google.com · checked 2026-10-24
2. 02 [Troubleshoot crawling errors in Google Search](https://developers.google.com/search/docs/crawling-indexing/troubleshoot-crawling-errors) developers.google.com · checked 2026-10-24
3. 03 [Crawl Stats report](https://support.google.com/webmasters/answer/9679690?hl=en) support.google.com · checked 2026-10-24
4. 04 [RFC 9110: HTTP Semantics](https://www.rfc-editor.org/rfc/rfc9110.html) rfc-editor.org · checked 2026-10-24

Questions

## Asked a lot.

3 questions people ask next, answered from the sources on this page.

_01_ Do 5xx errors affect Google crawling?

Yes. Google says 5xx and 429 server errors prompt its crawlers to temporarily slow down. For a 500, the crawl rate decrease is proportionate to the number of individual URLs returning a server error. Once the server responds with 2xx again, Google gradually increases the crawl rate.

_02_ How long can a site return 503 to Googlebot?

Google's overcrawl guidance says Googlebot retries 503 and 429 URLs for about 2 days, and that returning them for more than 2 days will cause Google to drop those URLs from the index. Use them only temporarily, while your server is overloaded.

_03_ Does a 500 error mean a page is deindexed immediately?

No. For Google Search, already indexed URLs that return a 5xx are preserved in the index but eventually dropped, and the indexing pipeline removes URLs that persistently return a server error. Restore reliable 200 responses, then check URL Inspection after Google recrawls the page.

## Keep learning

[All seo issues](/seo-issues)

[Learn 4xx errors Status codes and links](/seo-issues/4xx-errors) [Related HTTP status codes Crawling and indexing](/glossary/http-status-codes) [Read next Sitemap contains non-200 URLs Crawlability](/seo-issues/sitemap-contains-non-200-urls) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in SEO issues
[Robots.txt blocks CSS or JavaScript](/seo-issues/robots-txt-blocks-css-js) [robots.txt not found](/seo-issues/robots-txt-not-found) [Sitemap contains non-200 URLs](/seo-issues/sitemap-contains-non-200-urls) [Sitemap not found](/seo-issues/sitemap-not-found)

More in Status codes and links
[4xx errors](/seo-issues/4xx-errors) [5xx server errors](/seo-issues/server-errors-5xx) [Broken external links](/seo-issues/broken-external-links) [Broken images](/seo-issues/broken-images) [Broken internal links](/seo-issues/broken-internal-links) [Empty anchor text](/seo-issues/empty-anchor-text) [Generic anchor text](/seo-issues/generic-anchor-text)

Terms on this page
[Time to First Byte (TTFB)](/glossary/time-to-first-byte) [Crawl stats report](/glossary/crawl-stats-report) [URL Inspection tool](/glossary/url-inspection-tool) [Rate limiting](/glossary/rate-limiting) [Soft 404](/glossary/soft-404) [Google Search Console](/glossary/google-search-console)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

Run the free audit, then approve the fixes. Every change can be undone.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
