Developer Tools

HTTP 503 Service Unavailable

5xx Server Error. The server is temporarily unable to handle the request, usually due to maintenance or overload.

Runs in your browser. Your files and text never leave your device - nothing is uploaded.

5xx Server Error

What it means

The server is temporarily unable to handle the request, usually due to maintenance or overload.

PropertyDetail
Status class5xx Server Error
Defined inRFC 9110, Section 15.6.4
Cacheable by defaultOnly with explicit caching headers: a cache stores it when the response carries Cache-Control (max-age, s-maxage or public) or Expires.
Who needs to actThe site owner. Visitors can only wait.

What does HTTP 503 Service Unavailable mean?

HTTP 503 Service Unavailable means the server is temporarily unable to handle the request, usually because of overload or scheduled maintenance, and expects to recover after some delay. It may send a Retry-After header saying when to try again. It is the correct status for planned downtime, because it tells clients and crawlers the outage is temporary.

How 503 Service Unavailable works

A 503 is the 5xx code that explicitly describes a temporary condition. When it comes with Retry-After, that header states how long the service is expected to be unavailable, either in seconds or as an HTTP date. Servers return it deliberately during maintenance, and infrastructure returns it automatically when no healthy backend is available or a queue is full. RFC 9110 adds a caveat: servers are not obliged to send 503 when overloaded and may simply refuse connections, so the absence of a 503 does not prove that a service is healthy.

Example 503 request and response

GET / HTTP/1.1
Host: example.com

HTTP/1.1 503 Service Unavailable
Retry-After: 3600
Content-Type: text/html

Retry-After: 3600 tells browsers, API clients and crawlers that the site expects to be back within an hour.

What causes a 503 Service Unavailable

  • Planned maintenance or a deploy behind a maintenance page.
  • Traffic spikes beyond capacity, or exhausted connection and worker pools.
  • A load balancer with no healthy backends, for example after failed health checks.
  • WordPress showing 'Briefly unavailable for scheduled maintenance' during updates, or after an interrupted update left a .maintenance file behind.

How to fix a 503 Service Unavailable

If you are a visitor

  • Wait and retry later, and check the site's status page or social accounts for maintenance notices.

If you run the site

  • For planned maintenance, return 503 with Retry-After and a lightweight static page.
  • Keep robots.txt returning 200 during maintenance, so crawling of the site is not blocked entirely.
  • For overload, add capacity, enable caching, or shed load on non-critical routes.
  • If WordPress is stuck in maintenance mode, delete the leftover .maintenance file in the site root.
  • If no maintenance is planned, check load balancer health checks and backend status.

503 and SEO

A 503 is the right way to take a site offline briefly. Google slows crawling when it sees 503s, keeps indexed pages for the time being, and speeds up again when the site returns. Its guidance is to use 503 for outages of a day or two; if URLs keep returning 503 for several days, they may be dropped from the index. Never serve 503 for robots.txt, which blocks crawling of the whole site.

Related status codes

Frequently asked questions

Sources

Other 5xx Server Error codes

Reviewed by Raja Jahangir · Last reviewed: October 7, 2026