A 503 Service Unavailable status code indicates that the server is temporarily unable to handle requests, usually due to maintenance or overload. It is the correct status code to use during planned downtime.
The 503 status code means the server is currently unable to handle the request due to temporary overloading or scheduled maintenance. Unlike a 500 error, a 503 explicitly communicates that the condition is temporary. Servers can include a Retry-After header to indicate when the service is expected to be available again.
The 503 status code is SEO-friendly for temporary downtime because it tells search engines not to deindex the page — just to come back later. Using 503 with a Retry-After header during planned maintenance prevents Google from removing your pages from its index.
When performing server maintenance, configure your server to return 503 responses with a Retry-After header specifying when the site will be back. Search engine crawlers will respect this signal and return after the specified time.
Want to learn more? Explore our SEO Glossary or check out our expert guides on SEO strategies.