503 Service Unavailable: Causes and How to Fix It (2026)
A 503 Service Unavailable error means the server is up but can’t handle the request right now, usually because it is overloaded, in maintenance mode, or has no healthy backend to pass the request to. This guide is for site owners who see “503 Service Unavailable”, “HTTP Error 503” or “503 Service Temporarily Unavailable” on their own site, and for visitors who want to know whether it’s on their end. It covers what the code means, how it differs from 500, 502 and 504, the common causes with a fix for each, what a 503 does to SEO, and how to get alerted. Status-code facts were checked against RFC 9110, MDN, Google Search Central and vendor documentation in November 2026.
TL;DR
- A 503 is temporary by definition. RFC 9110 says the server is unable to handle the request “due to a temporary overload or scheduled maintenance”. The server may add a
Retry-Afterheader saying when to try again. - First find out who sent it. Your app, the web server, a load balancer, or a CDN such as Cloudflare can each return a 503. The page body and the logs tell them apart.
- Most common causes: a traffic spike or exhausted workers, a maintenance mode that didn’t switch off (WordPress’s
.maintenancefile), rate limiting that returns 503 instead of 429, and deploys that leave a load balancer with no targets. - SEO is safe for short outages. Google treats a 503 as temporary and slows crawling. URLs that keep returning server errors are eventually dropped, and a 503 on
robots.txtstops crawling of the whole site. - Get alerted before customers tell you: Pulsetic alerts on unexpected status codes and re-checks a failure from other regions before it alerts. Free plan: 10 monitors at 5-minute checks; paid from $9/month.
What 503 Service Unavailable means
RFC 9110, the current HTTP specification, defines 503 like this: the server “is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay.” Two things follow from that:
- The server answered. A 503 is a real HTTP response, so DNS, the network and TLS all worked. That separates it from a timeout or “This site can’t be reached”.
- It’s meant to be temporary. A 503 tells browsers, API clients and search engines to come back later, not that the page is gone.
MDN adds that some applications return 503 on purpose once memory, CPU or connection pool limits are hit, to avoid a worse failure.
The different wordings
The code is always 503. The text next to it depends on the software that produced it:
- “503 Service Unavailable” is the standard reason phrase from RFC 9110. Apache, most apps and most hosts use it.
- “503 Service Temporarily Unavailable” is what nginx sends. Its source code uses that phrase in both the status line and its default error page, so any site behind nginx (including many Kubernetes ingress setups) shows this version.
- “HTTP ERROR 503” is what Chrome shows when the server sends the code with an empty page: the heading reads “This page isn’t working” and the code sits below it.
- “Error 503: service temporarily unavailable” is the heading Cloudflare’s documentation uses for its 503 page.
- “no healthy upstream” is the body Envoy-based proxies send with a 503 when no backend is available.
The Retry-After header
The Retry-After header tells the client how long to wait. Per RFC 9110, with a 503 it “indicates how long the service is expected to be unavailable to the client”. It takes either a number of seconds or an HTTP date:
HTTP/1.1 503 Service Unavailable
Retry-After: 120
Cache-Control: no-store
Content-Type: text/html
Retry-After: 120 means two minutes; Retry-After: Fri, 27 Nov 2026 06:00:00 GMT gives an exact time. MDN recommends the header with an estimated recovery time where possible, a user-friendly page explaining the problem, and care with caching: a 503 shouldn’t usually be cached, or visitors keep seeing the error after the fix. That’s why the example sends Cache-Control: no-store.
503 vs. 500, 502 and 504
All four are 5xx server errors, but they point to different places. The 502 and 504 definitions involve a gateway or proxy, so they tell you the problem is behind your web server or CDN, not in it.
| Code | RFC 9110 meaning | Temporary by design? | Where to look first |
|---|---|---|---|
| 500 Internal Server Error | Server hit “an unexpected condition” | No | Application error log (a crash, a bad deploy, a PHP fatal error) |
| 502 Bad Gateway | A gateway or proxy got “an invalid response” from the server behind it | No | Backend process down or crashing, refused connections |
| 503 Service Unavailable | Server is temporarily unable to handle the request (overload or maintenance) | Yes, may send Retry-After |
Load, workers, maintenance mode, rate limits, load balancer targets |
| 504 Gateway Timeout | A gateway or proxy didn’t get “a timely response” from the server behind it | No | Slow queries, long requests, backend stuck or overloaded |
In practice the same root cause can show up as different codes depending on the stack. If PHP-FPM is down, nginx returns 502 (it can’t connect) and 504 when the backend is too slow; nginx only returns 503 itself for its own limits or when the backend sends a 503. AWS’s Application Load Balancer returns 502 when a target resets the connection, 504 when it times out, and 503 when the target group has no registered targets. The guide on why websites go down covers the other error codes and causes.
Find out who is sending the 503
Before fixing anything, find which layer produced the error. Start with the headers:
curl -sI https://example.com/ | head -20
Look at the status line, Server, Retry-After and any CDN headers. Then check:
- The page body. Cloudflare’s documentation says a 503 whose HTML contains
cloudflareorcloudflare-nginxcame from Cloudflare; one without them came from your origin. - Load balancer metrics. On AWS,
HTTPCode_ELB_5XX_Countcounts errors the load balancer generated andHTTPCode_Target_5XX_Countcounts errors from your servers. - Web server and app logs around the time of the error.
- The origin directly, with
curl --resolve example.com:443:<origin-ip> https://example.com/, to see if the 503 is there too.
Common causes of a 503 and how to fix each
1. Traffic spike or overload
A launch, a newsletter, a viral post or a bot crawling every URL can push the server past what it can handle. Some apps and servers return 503 on purpose at that point. Cloudflare’s docs describe an origin 503 as usually meaning the origin is overloaded, and tell you to check for CPU or memory saturation and an exhausted connection pool.
Fix:
- Check CPU, memory and connection counts on the server and the database during the spike.
- Cache what you can. Full-page caching for anonymous visitors, through a CDN or a caching plugin, takes most requests off the app.
- Find bad bots in the access log and block or rate-limit them at the CDN or firewall.
- Scale up (a bigger plan or server) or out (more instances behind a load balancer). On shared hosting, a 503 under load often means you hit the plan’s process or resource limit; your host’s panel or support can confirm.
2. Maintenance mode left on (including WordPress)
Many platforms switch to a 503 page while they update. That is correct behavior, until maintenance mode doesn’t switch off.
WordPress creates a .maintenance file in the site root during core, plugin and theme updates. While it exists, every page returns a 503 with “Briefly unavailable for scheduled maintenance. Check back in a minute.” and a Retry-After: 600 header, per WordPress core’s source. If an update is interrupted (a closed tab, a timeout, a failed plugin), the file can stay behind.
Fix:
- Delete
.maintenancefrom the WordPress root (the folder withwp-config.php) by SFTP, your host’s file manager orrm .maintenance. Then re-run the update that failed. - WordPress core ignores a
.maintenancefile once its timestamp is 10 minutes old. If the message lasts longer than that, look elsewhere: a maintenance or “coming soon” plugin, a customwp-content/maintenance.phppage, or a CDN or page cache still serving the cached 503. Purge the cache. - For other platforms, check the maintenance switch in the admin, the CLI (for example Laravel’s
php artisan up) or a maintenance flag file in the deploy scripts.
3. App server or PHP-FPM down or out of workers
Behind most sites is an application process: PHP-FPM, a Node or Python app server, a Java container. If it crashes, or every worker is busy, requests can’t be served. Depending on what sits in front, that shows as a 502, 503 or 504.
For PHP-FPM, the classic sign is this line in the FPM log:
WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
That means all workers were busy and new requests had to wait. It’s PHP’s own warning text, from the PHP source.
Fix:
- Restart the service (
sudo systemctl restart php8.3-fpm, or your app’s service) to get the site back, then find out why it stopped. - If the pool is full, raise
pm.max_childrenonly as far as memory allows: roughly free RAM divided by the memory one PHP worker uses. Raising it past that trades a 503 for swapping or the out-of-memory killer. - Look for the slow requests that hold workers: slow database queries, external API calls without timeouts, cron jobs that run through the web server. FPM’s slow log (
request_slowlog_timeout) shows them. - Make sure the service restarts automatically after a crash (for example
Restart=on-failurein systemd).
4. Rate limiting returning 503
Rate limits protect the server, but some return 503 by default. In nginx, the limit_req module rejects requests over the limit with limit_req_status, whose default is 503. So a login page, an API or a search endpoint under a rate limit returns “503 Service Temporarily Unavailable” to clients that send too many requests, even though the server is fine.
That’s misleading. RFC 6585 defines 429 Too Many Requests for rate limiting, and MDN says 429 is the appropriate response when specific clients are restricted. A monitoring tool or search engine seeing 503 thinks the whole site is struggling.
Fix:
- Set
limit_req_status 429;(and send aRetry-Afterheader) so throttled clients get the right code. - Check the limits aren’t too tight for real traffic, such as many users behind one office or mobile carrier IP.
- If your host or CDN applies its own limits, ask them. Cloudflare’s 503 docs suggest asking your hosting provider whether they rate-limit requests to your origin.
5. CDN or proxy origin problem (Cloudflare and load balancers)
When a CDN or load balancer sits in front of the site, the 503 may come from that layer rather than from your server.
Cloudflare. Its documentation splits 503s into cases:
- Unbranded 503 (no
cloudflarein the HTML): your origin sent it, usually because it’s overloaded. Check origin logs for CPU or memory saturation, an exhausted connection pool or maintenance mode, and ask the host about rate limits. - Cloudflare-branded 503: a connectivity problem in a Cloudflare data center. Cloudflare asks you to contact support with the domain, the time and time zone, and the output of
/cdn-cgi/trace, and to check Security > Events for mitigation events. - Workers 503: a Worker exceeded its CPU time or memory limit.
- 503s only in logs or analytics: failed Speed Brain prefetches that visitors never see, which Cloudflare says can be ignored.
Load balancers. An AWS Application Load Balancer returns 503 when its target groups have no registered targets, or all registered targets are in an unused state. That usually means an Auto Scaling group scaled to zero, a deploy deregistered everything, or a listener rule points to the wrong target group. Envoy-based proxies return “no healthy upstream” in the same kind of situation.
Fix: confirm targets or upstreams are registered and passing health checks, and that the health check path returns 200 from the app. If the CDN can’t reach the origin, check the origin firewall allows the CDN’s IP ranges.
6. Deploys
A deploy is one of the most common sources of short 503s: the old process stops before the new one is ready, a container restarts, a migration runs with maintenance mode on, or a load balancer drains every instance at once.
Fix:
- Use rolling or blue-green deploys: start new instances, wait for health checks to pass, then drain and stop the old ones.
- Keep maintenance mode for real migrations, keep it short, and send
Retry-After. - If 503s line up with deploy times, mark deploys on your monitoring timeline so the pattern is obvious.
What to do if you’re a visitor
A 503 is almost always a problem on the website’s side, so there is little to fix on your device. You can:
- Wait and reload. Most 503s last seconds to minutes. If the page shows a time or the site sent
Retry-After, try after that. - Check the site’s status page or social accounts for a maintenance notice.
- Try another network. If the site works on mobile data, a VPN, proxy or company network may be hitting a rate limit.
- Contact the site if it lasts hours, rather than refreshing over and over.
How a 503 affects SEO
A short 503 is the right answer for planned downtime, and Google’s documentation says so.
- Crawling slows down. Google’s page on HTTP status codes says 5xx and 429 errors make its crawlers “temporarily slow down with crawling”, in proportion to how many URLs return errors, and crawling speeds up again once the server returns 2xx.
- Persistent errors remove pages. The same page says Google’s indexing pipeline “removes from the index URLs that persistently return a server error”. Already indexed URLs are kept for a while but eventually dropped. There’s no fixed number of days.
- For planned downtime, use 503 with Retry-After. Google’s guidance on pausing a site says to return an informational error page with a 503 for a short outage (a day or two) and use the
retry-afterheader “with a best effort date or duration”. Its 2011 post on planned downtime adds that Googlebot “may use”Retry-Afterto decide when to recrawl, and warns not to treat 503 as a permanent solution. - Never return 503 for robots.txt. Google’s pausing guide says a 503 on
robots.txt“blocks all crawling”. Per the robots.txt documentation, Google stops crawling the site for the first 12 hours if it can’t fetchrobots.txt, then uses the last good copy for up to 30 days. Exclude/robots.txtfrom maintenance mode. - Don’t use 200, 404 or 410 for downtime. A maintenance page served with 200 can get indexed in place of your content, and Google says 403, 404, 410 and
noindexremove URLs from Search.
For closures longer than a few days, Google suggests a placeholder page returning 200 instead of a long-running 503. Search Console’s Crawl Stats report shows whether Googlebot hit server errors (5XX).
How to get alerted when your site returns a 503
A 503 often comes and goes: a few minutes during a spike, a deploy, or a cron job. Visitors see it and you don’t, unless something checks the site from outside on a schedule. The guide to website downtime cost shows why a few minutes on a checkout page add up.
Pulsetic: status-code alerts confirmed from other regions

