Published

Worked example

Should your 503 responses give Retry-After in seconds or as a date?

To request a two-minute pause from receipt, use 120 as the Retry-After value. A GMT date works when you want to name a specific reopening time. In our simulation, a client whose clock runs three minutes fast treats that time as already past.

Simulation · For the same deadline, the calculated wait is 120 or 0 seconds depending on the client clock.
Announcement dated See the results

01Announcement analysis

A clock three minutes ahead reduces the wait calculated from the date to zero

Local simulation · Synthetic data · 5 December 2026

Two simulated clients receive the same 503 response at the same instant. One clock reads 12:00 UTC on 1 January 2026 and the other reads 12:03. We vary the Retry-After value. An integer starts a countdown on receipt. For a date, the script subtracts the client’s time from the specified time and sets any negative result to zero. The ∅ symbol marks a rejected value.

Client clockRetry-AfterCalculated wait
12:00 UTC120120 s
12:00 UTCThu, 01 Jan 2026 12:02:00 GMT120 s
12:00 UTC-5∅
12:03 UTC120120 s
12:03 UTCThu, 01 Jan 2026 12:02:00 GMT0 s
12:03 UTC-5∅

With a value of 120, both clients calculate a 120-second wait. With a retry time of 12:02 GMT, the first still gets 120 seconds. The second sees a deadline that passed one minute ago. Both reject the negative value −5.

Link to these results

02On your site

How can you check your site?

Check on your site

During planned downtime, check a normally accessible URL with a GET request, for example curl -sS -D - -o /dev/null "$URL". Record the UTC time, status and any Date and Retry-After headers. Compare the public response with what you configured on the server and CDN. Check again when service resumes.

Expected result

If you advertise a delay, check that a single readable value gives the remaining wait or the reopening time. Once service resumes, the page should serve its usual content again. To track Googlebot, verify its identity in your logs. The time of its next request alone cannot prove that it followed the hint.

03Decisions

What should you do?

Maintenance makes the page temporarily unavailable
Use 503 for this interruption. If the duration is known, you can give the remaining seconds, for example 7200 for two hours. Update the value on each response and check that the CDN stops serving the error when the page returns. For emergency crawl reduction, Google recommends a window of a few hours, one or two days at most. Persistent errors on a URL can cause it to drop out of the index.
Service resumes at a fixed time
You can send the reopening time in GMT. Check the server clock and the Date header for consistency. If client clock skew is a concern, calculate the remaining delay on the server instead.
You see 429 or 500 responses
A 429 indicates rate limiting. If it is intentional, check which requests it affects and any advertised delay. Investigate an unexpected 500 as a server error. Choose the status that describes the actual condition.
The value is empty, negative or malformed
Fix the rule that generates the header. If the duration is unknown, you can omit this optional hint.

04Reproduce the test

Reproduce the experiment

Download the script and run this command in its folder with Python 3.9 or later. It reproduces the table offline from synthetic inputs.

Download the Python script ↓
python3 retry-after-demo.py retry-after
View raw results (JSON)

05Sources

What the source says

On 6 October 2026, Google added Retry-After examples to its crawl rate guide. Its changelog says support already existed. The header is optional with 503 or 429. RFC 9110 describes both formats. RFC 6585 defines 429. Google says a high volume of 500, 503 or 429 responses can slow crawling across the host, even for pages that still respond normally.

Google clarifies Retry-After in its crawl-rate reduction guide ↗ · 6 October 2026

Verified document · developers.google.com ↗ SHA-256 · d5dc225bcae9c8c0c974e81148e887850006ceb5a740e0484788dae6bbfdade6

TSEP · Written with AI assistance. Results come from the simulation described here. No signed human review.