A 503 Service Unavailable error in WordPress means the server is up but refusing to handle requests right now. It traces back to one of 6 causes, and two of them cover most cases: an update that left the site stuck in maintenance mode, or a server that’s run out of free PHP workers. Both are fixable in minutes once you know which one it is.
The tricky part is that a 503 can come from five different places. WordPress sends one during updates. Your web server sends one when PHP can’t take more work. A rate limiter or firewall sends one when it thinks you’re under attack. Your CDN or your host can send one too. The page looks almost the same every time, so the fix depends on working out who’s talking.
This guide walks through how to tell them apart, what to fix for each, and how to keep a 503 from hurting your rankings while you work on it.
Key Takeaways
- Check who sent it: The wording of the 503 page and the response headers usually tell you whether WordPress, the server or the CDN produced it.
- Stuck updates are the easy case: Deleting the .maintenance file in the site root fixes “Briefly unavailable for scheduled maintenance” right away.
- Recurring 503s mean capacity: Most 503s that keep coming back trace to maxed-out PHP workers or heavy plugins. Bot floods are the other usual suspect.
- Short outages won’t hurt SEO: Google treats a 503 as temporary, but days of them slow crawling and can drop pages from the index.
What Does a 503 Error Mean?
A 503 is an HTTP status code. It tells the browser, and Google, that the service is temporarily unavailable and should be tried again later. The server can even suggest when with a Retry-After header, measured in seconds.
That “temporary” part is what separates it from its neighbours. A 500 says something broke. A 503 says “I’m here, I’m just not taking this request right now”, which is why it shows up during updates and overload, and why it’s the right code for planned downtime.
| Code | What It Usually Means in WordPress | Typical Sender |
|---|---|---|
| 500 Internal Server Error | PHP fatal error, broken .htaccess | Web server or PHP |
| 502 Bad Gateway | PHP-FPM crashed or isn’t running | Nginx or a proxy |
| 503 Service Unavailable | Maintenance mode, no free PHP workers, rate limiting | WordPress, web server, firewall, CDN |
| 504 Gateway Timeout | A slow request ran past the time limit | Nginx, load balancer or CDN |
| 508 Resource Limit Is Reached | Shared hosting account hit its process limit | CloudLinux on shared hosts |
If you’re seeing a mix of 502, 503 or 504 errors on the same site, it’s almost always one capacity problem showing up three ways. Don’t treat them as separate bugs.
Who Sent This 503?
Before you deactivate a single plugin, look at the error page itself. Ten seconds here saves a lot of blind trial and error.
- “Briefly unavailable for scheduled maintenance. Check back in a minute.”: That’s WordPress core, and it’s the stuck-update case.
- A plain white page saying “Service Unavailable” with an Apache or Nginx footer: The web server couldn’t hand the request to PHP. Think workers or limits.
- A branded page from Cloudflare or another CDN: It may be the CDN or your origin server. Check whether the page says the origin returned the error, and note the Ray ID.
- Host branding: Only they can lift it.
- Only on wp-login.php or xmlrpc.php: A rate limit.
You can also check the headers. In Chrome DevTools, open the Network tab, reload, click the first request and read the response headers. A server header of cloudflare, a Retry-After of 600 or a security plugin’s custom header each point somewhere specific.
Stuck in Maintenance Mode After an Update
This is the most common 503 and the easiest to fix. When WordPress updates core, a plugin or a theme, it creates a hidden file called .maintenance in the site root. While that file exists, every visitor gets the “Briefly unavailable” message with a 503 status and a Retry-After of 600 seconds. When the update finishes, WordPress deletes the file.
If the update times out, the browser tab gets closed or a bulk update of 15 plugins runs out of memory, the file stays behind. WordPress core actually ignores a .maintenance file older than 10 minutes, but the update that failed can leave the site half-updated anyway, and some setups keep showing the message from cache.
Fixing it takes a minute. Connect with SFTP or your host’s file manager, turn on “show hidden files”, and delete .maintenance from the folder that contains wp-config.php. Then reload the site.
Now check what the failed update left behind. Go to Plugins and look for anything that’s deactivated or shows an old version, then update those one at a time. If the site throws a different error after the file’s gone, you’re dealing with a broken update rather than a stuck one. Our guide to updating WordPress plugins safely covers how to avoid this the next time, including testing on staging first.
One related detail: if you’ve created a custom wp-content/maintenance.php file, WordPress shows that page instead of its default message. That’s handy for branding, but it means the “Briefly unavailable” wording won’t appear, so don’t rule out a stuck update just because the text looks different.
Out of PHP Workers or Server Resources
When the 503 comes and goes, especially at busy times, the server is usually running out of capacity.
On most modern hosts, WordPress runs through PHP-FPM, which keeps a fixed pool of PHP processes (often called workers) ready to handle requests. Each uncached page view needs one worker, and so does every admin click or AJAX call, for as long as it takes to finish.
The size of that pool is set by pm.max_children in the PHP-FPM pool config, which the PHP-FPM configuration docs describe as the maximum number of child processes. On a stock install it’s often just 5. If 5 slow requests are already running, the 6th waits in a queue. When the queue fills up or the wait gets too long, the web server gives up and returns a 503 (Apache commonly) or a 502 or 504 (Nginx commonly).
The PHP-FPM log tells you if this is happening. Look for a line like this:
WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
If you see it, you have two levers. You can raise pm.max_children, but only as far as RAM allows: each worker holds its own slice of memory, and on a site with a page builder and WooCommerce that slice is large, so a 2 GB server can’t sensibly run dozens of them. Or you can make each request finish faster, which frees workers sooner. The second lever is usually the better one.
What makes requests slow enough to exhaust workers? Uncached pages, slow database queries, a plugin calling an external API on every page load, and WooCommerce cart fragments firing on pages that don’t need them. Our guide on how to speed up a WordPress website goes through those fixes one by one.
On shared hosting, the same problem shows up as a 503 or a 508 Resource Limit Is Reached, because the host caps how many processes your account can run at once. You can’t raise that cap yourself. If it happens every week, the site has simply outgrown the plan, and our comparison of managed vs shared WordPress hosting explains what changes when you move.
A Plugin, Theme or the Heartbeat API
Sometimes one piece of code is the whole problem. A plugin that runs an expensive query on every request, a theme function stuck in a loop, or a backup job that starts at noon can tie up every worker by itself. The classic test still works.
- Deactivate all plugins: If you can’t reach wp-admin, rename wp-content/plugins to plugins-off over SFTP, or run
wp plugin deactivate --allwith WP-CLI. - Reload the site: Gone? Rename the folder back and turn plugins on one at a time.
- Switch to a default theme:
wp theme activate twentytwentyfivedoes it in one line. - Limit the Heartbeat API: It sends an admin-ajax request every 15 seconds while someone has the editor open. Five editors working at once on a small server can eat a worker each.
- Check scheduled jobs: A backup at noon competes with real visitors.
Turn on debug logging while you test. The WordPress debugging guide shows the wp-config.php lines for WP_DEBUG_LOG, and the log usually names the plugin file that’s timing out or running out of memory.
Found the culprit? Look for an update first, then a lighter alternative. Raising the memory limit can hide a heavy plugin for a while, as our post on the WordPress memory limit explains, but it won’t stop it from hogging workers.
Bots and Rate Limits
Not every request hitting your site is a person. On plenty of small business sites, bot traffic outnumbers humans on most days. Brute-force bots on wp-login.php, pingback abuse on xmlrpc.php, aggressive SEO crawlers and AI scrapers can easily outnumber real visitors. Every one of those requests needs a PHP worker, so a busy bot can cause a 503 for everyone else.
Then there’s the flip side. Rate limiters exist to stop exactly that, and they often answer with a 503 themselves. Nginx is a good example: its limit_req module returns 503 by default for rejected requests unless someone changes it to 429. So a 503 can mean “the server is overloaded” or “the server decided you’re sending too much”.
Those need opposite fixes.
Read the access log for the minutes around the error. If one IP or one user agent is behind hundreds of requests a minute, block it at the firewall or CDN, not inside WordPress, because a WordPress security plugin still needs PHP to say no. If real visitors are getting rate-limited (a sale, an email blast, a post going viral), the limits are too tight for your traffic and need loosening, together with better page caching so fewer requests reach PHP at all.
What a 503 Does to Your SEO
A short 503 is the right signal to send Google. Google’s documentation on HTTP status codes and network errors says 5xx and 429 errors make its crawlers slow down temporarily, and indexed URLs are kept at first. Once the server answers normally again, the crawl rate gradually goes back up.
The risk comes with time. The same page says URLs that persistently return a server error are eventually dropped from the index. Google’s advice on pausing a site puts it in practical terms: a 503 is fine if you urgently need to take the site down for 1 to 2 days, and the whole-site approach should only last a few days at most. While it’s in place, Google can’t refresh your titles, descriptions or structured data either.
Here’s roughly how the length of an outage maps to what Google does, based on those two documents.
| How Long the 503 Lasts | What Google Does | What to Do |
|---|---|---|
| Minutes to a few hours | Retries later, crawls a little slower | Fix the cause, nothing else needed |
| 1 to 2 days | Slows crawling, keeps pages indexed | Fine for urgent planned work |
| Several days or more | May start dropping URLs that keep failing | Bring the site back with limited features |
| Recurring every day | Crawls the whole site more slowly | Fix capacity, then watch Search Console |
So for planned work, the correct setup looks like this:
- Return a real 503: Not a 200 page that says “we’ll be back”, which Google might index as your homepage.
- Add Retry-After: WordPress sends it for core updates, and a good maintenance plugin sends it too. If yours doesn’t, check its settings or swap it for one that does, because without the header Google has to guess when to come back.
- Keep it short: Hours, not days. If work runs longer, put the site back up with limited features.
- Don’t block Googlebot: Leave robots.txt alone during the outage so it sees the 503.
Unplanned 503s that last minutes won’t move your rankings. A site that throws them every afternoon for a month is a different story, because Googlebot keeps crawling more slowly and new pages take longer to get picked up.
A Quick Decision Path for Any 503
When the error appears and you don’t know where to start, work through these in order. Most sites get their answer by step 3.
- Read the error page. “Briefly unavailable” means delete .maintenance. A CDN page means check whether the origin is the source.
- Check whether it’s everyone or just you. Try a phone on mobile data. If only your IP gets it, a firewall or rate limit has flagged you.
- Open the server error log and PHP-FPM log. Look for max_children warnings or memory errors, and note any plugin file that keeps appearing.
- Look at the access log. A flood from a few IPs points to bots. A flood from many real visitors points to capacity.
- Disable plugins, then the theme. Only after the logs, because they often name the culprit and save you this step.
- Ask the host. If the 503 page is theirs, or the server itself is restarting, they’re the only ones who can see why.
Keep notes as you go. It sounds fussy, but a recurring 503 almost always has a pattern (same hour, same plugin, same bot), and you’ll only see it if you wrote down what you found the first time.
How Webueno Handles 503 Errors
At Webueno, we start with the question this guide keeps coming back to: who sent the 503? Our WordPress troubleshooting team reads the server logs and the PHP log to find the root cause, then fixes it and tests the site before closing the ticket. Server-related troubleshooting is part of the service, and so are fixes after updates break something.
Knowing about the error quickly matters as much as fixing it. Our uptime monitoring add-on checks each site every 3 minutes and alerts you and our support team after 3 failed checks, so a stuck update at 2 AM doesn’t sit there until the morning. You can read more about how that works in our guide to WordPress uptime monitoring.
For sites that keep hitting capacity limits, our managed WordPress hosting runs on DigitalOcean VPS servers with optimized PHP workers, server-level caching and Redis object caching, and you can add CPU and RAM with zero downtime instead of migrating. Plans start at $12 a month. To keep bots from eating workers, The Gatekeeper stops bad requests at the server before they reach PHP. On one site it stopped 33.9% of all requests before PHP ever ran.
Work is billed in credits: 1 credit is 1 hour at $42, with bundles up to 21% off and no contracts. Agencies can resell all of it white-label under their own brand.
Get Your Site Back Online
Most 503s look scarier than they are. Delete a leftover .maintenance file, find the plugin that’s hogging PHP workers or block the bot that’s flooding wp-login.php, and the site comes back. The ones worth worrying about are the 503s that keep returning, because they’re telling you the site needs more capacity or less waste.
If you’d rather hand it to someone who reads server logs every day, create your Webueno account and open a troubleshooting ticket. We’ll find the source of the 503 and fix it. You’ll see exactly what we changed.
Frequently Asked Questions
These are the questions site owners ask most when a 503 shows up on a WordPress site.
How Long Does a 503 Error Last?
A 503 from a WordPress update usually clears within a minute or two. If it lasts longer, the update got stuck, and deleting the .maintenance file fixes it. Capacity-related 503s last as long as the overload does.
Can a Plugin Cause a 503 Error?
Yes. A plugin running slow queries or external API calls on every page can tie up all PHP workers. Deactivating plugins one by one, or reading the PHP error log, shows which one it is.
Is a 503 Error My Fault or My Host’s?
It can be either. Maintenance mode and plugins are on the site side, and so is most bot traffic. Account resource limits and server restarts are on the host’s side, and the error page often shows whose it is.
Does a 503 Error Hurt SEO?
Not if it’s short. Google treats 503 as temporary and slows crawling, then recovers. A 503 that lasts several days, or keeps coming back, can get pages dropped from the index.
What’s the Difference Between 503 and 504?
A 503 means the server refused the request because it’s busy or in maintenance. A 504 means a gateway waited for PHP and gave up because the response took too long.
Should I Use 503 for Planned Maintenance?
Yes. A 503 with a Retry-After header tells Google to come back later without dropping your pages. Keep the window to hours, not days.