HTTP 503 Service Unavailable

Temporary service outages and server overload conditions

What the 503 Status Code Means

The HTTP 503 Service Unavailable status code indicates that the server is currently unable to handle the request due to temporary conditions such as server overload or scheduled maintenance.

Unlike a 500 Internal Server Error, which typically indicates an unexpected server failure, a 503 response usually represents a temporary condition where the service is expected to become available again later.

Common Causes of HTTP 503 Errors

Example of a 503 Response

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

The optional Retry-After header indicates how long clients should wait before attempting the request again.

Typical Infrastructure Scenario

A 503 response often appears in distributed infrastructure when backend services temporarily cannot handle incoming requests.

Client → CDN → Load Balancer → Application Server

If the application servers are overloaded or temporarily offline, the load balancer may return a 503 Service Unavailable response to the client.

How Developers Diagnose 503 Errors

Related HTTP Status Codes

Summary

The HTTP 503 Service Unavailable status code indicates that a server is temporarily unable to process requests due to overload or maintenance conditions.

Because this error typically represents a temporary situation, clients and automated systems often retry requests after a short delay.