Troubleshooting

Server Error (5xx) in Search Console: How It Hurts Indexing (2026)

What 'Server error (5xx)' means in Search Console in 2026, how server errors slow crawling and can drop pages, common causes and a practical fix-and-monitor routine.

11 min read

Server error 5xx in Search Console: a server returning errors to search engine crawlers

Quick answer

'Server error (5xx)' means Google received a 500-range error when crawling. Unlike 404s, server errors suggest your site is unhealthy: Google slows crawling to protect your server, and pages that keep failing can drop out of the index. Find the cause in server logs and hosting metrics, fix capacity, timeouts or application bugs, and use 503 for planned maintenance.

Key takeaways

  • 5xx errors tell Google your server is struggling, so it crawls less.
  • Persistent errors can lead Google to drop pages from the index.
  • Check server logs and the Crawl stats report to find patterns.
  • Use 503 with Retry-After for planned maintenance, not 500 or 200.
  • Bot protection and overloaded hosting are frequent hidden causes.

What does 'Server error (5xx)' mean?

HTTP status codes in the 500 range mean the server failed to fulfil a valid request. The common ones are 500 Internal Server Error, 502 Bad Gateway, 503 Service Unavailable and 504 Gateway Timeout. When Googlebot receives one of these while crawling, Search Console lists the URL under 'Server error (5xx)' in the Page indexing report and records the errors in the Crawl stats report.

Server errors matter more than 404s. A 404 says 'this page does not exist', which is a clear answer. A 5xx says 'something is wrong with the server', which tells Google your site might be overloaded or broken. Google responds by slowing its crawling to avoid making things worse, and if a page keeps failing over time, it may eventually be removed from the index.

Four-step diagram of how server errors affect Google's crawling and indexing. View full size
Server errors reduce crawling first. Persistent errors can lead to pages being dropped.

What causes 5xx errors for Googlebot?

Many 5xx errors are invisible to site owners because they happen under specific conditions: at peak load, on particular page types, or only for crawlers. That is why sites often discover them in Search Console rather than from visitors.

Common causes of server errors during crawling
CauseTypical codesClue
Server overloaded by traffic or crawling503, 504Errors cluster at busy times
Application bug on certain templates500Errors on one page type only
Database timeouts500, 504Slow queries in logs
Upstream service or API failures502, 504Errors when a dependency is down
Bot protection or rate limiting503, 429 shown as errorsOnly crawlers affected
Hosting limits on cheap plans503, 508Errors when resource caps are hit
Deploys and restarts502, 503Short bursts after releases

How do you diagnose server errors?

Start in Search Console. The Page indexing report shows example URLs under 'Server error (5xx)', and the Crawl stats report shows the share of crawl requests by response code and over time, along with host status problems. Look for patterns: are errors constant or spiky, spread across the site or concentrated on one section, and do they coincide with traffic peaks or deployments?

  1. Inspect example URLs with URL Inspection's live test to see whether they fail now.
  2. Check your server or CDN logs for 5xx responses to Googlebot's user agent and the times they occurred.
  3. Compare with hosting metrics such as CPU, memory, database load and response times.
  4. Look for application errors in your error tracking or logs for the failing URLs.
  5. Check whether firewall, bot protection or rate-limiting rules affect crawlers.

If the live test succeeds but the report shows errors, the problem is intermittent. That usually points to load, timeouts or rate limiting rather than a permanent bug. The free link checker gives a quick outside check of current status codes for a list of URLs.

How do you fix server errors?

The fix depends on the cause, but the principle is the same: make the server respond reliably to crawlers and users at normal and peak load.

  • Add capacity or move to hosting with enough resources for your traffic and crawling.
  • Use caching, a CDN and static rendering for pages that do not need to be generated on every request.
  • Fix slow database queries and add timeouts and fallbacks for external services.
  • Fix application bugs on the templates that fail.
  • Adjust bot protection so verified search engine crawlers are not blocked or challenged.
  • Schedule deployments to avoid long outages, and use rolling restarts where possible.

How should you handle planned maintenance?

During planned downtime, return 503 Service Unavailable, ideally with a Retry-After header telling crawlers when to come back. Google treats a 503 as temporary and retries later without dropping pages, as long as the outage is short. Do not serve a maintenance page with a 200 status; Google may index the maintenance page in place of your content. And do not return 404 or 500 for planned work.

Keep maintenance windows short. Google's documentation notes that if a site returns 503 for an extended period, it may start treating the URLs as unavailable and dropping them. For long migrations, keep the old site serving until the new one is ready rather than putting everything behind a 503 for days.

Comparison of correct and incorrect server responses during planned maintenance. View full size
A short 503 with Retry-After tells Google to come back later without dropping your pages.

Can Googlebot itself overload your server?

Rarely on well-hosted sites, but it can happen on underpowered servers or on sites that generate many URLs dynamically. Google adjusts its crawl rate based on how your server responds: if responses slow down or errors appear, it backs off automatically. If you need Google to crawl less urgently, returning 503 or 429 status codes temporarily signals it to slow down. Google's documentation describes how to reduce crawl rate in emergencies.

The better long-term fix is to reduce wasted crawling, such as infinite filter combinations or calendar pages, and to make pages cheaper to serve with caching. Our guide on sitemaps, internal links and crawl budget and our article on index bloat cover how to cut crawl waste.

A worked example: errors only for crawlers

A marketplace sees thousands of 'Server error (5xx)' entries but no complaints from users. Server logs show 503 responses to Googlebot at night, when a batch job runs. The site's bot protection treats the steady stream of crawler requests during that busy window as an attack and starts returning 503 to any automated client. Users browsing at night are rarely affected because their request rates are low.

The team allows verified search engine crawlers in the bot protection rules, moves the batch job to a separate database replica and adds caching to category pages. Within a week, 5xx responses in the Crawl stats report drop to near zero, Google's crawl rate recovers, and over the next month pages that had dropped out are recrawled and reindexed.

How do different 5xx codes differ?

Each code points to a different kind of problem. A 500 Internal Server Error usually means the application crashed while generating the page, which points to a bug or an unhandled condition on that template. A 502 Bad Gateway means a proxy or load balancer got an invalid response from the server behind it, often during restarts or when the application process died. A 503 Service Unavailable means the server is temporarily unable to handle the request, from overload, maintenance or rate limiting. A 504 Gateway Timeout means the upstream server took too long, often a slow database or external API.

Knowing which code appears most often narrows the search. Mostly 500s on one page type suggest a code bug. Mostly 503s and 504s at busy times suggest capacity. Bursts of 502s after deploys suggest the release process needs work.

You may also read

Does hosting quality affect indexing?

Yes, indirectly. Google adapts its crawl rate to how quickly and reliably your server responds. A fast, stable server lets Google crawl more of your site in less time, which matters for large or frequently updated sites. A slow or error-prone server leads Google to crawl less, so new pages are found later and updated pages are refreshed less often. The Crawl stats report shows average response time; consistently slow responses are worth addressing even without errors.

Cheap shared hosting often has resource limits that are hit by bursts of crawling or traffic, producing intermittent 503 or 508 errors. If your site is growing, moving to hosting with more capacity, or adding a CDN and caching, often fixes both errors and slow crawling at once.

What about errors on specific pages only?

If only certain URLs return 5xx consistently, the cause is usually in the application: a template that fails for certain data, a page that queries a huge dataset, or a dependency that is down for one feature. Reproduce the error by requesting the URL yourself, check application logs for the stack trace and fix the code. Until fixed, those pages will not be indexed and may drop out if they were.

How long can errors last before pages drop?

There is no fixed threshold. Google retries URLs that return server errors, and short outages of minutes or a few hours rarely cause lasting harm. Errors that persist for days on important pages carry real risk, as Google may conclude the pages are gone. Treat any sustained 5xx on key pages as an incident to fix immediately, not something to schedule for next sprint.

Should you serve stale content during outages?

Many CDNs can serve a cached copy of a page when the origin server fails. That keeps both users and crawlers seeing content with a 200 status during short outages, which is generally better than an error. Make sure cached copies are reasonably fresh and that genuinely removed pages are not kept alive by the cache. For planned maintenance, a 503 is still the clearer signal.

How do you verify Googlebot in your logs?

Many bots pretend to be Googlebot. Before you change firewall rules or investigate 'Googlebot' errors, confirm the requests are genuine. Google documents how to verify Googlebot with a reverse DNS lookup of the requesting IP, which should resolve to a Google domain, followed by a forward lookup that resolves back to the same IP. Google also publishes the IP ranges its crawlers use. Bot protection services usually have a setting to allow verified search engine crawlers, which is safer than allowing anything that claims to be Googlebot.

Fake Googlebot traffic can itself cause load problems. If logs show heavy 'Googlebot' traffic that fails verification, blocking it is reasonable and will not affect real Google crawling.

Do server errors affect rankings directly?

Server errors are not a ranking factor in the sense of a penalty. Their effect is practical: pages that cannot be crawled cannot be refreshed, pages that keep failing can drop out of the index, and visitors who hit errors leave. Fix the errors and the practical effects reverse as Google recrawls, usually without lasting damage if the problem was resolved promptly. The longer errors persist, the longer that recovery tends to take, so speed of response matters.

What are the myths about server errors?

  • Myth: a few 5xx errors cause a penalty. Short blips are tolerated; persistent errors are the risk.
  • Myth: a maintenance page with 200 is safest. It can be indexed in place of your content.
  • Myth: crawl-delay in robots.txt slows Googlebot. Google ignores crawl-delay; it reacts to server responses.
  • Myth: if users do not see errors, Google does not either. Crawler-specific rules and timing can differ.

How do you monitor for server errors?

Set up uptime monitoring that checks key pages from outside your network every few minutes and alerts on 5xx responses. Review the Crawl stats report monthly for the share of server errors and host status warnings. Track response times, because rising latency often precedes errors. After every infrastructure change, such as a new host, CDN or security rule, check Search Console within a few days.

When errors are fixed, use Validate fix in the Page indexing report so Google rechecks the affected URLs, and request indexing for your most important pages if they dropped out. Our guide on Google not indexing your site includes server health in its troubleshooting checklist.

Server errors are fixed on your infrastructure. Submitting a URL that returns 5xx does not help; crawlers will hit the same error. The free link checker gives you a quick outside view of status codes for a list of URLs while you investigate.

Blink Index workflow for server errors, with the check step highlighted for verifying status codes. View full size
Check status codes from outside your network, fix the server, then confirm the pages respond with 200.
  1. Check affected URLs with the free link checker.
  2. Fix capacity, application or bot protection issues on your servers.
  3. Validate the fix in Search Console and recheck with the free index checker.

See the FAQ and the pricing page for how Blink Index works.

Summary: treat 5xx as urgent

Server errors tell Google your site is struggling, so it crawls less and may drop pages that keep failing. Diagnose with Search Console, logs and hosting metrics, fix capacity, application bugs and bot protection rules, use short 503s with Retry-After for maintenance, and monitor continuously. For the less urgent cousin of this status, see our guide on Not found (404).

Frequently asked questions

What does 'Server error (5xx)' mean in Search Console?

Google received a 500-range status code, such as 500, 502, 503 or 504, when crawling the URL. It indicates a server problem rather than a missing page, and it can slow Google's crawling of your site.

Do server errors hurt indexing?

Yes, if they persist. Google slows crawling when it sees server errors, and pages that keep returning errors over time can be dropped from the index. Short, occasional blips are usually tolerated.

What status code should I use during maintenance?

Use 503 Service Unavailable with a Retry-After header, and keep the window short. Do not serve a maintenance page with a 200 status or return 404 or 500 during planned work.

Why do only crawlers see server errors on my site?

Often because of bot protection, rate limiting or firewall rules that treat crawler traffic differently, or because crawling happens at times of high load. Check server logs for errors to Googlebot's user agent.

How do I get pages back after fixing server errors?

Use Validate fix in the Page indexing report so Google rechecks affected URLs, and request indexing for your most important pages. Google will gradually increase crawling again as it sees reliable responses.

Keep reading

Sources and further reading

Facts about how Google crawls and indexes pages come from Google's own documentation: