In short
The 429 Too Many Requests code asks the client to slow down. Used occasionally, with a Retry-After header, it protects the server. Returned continuously to Googlebot, Bingbot or generative engine crawlers, it slows down crawling of the whole site and ends up pushing pages out of the index. This task consists of measuring the 429s actually served, identifying the layer that produces them, then recalibrating its thresholds based on observed traffic. Expected result: a few isolated 429s for abusive clients, none under normal conditions for the crawlers you let in.
Why it matters
Google treats a 429 as a sign of server overload, in the same way as 5xx errors: its crawlers temporarily slow down crawling. Its documentation on reducing the crawl rate makes three points:
- the slowdown affects the whole hostname, not just the URLs returning 429;
- these codes should only be used for a short period, from a few hours to one or two days;
- if Googlebot receives these codes on the same URL for several days, the URL may be removed from the index.
An “excessive” 429 is therefore a 429 that lasts, or that hits legitimate clients. The usual causes:
- Threshold calibrated for a human: a few pages per minute, whereas a crawler requests dozens in bursts.
- Per-IP limit behind a proxy: without restoring the real address, all visitors share the counter of the CDN's address.
- AI retrieval crawlers: ChatGPT-User, Perplexity-User or Claude-User carry the requests of many users from the same addresses.
- Stacked limits: CDN, server, plugin and application each have their own threshold, and the lowest one wins.
- Host limits that you did not configure.
Setting the limits in full, crawler by crawler, is described in check rate limits (opens in a new tab). This guide covers diagnosing and fixing 429s you have already observed.
What it improves
- Crawling Google and Bing crawl and refresh your pages at a normal pace.
- Indexing You avoid URLs being dropped from the index after repeated 429s.
- Retrieval by AI assistants On-demand reads succeed even during peak traffic. That still does not guarantee citations.
- Visitors Fewer refusals for legitimate clients sharing an address (company, mobile carrier, VPN).
- Rankings No direct effect; the effect comes through crawling and indexing.
How to check
1. Count the 429s by user agent in a combined-format log:
awk -F'"' '{split($3, s, " "); if (s[1] == 429) print $6}' /var/log/nginx/access.log | sort | uniq -c | sort -rn | head -20
Compliant: no line for Googlebot, bingbot and the AI crawlers you let in. Do the same count for the 503 code: by default, Nginx responds with 503 when limit_req rejects a request, and so do many plugins.
2. Track the trend hour by hour:
awk '$9 == 429 {split($4, t, ":"); print substr(t[1], 2) " " t[2] "h"}' /var/log/nginx/access.log | sort | uniq -c
429s concentrated over a few hours point to a spike or an attack; a continuous stream points to a threshold that is too low.
3. Identify the layer that responds:
curl -s -D - -o /tmp/r.html https://example.com/ | grep -i -E "^(HTTP|server|retry-after|x-ratelimit|cf-ray)"
grep -o -i -E "error 1015|rate limit|too many requests" /tmp/r.html | sort -u
| Clue | Source of the 429 |
|---|---|
“Error 1015” page, server: cloudflare |
Cloudflare rate limiting rule |
x-ratelimit-limit and x-ratelimit-remaining headers |
Application (Laravel, API) |
limiting requests, excess line in /var/log/nginx/error.log |
Nginx limit_req |
| 429 with no trace in your origin logs | CDN, WAF or the host's proxy |
4. Search Console. In the Crawl stats report, a sudden drop in the number of requests with no change to the site may reflect a slowdown caused by 429s or 5xx errors. Cross-check with the logs: the report does not always give the exact code.
How to implement
Before you start
Calibrate the threshold on real traffic. Calculate the number of requests for each IP address and each minute, then the percentiles:
awk '{split($4, t, ":"); c[$1 " " substr(t[1], 2) ":" t[2] ":" t[3]]++} END {for (k in c) print c[k]}' /var/log/nginx/access.log \
| sort -n | awk '{v[NR] = $1} END {print "median", v[int(NR * 0.5) + 1], "| 99th percentile", v[int(NR * 0.99) + 1], "| max", v[NR]}'
Set the general limit above the 99th percentile, with a margin (two to three times is a common convention, not a rule), and check that the peaks of verified crawlers stay below it. The maximum often corresponds to an abusive client: do not calibrate on it.
Fix things in this order:
- Restore the client's real address behind a CDN or a proxy.
- Exempt verified crawlers, identified by their IP, or raise their ceiling. See verify crawler identity against official IP ranges (opens in a new tab).
- Keep strict limits for expensive paths: internal search, filters, login, API.
- Allow bursts and add
Retry-Afterto 429 responses. - Reduce the cost per request with a page cache (opens in a new tab), so you can raise the thresholds safely.
Keep a record of every threshold change (date, old and new value, reason) in your incident log (opens in a new tab).
Nginx
Versions Nginx 1.18 and later.
Find the zones that reject requests:
sudo grep "limiting requests" /var/log/nginx/error.log | grep -o 'zone "[^"]*"' | sort | uniq -c
Then check three points in the configuration:
# http context: real address behind Cloudflare (repeat for each published range)
set_real_ip_from 173.245.48.0/20;
real_ip_header CF-Connecting-IP;
limit_req_zone $binary_remote_addr zone=pages:10m rate=10r/s;
limit_req_status 429;
# server block: broad limit on pages, strict on search
location / {
limit_req zone=pages burst=40 nodelay;
try_files $uri $uri/ /index.php?$query_string;
}
location /recherche {
limit_req zone=pages burst=5;
try_files $uri /index.php?$query_string;
}
burstmissing: any burst above the average rate is rejected. This is the most common cause of 429s sent to crawlers.set_real_ip_frommissing behind a CDN: all visitors share the same limit.limit_req_statusmissing: Nginx responds with 503, which muddles the diagnosis.
To exempt verified crawlers and add Retry-After, use the two-zone configuration from check rate limits (opens in a new tab). Reload with sudo nginx -t && sudo systemctl reload nginx.
Apache
Versions Apache 2.4.10 and later, with mod_evasive or mod_qos, and mod_remoteip.
429s and blocks usually come from mod_evasive or mod_qos. Raise DOSPageCount and DOSSiteCount in /etc/apache2/mods-available/evasive.conf if the logs show legitimate visitors being blocked, and shorten DOSBlockingPeriod. Behind a CDN, enable mod_remoteip so that these modules see the real address:
RemoteIPHeader CF-Connecting-IP
RemoteIPTrustedProxy 173.245.48.0/20
Add Retry-After to 429 responses:
Header always set Retry-After "60" "expr=%{REQUEST_STATUS} == 429"
sudo a2enmod remoteip headers && sudo apachectl configtest && sudo systemctl reload apache2
Cloudflare
Versions Cloudflare dashboard, rate limiting rules, all plans, November 2026.
In Security > Analytics, Events tab, filter on the rate limiting service: you see the rule triggered, the paths, the addresses and the user agents affected. Then, in Security > Security rules, edit the rule:
- restrict the expression to expensive paths and exclude verified bots:
(http.request.uri.path contains "/recherche" and not cf.client.bot)
- raise the number of requests or lengthen the period;
- check that the counting characteristic is the IP address, not a shared header.
The code returned by the Block action is 429 by default. The number of rules and the periods available depend on the plan.
AWS
Versions AWS WAF console (rate-based rules) and Amazon API Gateway, November 2026.
In AWS WAF, open the web ACL, then the sampled requests for the rate-based rule. Raise the limit or add a scope-down statement that excludes an IP set of verified crawlers. A rate-based rule blocks with a 403 by default: configure a custom 429 response with a Retry-After header, as in check rate limits (opens in a new tab). Behind a proxy other than CloudFront or an Application Load Balancer, aggregate on the address passed in X-Forwarded-For.
API Gateway also returns 429 when the account's or the usage plan's request limits are reached: raise them if public pages depend on it.
Plesk
Versions Plesk Obsidian 18.0.
Check the limit_req directives in Websites & Domains > Apache & nginx Settings > Additional nginx directives, and the jails in Tools & Settings > IP Address Banning (Fail2Ban), which can ban addresses after a series of refusals. Add the verified crawlers' ranges to the trusted IP addresses.
cPanel
Versions cPanel & WHM 110 and later, Jupiter theme; CloudLinux for resource limits.
Limits are set in WHM (mod_evasive, firewall). On a CloudLinux server, exhausting the account's resources produces 508 or 503 errors instead: check Metrics > Resource Usage if the host enables it, and reduce the load per request with a cache.
Shared hosting
If your logs show 429s you did not configure, the host is applying its own limit. Send support the times, addresses and user agents affected, and ask for the threshold applied and an exception for verified crawlers. On the site side, a page cache and a robots.txt that keeps out useless URLs (opens in a new tab) reduce the number of expensive requests.
WordPress
Versions WordPress 6.4 to 7.1, Wordfence 7 and later.
- Wordfence: in
Wordfence > Firewall > All Firewall Options > Rate Limiting, set how Google's crawlers are treated so that verified crawlers are not rate-limited, and raise the thresholds for crawlers. - Other security plugins: look for the rate limiting, bot detection and “too many 404s” options, which ban crawlers exploring old URLs.
- REST API and search: if a theme or a plugin queries the API on every page, the counters climb fast. Cache those responses.
Laravel
Versions Laravel 10 to 13. Only the trusted proxies declaration changes from Laravel 11 onward.
Check that no throttle is applied to public routes by mistake:
php artisan route:list -v | grep -i throttle
Laravel returns 429 with Retry-After and X-RateLimit-Limit. Keep limiters for the routes that warrant them. A named limiter that exempts verified crawlers is given in check rate limits (opens in a new tab).
Behind a proxy or a CDN, declare the trusted proxies, otherwise every request shares the limit of the proxy's address. Where you do this depends on the version.
Laravel 11 to 13
In bootstrap/app.php:
->withMiddleware(function (Middleware $middleware): void {
$middleware->trustProxies(at: [
'173.245.48.0/20',
]);
})
Laravel 10 and earlier
In app/Http/Middleware/TrustProxies.php, fill in the $proxies property:
protected $proxies = [
'173.245.48.0/20',
];
Common mistakes
- Fixing the threshold without measuring: calibrate on the percentiles of real traffic, not on a value found online.
- Forgetting the burst parameter: a limit without
burstrejects crawlers' grouped requests. - Limiting by IP behind a CDN without restoring the real address.
- Responding with 403 instead of 429: the crawler understands a refusal, not a request for patience.
- Letting it drag on: beyond one to two days, Google may remove URLs from its index.
- Exempting on the user agent: any script can present itself as Googlebot.
- Looking only at 429s: the same limit can produce 503s depending on the layer.
Frequently asked questions
Do 429 errors hurt SEO?
Not directly, but they slow down crawling. Google treats the 429 code as a sign of overload and slows down its crawling across the whole hostname. If it receives 429s on the same URL for several days, it may remove that URL from its index. Occasional 429s over a few minutes have no consequence; a continuous stream sent to search crawlers ends up costing visibility.
Why does Googlebot get 429 errors on my site?
Most often, rate limiting calibrated for human visitors also applies to Googlebot, which requests many pages in bursts from a small number of addresses. A per-IP limit behind a CDN without restoring the real address, or a limit set by the host, are the other common causes. The logs and the CDN's security events show which layer returns the 429.
How can I ask Googlebot to slow down without 429 errors?
Google no longer offers a crawl rate setting in Search Console and ignores the Crawl-delay directive. For temporary overload, its documentation actually recommends returning 429, 500 or 503 for a few hours, without exceeding one or two days. For a lasting solution, reduce the cost of pages with a cache and keep useless URLs out with robots.txt. Bing offers a crawl control setting in Bing Webmaster Tools.
What value should I give the Retry-After header?
The Retry-After header indicates, in seconds or as a date, when the client can try again. For rate limiting, a short value such as 60 seconds works; for overload or maintenance, a duration close to the expected recovery time. Google states that its crawlers may take it into account for 429 and 503 responses. The value does not bind any crawler; it remains a hint.
Resources
- Google: Reduce the Googlebot crawl ratedevelopers.google.com
- Google: How HTTP status codes affect Google's crawlersdevelopers.google.com
- MDN: 429 Too Many Requests and Retry-After headerdeveloper.mozilla.org
- Nginx: limit_req modulenginx.org
- Cloudflare: Rate limiting rule parametersdevelopers.cloudflare.com
- Cloudflare: IP rangescloudflare.com
- Laravel: Rate limitinglaravel.com
Updated on
Topic checklist (PDF)