Response · Response header
Retry-After
How long the client should wait before retrying the request.
What is Retry-After?
The Retry-After response header tells the client how long to wait before making a follow-up request. It is most commonly sent with 429 Too Many Requests (rate limiting) and 503 Service Unavailable (maintenance or overload), and may also appear on 301 / 302 / 307 redirects. The value is either a non-negative number of seconds (a delay) or an absolute HTTP date after which the request may be retried. A well-behaved client reads Retry-After and backs off for exactly that long instead of hammering the server.
Typical usage
Set on 429 and 503 responses so clients back off correctly; optional on some 3xx responses. Prefer a seconds value for rate limiting and an HTTP date for scheduled maintenance windows.
Examples
Retry after 30 seconds (delay-seconds)
Retry-After: 30Retry after a specific date (HTTP-date)
Retry-After: Wed, 21 Oct 2025 07:28:00 GMTRate-limited response
HTTP/1.1 429 Too Many Requests
Retry-After: 60Common gotchas
The two value formats mean different things syntactically but the same thing semantically: 'Retry-After: 120' is a relative delay of 120 seconds, while an HTTP date is an absolute instant. Don't send both. Clients should treat an invalid or past date as 'retry now', and should still apply their own cap so a huge Retry-After can't stall them indefinitely.
Also known as
Also commonly written as: retry-after header · http retry-after · retry after 429 · retry-after 503 · retry-after seconds · http headers retry-after. These variants — including plural forms, unhyphenated spellings, and Japanese (ヘッダ) — all refer to the same Retry-After HTTP header.
Specification
RFC 9110 §10.2.3
Frequently asked questions
What is the Retry-After HTTP header?
The Retry-After response header tells the client how long to wait before making a follow-up request. It is most commonly sent with 429 Too Many Requests (rate limiting) and 503 Service Unavailable (maintenance or overload), and may also appear on 301 / 302 / 307 redirects. The value is either a non-negative number of seconds (a delay) or an absolute HTTP date after which the request may be retried. A well-behaved client reads Retry-After and backs off for exactly that long instead of hammering the server.
Is Retry-After a request or response header?
Retry-After is a response header — the server sends it to the client. Set on 429 and 503 responses so clients back off correctly; optional on some 3xx responses. Prefer a seconds value for rate limiting and an HTTP date for scheduled maintenance windows.
What does a Retry-After header look like?
A typical Retry-After header looks like: Retry-After: 30 (Retry after 30 seconds (delay-seconds)).
What are common mistakes with Retry-After?
The two value formats mean different things syntactically but the same thing semantically: 'Retry-After: 120' is a relative delay of 120 seconds, while an HTTP date is an absolute instant. Don't send both. Clients should treat an invalid or past date as 'retry now', and should still apply their own cap so a huge Retry-After can't stall them indefinitely.