How Long Does a Robots.txt Change Take? Cache, Refetch and Indexing Checks
If you have just changed your robots.txt file, the honest answer is that there is no guaranteed deadline. Google generally caches robots.txt for up to 24 hours, but that is not a promise that a new rule, or a search-result change, will take effect within a day. In practice the file you edited, the file the public serves, the copy Google has fetched, and the indexing status of a page are four separate things, and confusing them is what turns a small change into a week of guessing.
Step one: confirm the public file has actually changed
Download the current file, save a rollback copy, and edit it as UTF-8 plain text. Check the intended crawler groups and a few representative allowed and blocked URLs locally. Google's open-source robots.txt parser can be built for local tests, and it is worth it: the Search Console report is a monitoring tool, not an upload-before-publishing editor.
Upload to the root of the correct host. Robots rules are scoped to protocol, host and port, so a file on a www host does not automatically govern the apex host, another subdomain, or HTTP. Refresh the relevant CDN cache if necessary, then fetch the public robots.txt and compare its bytes or hash with the file you intended to publish. Checking only the origin does not establish what Google receives.
Step two: Google's cache has its own refresh cycle
The robots specification describes a usual cache lifetime of up to 24 hours, with longer reuse possible after timeouts or server errors, and it also says Google may increase or decrease that lifetime based on the max-age response header. Purging a CDN does not clear Google's copy. In other words, the two caches are independent: you can remove a stale edge response and still be served yesterday's rules to the crawler for up to a day.
For an urgent correction, Google's update instructions point to a request-a-recrawl option inside the robots.txt report. That requests a faster fetch; it is not a promised instant refresh. The report is available for Domain properties and for host-level URL-prefix properties without a path, subject to your account access.
Step three: read the response status
- 2xx: the file supplied by the server is processed.
- 3xx: Google follows at least five redirect hops, and an unresolved chain is then treated as a missing robots.txt, that is, as a 404.
- 4xx other than 429: the file is treated as absent and no crawl restrictions are assumed. A 401 or a 403 is not a crawl-rate control.
- 5xx: the file is treated as a server error, and the behaviour differs from a successful fetch, which is why an outage looks like a rule change if you only look at your rankings.
Invalid encoding or malformed lines are separate problems again. Google ignores content after 500 KiB, so put essential controls inside a valid, maintainable file instead of relying on truncated lines. And if you are deploying a whole-site block, test a matching Disallow rule deliberately before you ship it, against the actual crawler group rather than the wildcard group. Google does not support crawl-delay or a noindex directive inside robots.txt.
Step four: close the loop with observable evidence
Confirm that the public response has the intended content and status. In the robots.txt report, inspect the fetched version, the last fetch time and any errors, and request a recrawl where appropriate. Use URL Inspection for the affected page's current availability and, separately, its indexed information: a page that is live and reachable is not thereby indexed, and the reverse also holds.
Review server logs for actual subsequent fetches. Allowing a URL does not force an immediate request, so an absence of new crawl activity is not proof that the file was ignored.
The full sequence, including how to separate a file-level change from a page-level rule and what to check when a sitemap becomes unreadable, is set out in the companion guide on how long a robots.txt change takes to take effect, including cache, refetch and indexing checks. That guide reproduces Google's own documentation on the caching rules and keeps the checks separate on purpose, because a change that is cached, a change that is fetched and a change that is indexed are three different events with three different pieces of evidence.