503 Service Unavailable

All status codes
5xx · Server errorretryable

503Service Unavailable

The server is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state.

What this code obliges you to do

Retry

Safe to retry

Repeating the same request can succeed, so a client may back off and try again. Honour Retry-After when the response sends one.

Caching

Not cacheable by default

Caches will not store this response unless you send explicit freshness headers saying they may.

Response body

Body allowed

You may return a payload explaining the outcome — for an error, a machine-readable problem document is worth the effort.

What usually causes it

3
1

Planned server maintenance

2

Sudden massive traffic spike overloading CPU

3

Database migrations in progress

Effect on search

Crucial for maintenance. If you use a Retry-After header, Googlebot will pause and return later without deleting your SEO index.

How to send it

1
PHP
header('HTTP/1.1 503 Service Temporarily Unavailable');
header('Retry-After: 3600');

Codes people confuse with this one

2
Class5xx
RetrySafe
CacheNo
BodyAllowed