Pulsetic checks your URLs on a schedule and alerts on unexpected status codes, so a 503 (or a 500, 502 or 504) counts as down. Each failure is re-checked from other regions before an alert goes out, which filters out a single bad network route. Checks run from up to 15 regions, depending on plan. Features that matter for 503s:
- Keyword monitoring checks the response for text that should or shouldn’t be there. That catches a maintenance page or “Briefly unavailable” message served with a 200.
- Cloudflare allowlisting keeps Pulsetic’s checker IPs on your Cloudflare firewall allowlist, so a WAF or rate-limit rule doesn’t produce a false alert.
- Annotations mark a deploy or config change on the response time chart, which makes deploy-time 503s easy to spot.
- Status pages (3 on Free, unlimited on paid plans) on your own domain. Scheduled maintenance notices, incident updates and subscriber notifications are on paid plans.
Pricing (regular, monthly):
- Free: $0, 10 monitors, 5-minute checks, 3 regions, alerts by email and webhook.
- Solo: $9/month, 10 monitors, 60-second checks, 5 regions.
- Team: $19/month, 50 monitors, 30-second checks, 15 regions.
- Organization: $49/month, 300 monitors, 30-second checks.
Paid plans add SMS and phone call alerts (30 included on Solo), WhatsApp, Slack, Microsoft Teams, Discord, Telegram, Zapier and more. Yearly billing saves two months.
Limitations: the free plan checks every 5 minutes, so a 503 that lasts two minutes can fall between checks. 60-second checks start on Solo. It watches from outside, so it tells you that the site returns 503, not which process ran out of workers; that’s still in your server logs.
UptimeRobot: a larger free plan
UptimeRobot has a free plan for personal and commercial use with 50 monitors at a 5-minute interval, including HTTP, keyword and SSL checks. Faster checks start on paid plans. It’s a reasonable option if you need many free monitors.
For more options, see the roundups of free uptime monitoring tools and the best website monitoring tools. To keep customers informed during a 503, a status page answers “is it just me?” before they open a ticket. If the browser shows a security warning instead of a 503, see the SSL certificate error guide.
FAQ
What does 503 Service Unavailable mean?
The server received the request but can’t handle it right now, usually because it’s overloaded, in maintenance mode, or has no healthy backend. RFC 9110 defines it as a temporary condition, and the server may send a Retry-After header saying when to try again.
How do I fix a 503 error on my website?
Find out which layer sent it (the page body, response headers and logs), then fix that cause: reduce load or add caching, remove a stuck WordPress .maintenance file, restart or resize PHP-FPM or the app server, change rate limits to return 429, or make sure your load balancer has healthy targets.
Is “503 Service Temporarily Unavailable” different from “503 Service Unavailable”?
No. It’s the same status code with different text. nginx uses “Service Temporarily Unavailable” as its reason phrase, while Apache and most apps use the standard “Service Unavailable”. The causes and fixes are the same.
Is a 503 error my fault as a visitor?
Almost never. A 503 comes from the website’s server, CDN or load balancer. Wait a few minutes and reload, check the site’s status page, or try another network if you use a VPN or a shared IP that might be rate-limited.
Does a 503 error hurt SEO?
Not if it’s short. Google treats 503 as temporary and slows crawling, then speeds up once the site returns 200. URLs that keep returning server errors are eventually dropped from the index, and a 503 on robots.txt stops crawling, so keep downtime brief and use Retry-After.
Build your Bootstrap theme
Design a custom Bootstrap 5 theme visually with a live preview, then export clean Sass or CSS.
Open the Builder