What the status means
In the Sitemaps report, Couldn't fetch is about the file, not the URLs in it. Google's help page puts it plainly: "Google couldn't retrieve the sitemap file itself." So nothing inside the file has been read yet. Checking the XML will not help until the file can be downloaded; fix the fetch first.
Two details from the same page matter before you start. If a fetch fails, Google "will try a few more times, but will eventually stop trying to read that sitemap", so after a fix you should resubmit. And the report only lists sitemaps submitted in Search Console or through the API, not ones Google found through a Sitemap: line in robots.txt.
The five causes Google lists
| Cause | How to check |
|---|---|
| robots.txt blocks the sitemap URL. Google respects robots.txt when it fetches sitemaps. | Test the sitemap's own URL in the robots.txt tester as Googlebot (worked example below). |
| The URL is wrong, so the server answers 404. | Open the exact submitted URL in a private browser window, or run curl on it (below). |
| A general error, for example the server was unavailable. Google says some of these are transient. | Look at the status code and at your server or CDN logs for Google's requests to the sitemap. |
| The site has an unresolved manual action. Sitemaps are not read while it lasts. | Search Console, Security & Manual Actions, Manual actions. |
| Low crawl demand for the sitemap. | Nothing to test; Google ties crawl demand to the quality of the site's content. |
The first two account for most cases you can do something about today, so check them first.
Worked example: a robots.txt that blocks its own sitemap
A shop wanted its product feeds kept out of search and added a rule for every URL that ends in .xml:
User-agent: *
Disallow: /*.xml$
Disallow: /cart/
Sitemap: https://www.example.com/sitemap_index.xml
The rule also matches the sitemap, and every child sitemap the index lists. This is what the robots.txt tester says for Googlebot, run on this exact file:
| Crawler | Result | URL path | Decided by |
|---|---|---|---|
Googlebot | Blocked | /sitemap_index.xml | line 2: Disallow: /*.xml$ |
Googlebot | Blocked | /post-sitemap.xml | line 2: Disallow: /*.xml$ |
Googlebot | Blocked | /feeds/products.xml | line 2: Disallow: /*.xml$ |
On a narrow screen, swipe the table sideways for the other columns.
Note the Sitemap: line. Listing the sitemap in robots.txt does not exempt it from the rules; Google's help page says it "respects robots.txt when fetching sitemaps". The result in Search Console is Couldn't fetch for the submitted index.
The fix is a more specific Allow. Google uses the most specific matching rule, measured by the length of the rule's path, so Allow: /*sitemap*.xml$ (15 characters) beats Disallow: /*.xml$ (7 characters) for sitemap files, while the product feed stays blocked:
User-agent: *
Disallow: /*.xml$
Allow: /*sitemap*.xml$
Disallow: /cart/
Sitemap: https://www.example.com/sitemap_index.xml
| Crawler | Result | URL path | Decided by |
|---|---|---|---|
Googlebot | Allowed | /sitemap_index.xml | line 3: Allow: /*sitemap*.xml$ |
Googlebot | Allowed | /post-sitemap.xml | line 3: Allow: /*sitemap*.xml$ |
Googlebot | Blocked | /feeds/products.xml | line 2: Disallow: /*.xml$ |
On a narrow screen, swipe the table sideways for the other columns.
Wildcard rules like these are where blocked sitemaps usually come from: Disallow: /*.xml$, Disallow: /*? when the sitemap URL has a query string, or a folder rule when the sitemap lives in that folder. Paste your live robots.txt into the tester, set the crawler to Googlebot, and test the sitemap URL and two or three child sitemap URLs.
Google caches robots.txt, generally for up to 24 hours, so a corrected file may not be used at once. The robots.txt report in Search Console shows the version Google last fetched, and lets you request a recrawl of the file after a fix like this one.
Check the URL and the status code
A sitemap URL submitted with a typo, with http instead of https, without www, or at the path an old plugin used, answers 404 or redirects somewhere else. Copy the URL from the Sitemaps report itself, not from memory, and request it:
curl -sIL https://www.example.com/sitemap_index.xml
-I asks for the headers only and -L follows redirects, so you see every hop. Paste the output into the HTTP header checker to get the chain and the final status explained. What you want to see is a final 200 with an XML content type. Some servers answer the HEAD request that -I sends differently from a normal GET; if the result looks odd, run curl -sL -D - -o /dev/null URL, which makes a GET request and prints only the headers.
A 403 or 503 for a URL that opens fine in your browser usually means a firewall, bot-protection service or rate limit treats crawlers differently from people. Your browser test proves nothing in that case. The way to see what Google gets is the next step.
See what Google gets: URL Inspection
Google's own debugging steps for fetch errors are: copy the sitemap URL from the Sitemaps report's details page, paste it into the URL Inspection tool, click Live test, and expand Page availability. You want Crawl allowed? = Yes and Page fetch = Successful. If crawling is not allowed, it is robots.txt (above). If the fetch failed, the reason shown there points at the server.
Check robots.txt itself
robots.txt can stop the fetch even when no rule mentions the sitemap. Google's robots.txt documentation says that if robots.txt answers with a server error (5xx), Google stops crawling the site for the first 12 hours while it keeps retrying, then uses the last good copy for up to 30 days. A robots.txt that times out is treated the same way. A 404 for robots.txt, by contrast, is harmless: Google treats every 4xx except 429 as if there were no robots.txt. Run curl -sI https://www.example.com/robots.txt and make sure it answers 200 or 404.
After the fix
- Confirm the live test now says crawl allowed and fetch successful.
- Resubmit the sitemap in the Sitemaps report.
- Once the status is Success, the XML itself is checked. If it then reports errors, the sitemap errors guide covers the common ones, and the sitemap validator checks the text before you upload it.
A limit of the tools here: they work on text you paste. They cannot fetch your sitemap from your server, and they cannot see what your firewall shows Googlebot. That part only the URL Inspection live test can show.