How to fix a 503 Service Unavailable error
A 503 error means your web server is running but cannot handle the request right now, usually because it is overloaded, in maintenance mode, or a part of it has stopped. Most cases are fixed by restarting the stuck service, removing a leftover maintenance file, or giving the server more resources.
A 503 Service Unavailable error is a message from your web server saying, in effect, "I can't deal with this request at the moment." Visitors see a blank page or a plain message such as "Service Unavailable", "HTTP Error 503", or "The server is temporarily unable to service your request". Some hosts and CDNs show their own branded version. The word "temporarily" matters: unlike a missing page, a 503 is meant to be a short-term condition.
Why a 503 matters
While it lasts, nobody can browse, buy or contact you. Customers who hit an error page rarely wait around, and they may wonder whether your business is still operating.
Search engines treat a 503 as a temporary problem, so a short outage is normally forgiven. If it keeps happening or lasts for days, search engines may crawl your site less often and can eventually drop pages from results. A site that goes down repeatedly also looks unreliable to people who find it.
Common causes
- Overload: too many visitors, aggressive bots or a traffic spike use up the server's available processes or memory.
- Maintenance mode left on: an update starts, fails or is interrupted, and the site stays in maintenance mode.
- A stopped backend service: the web server is up but the part that runs your site (PHP, an application pool, a Node or Java app) has crashed.
- Hosting limits: shared hosting plans cap CPU, memory and simultaneous connections, and a busy site can hit them.
- A faulty plugin, theme or extension: it uses too many resources or crashes the backend.
- Planned server work: your host is rebooting or upgrading the server.
- A firewall or CDN in front of your site: it cannot reach your server and reports a 503 on its behalf.
How to check if your site has it
Start with the free, quick checks:
- Reload the page after a minute. If it comes back, it was a short spike or restart.
- Try another device and a mobile connection, to rule out your own network or browser cache.
- Use a free "is it down" checker such as downforeveryoneorjustme.com to see whether the problem is only on your side.
- Look at your host's status page or any emails from them about maintenance.
- If you are comfortable with a terminal, run
curl -I https://yourdomain.com. The first line shows the status code, and aRetry-Afterheader, if present, says how long the server wants visitors to wait.
If the error comes and goes, you may not catch it by hand. Our guide to website down monitoring explains how to get alerted. Also note that a 503 is different from a 500, which signals a crash or fault in the site itself (see HTTP 500 error).
How to fix it in general
Work from the simplest cause to the hardest:
- Wait a few minutes and retry. Hosts often restart overloaded services on their own.
- Check for maintenance mode. Look for a leftover maintenance file or setting (details below).
- Check resource usage. Your hosting control panel usually shows CPU, memory, processes and connections. If you are at the limit, you need to reduce load or upgrade the plan.
- Turn off recent changes. Disable the last plugin, extension or theme you installed or updated.
- Restart the service. On a VPS or dedicated server, restart the web server and the backend (for example PHP-FPM). On shared hosting, ask support to do it.
- Read the error log. Your host's log (often in the control panel, or
error.logon Apache and nginx) usually names the real cause. - Contact your host. Send them the time the error started and ask whether your account hit a limit or a server was restarted.
Fixes on common platforms
WordPress. After a failed update, the site can be stuck on a .maintenance file in the main WordPress folder. Connect by FTP or your host's file manager and delete it (hidden files may need to be shown). If the error continues, rename wp-content/plugins to something else to disable all plugins, then rename it back and re-enable them one at a time. See the WordPress 503 guide for the full steps.
Magento. A var/.maintenance.flag file puts the store in maintenance mode, so check that it has not been left behind. Also check that PHP and search services are running.
Apache. Look at the error log for limits being reached, such as too many simultaneous workers, and check that the backend (PHP-FPM or a proxy target) is running.
nginx. A 503 often comes from a rate limit or from an upstream service such as PHP-FPM or an application server that is down. Check the nginx error log and restart the upstream.
IIS (Windows). The most common cause is a stopped application pool. Open IIS Manager, look at Application Pools, and start the one your site uses. If it stops again, the Windows Event Viewer usually shows why.
cPanel and shared hosting (including Hostinger). Look for a resource usage or metrics section in the control panel. Menu names depend on the host and version. If you see limits being hit, reduce traffic or plugins, or move to a bigger plan.
How to confirm the fix worked
- Load the home page, a few inner pages and your checkout or contact form, on a different device and network.
- Run
curl -Iagain and confirm you see200(or a normal redirect) rather than503. - Check your host's resource graphs a few hours later to see that usage is back to normal.
- Watch for the error returning over the next few days, since overload problems can come back at busy times.
How to stop it coming back
- Keep WordPress, plugins and other software updated, but run big updates at quiet times and check the site afterward.
- Use caching so the server does less work on every visit. Many hosts and CDNs offer this.
- Block or slow abusive bots with your host's firewall or a CDN.
- Choose a plan that fits your traffic, and upgrade before a known busy period such as a sale.
- Remove plugins and extensions you do not use.
- Set up uptime alerts so you hear about problems before customers do.
If you want this checked on a schedule, week 29 of SiteMonday is an uptime monitoring report that looks at how your site responds and lists what to fix, ranked. Fixing the problems is up to you or your developer.
Step by step for your platform
- 503 service unavailable error on WordPress
- 503 service unavailable error on IIS
- 503 service unavailable error on Apache
- 503 service unavailable error on cPanel
- 503 service unavailable error on Nginx
- 503 service unavailable error on Magento
- 503 service unavailable error on Hostinger
Questions
What does a 503 Service Unavailable error mean?
It means the server received your request but cannot handle it right now. The cause is usually overload, maintenance mode or a stopped backend service.
Is a 503 error my fault or my host's?
It can be either. A host-side restart or server problem is common, but a heavy plugin, a traffic spike or a failed update on your site can also cause it.
Will a 503 error hurt my Google rankings?
A short outage normally will not, because search engines treat 503 as temporary. If it lasts for days or keeps repeating, pages can be crawled less and may drop from results.
How long does a 503 error last?
It can clear in a minute or two after a restart or traffic spike. If it lasts more than 15 to 30 minutes, check maintenance mode and resource limits, then contact your host.
What is the difference between a 503 and a 500 error?
A 503 says the server is temporarily unable to respond, often from overload or maintenance. A 500 says something went wrong inside the site or server, such as a code or configuration fault.
Can I show visitors a friendly message during planned maintenance?
Yes. A proper maintenance page should return a 503 status, ideally with a Retry-After header, so search engines know the downtime is temporary.