Back to HTTP Headers
Response

HTTP Retry-After Header

Indicates how long the client should wait before making a follow-up request. Commonly used with 429 Too Many Requests and 503 Service Unavailable.

Purpose

Tells the client when to retry after rate limiting or during server maintenance, preventing unnecessary requests.

Retry-After: <seconds> Retry-After: <http-date> Example: Retry-After: 120 Example: Retry-After: Wed, 20 May 2026 12:00:00 GMT

Code Examples

See how to use the Retry-After header in different tools and languages.

curl -I https://api.example.com/resource
# After rate limit hit:
# HTTP/1.1 429 Too Many Requests
# Retry-After: 60

Related Headers

Test Your APIs

retry-after headerhttp retry-afterhttp headers guide