A 503 error means the server is up but not ready to handle the request, usually because of maintenance or overload. A short 503 does little harm to SEO, because Google slows its crawling and tries again. A 503 that lasts for days can get pages dropped from the index.
What does a 503 Service Unavailable error mean?
HTTP status codes are three-digit replies a server sends with every page. Codes starting with 5 are server errors. MDN, the web documentation maintained by Mozilla, defines 503 as a response that "indicates that the server is not ready to handle the request." It adds that common causes are a server that is "down for maintenance or overloaded."
The key word is temporary. A 503 tells browsers and crawlers: this is not the page's permanent state, come back later. That makes it different from a 404, which says the page is gone. If you want the difference spelled out, see what a 404 error is.
Why do 503 errors happen?
- Planned maintenance. You deploy an update or move a database and the site returns a 503 page while it runs.
- Traffic spikes. A post goes viral, a crawler hits you hard, or a campaign lands. MDN notes that some applications reject requests with a 503 when limits on memory, CPU or connections are reached. That protects the server from falling over completely.
- A crashed or stuck app process. The web server is running, but the app behind it is not answering. This is common on small hosting plans and with PHP or Node apps that run out of workers.
- A failing plugin or script. On a CMS such as WordPress, one slow plugin can tie up every worker and make the whole site return 503.
- A host or CDN limit. Shared hosts cap resources per account. A content delivery network (CDN) can also return 503 when it cannot reach your origin server.
Does a 503 error hurt SEO?
It depends on how long it lasts. Google's documentation on HTTP status codes and network errors describes the sequence:
- Google's crawlers "temporarily slow down" when they see 5xx errors. The slowdown is proportionate to the number of URLs returning errors.
- Once the server returns a successful response again, Google "gradually increases the crawl rate for the site."
- URLs that "persistently return a server error" are eventually dropped from the index.
Google gives no exact number of days for step three, so do not plan around one. Treat a 503 that has lasted more than a day as an incident, not as routine maintenance.
In practice, a few minutes of 503 during a deploy is harmless. An outage that repeats every day can slow how fast new pages are picked up, which matters most on larger sites. For how Google decides how much to crawl, see what crawl budget is.
How should you serve a 503 during planned downtime?
If you have to take the site offline, return a real 503, not a normal page. Google's older advice on planned site downtime says it is better to return a 503 than a 404 or a page with a 200 status. It warns that a "Under Construction" page sent with 200 can get indexed in place of your real content. That article carries a notice saying it is outdated, so treat it as background on the principle, not as the final word.
Three rules follow:
- Use 503, not 200 and not 404. A 200 says the error page is the content. A 404 says the page is gone.
- Add a Retry-After header. It tells clients how long to wait, in seconds or as a date. MDN says it should hold the estimated time for recovery "if possible." Google's article says Googlebot may use it to decide when to recrawl.
- Keep it short. Google warns that long-lasting 503 responses can lead it to treat the server as permanently unavailable, which can result in URLs being removed from the index.
An example response looks like this:
HTTP/1.1 503 Service UnavailableRetry-After: 3600
MDN also advises sending a friendly page that explains the problem, so human visitors are not left with a blank screen.
How do you fix an unplanned 503 error?
Work from the outside in.
- Confirm it is real and sitewide. Load the URL in a private window, then try another page. If only one page fails, the problem is likely that page's code or query.
- Check your host's status page and dashboard. Look for resource limits, a suspended account or a maintenance window.
- Read the server error log. It usually names the cause: out of memory, no free workers, a database that refused connections.
- Disable recent changes. Turn off the plugin, theme or deploy you changed last, then reload.
- Restart the app process or clear the cache. This often clears a stuck worker, but it does not tell you why it got stuck, so go back to the log.
- Add capacity or caching. If traffic caused it, caching pages at a CDN or raising the resource limit stops it recurring.
What is the difference between 503, 500 and 429?
| Code | Meaning | Typical cause |
|---|---|---|
| 500 Internal Server Error | The server hit an unexpected problem | A bug or misconfiguration |
| 503 Service Unavailable | Not ready right now, try later | Maintenance or overload |
| 429 Too Many Requests | This client is sending too many requests | Rate limiting a specific client |
MDN says that for client-specific throttling the right response is 429, not 503. Google's documentation says a 429 tells its crawlers the server is overloaded, and it handles 5xx and 429 by slowing down.
How do you check that Google has recovered?
After the site is back, test a few key URLs with the URL Inspection tool in Search Console, and look at the crawl stats report for the dip and recovery. If pages were dropped, the steps in how to check if a page is indexed show you how to confirm and request a recrawl. Also check that your robots.txt file loads normally, since a server error on that file affects crawling of the whole site.
Frequently Asked Questions
Is a 503 error my fault or the visitor's?
It is on the server side. Nothing the visitor does will fix it, other than waiting and retrying. The site owner or host has to resolve it.
How long can a site return 503 before Google drops pages?
Google does not publish a number. It says URLs that persistently return server errors are eventually dropped, so aim to restore service within hours and treat anything over a day as urgent.
Should I use a 503 or a redirect during maintenance?
Use a 503 for short, temporary downtime. A redirect tells search engines the content moved, which is not true, and it can confuse indexing.
Will Google index my maintenance page?
Only if the page is served with a 200 status. Served with a 503 it is treated as a temporary state, not as your content.
Can a crawler cause a 503 on my site?
Yes. Heavy crawling can use up workers on a small server. The fix is more capacity or caching, and Google slows its own crawling when it sees server errors.