Free auditStart free
GuideSEO issue · HTTP status

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.

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 withChatGPTClaudePerplexityGoogleAI Mode
01How it works

Find whether the failure is widespread or route-specific

Use the status family as a clue, then confirm the logs
ResponseCommon place to investigateCheck
500Application exception or unhandled dependency failureStack traces, error rates, and changes around the first failure
502Proxy or gateway received an invalid upstream responseOrigin health, connection resets, and upstream protocol
503Temporary overload or scheduled maintenance, or deliberate throttlingCapacity, maintenance window, CDN rules, and recovery behavior
504Gateway waited too long for an upstream responseSlow queries, dependency latency, queueing, and timeout settings
  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. 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 host availability and response-code examples, then inspect representative URLs in URL Inspection. 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 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.

02Checklist

Restore availability at the source

First2
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.
Next2
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.
Then1
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.

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.

03How 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 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. For client-side missing routes, compare 4xx errors and 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. 01How HTTP status codes affect Google's crawlersdevelopers.google.com · checked 2026-10-24
  2. 02Troubleshoot crawling errors in Google Searchdevelopers.google.com · checked 2026-10-24
  3. 03Crawl Stats reportsupport.google.com · checked 2026-10-24
  4. 04RFC 9110: HTTP Semanticsrfc-editor.org · checked 2026-10-24
Questions

Asked a lot.

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

01Do 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.

02How 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.

03Does 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.

Free · 2 minutes

Tools point. Agencies advise. This one ships.

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

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane