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.
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.
| Cause | Typical codes | Clue |
|---|---|---|
| Server overloaded by traffic or crawling | 503, 504 | Errors cluster at busy times |
| Application bug on certain templates | 500 | Errors on one page type only |
| Database timeouts | 500, 504 | Slow queries in logs |
| Upstream service or API failures | 502, 504 | Errors when a dependency is down |
| Bot protection or rate limiting | 503, 429 shown as errors | Only crawlers affected |
| Hosting limits on cheap plans | 503, 508 | Errors when resource caps are hit |
| Deploys and restarts | 502, 503 | Short 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?
- Inspect example URLs with URL Inspection's live test to see whether they fail now.
- Check your server or CDN logs for 5xx responses to Googlebot's user agent and the times they occurred.
- Compare with hosting metrics such as CPU, memory, database load and response times.
- Look for application errors in your error tracking or logs for the failing URLs.
- 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.
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
Google Not Indexing My Site: A 2026 Troubleshooting ChecklistA step-by-step 2026 checklist for when Google is not indexing your site: technical blocks, server issues, discovery gaps, quality problems and manual actions.
Duplicate, Google Chose Different Canonical Than User: 2026 FixWhy Google sometimes ignores your canonical tag and picks another URL in 2026, how to find the conflicting signals and how to get Google to accept your choice.
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.
Where Blink Index fits for server errors
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.
- Check affected URLs with the free link checker.
- Fix capacity, application or bot protection issues on your servers.
- 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).