Get Google to fetch your sitemap

Couldn't fetch in Search Console's Sitemaps report means Google couldn't retrieve the sitemap file at all, so that attempt read no URLs from it. Google lists the usual reasons: a robots.txt rule that blocks the file, a wrong address that returns 404, an unresolved manual action, a server error, or low crawl demand for the sitemap. Test the address the way Google fetches it, remove what blocks it and resubmit.

Why Google couldn't fetch your sitemap

  • A robots.txt rule blocks the file

    Google respects robots.txt when it fetches sitemaps, so a Disallow rule that covers the sitemap's path stops it. Remove that rule.

  • The address is wrong

    The sitemap URL returns 404. Submit the exact address the file loads from.

  • A login or firewall is in the way

    Googlebot has to reach the sitemap without a login. Bot protection or a firewall that blocks Googlebot blocks the sitemap too.

  • The server failed

    A timeout or a server that isn't available can stop the fetch. Some of these errors are temporary, so check whether later attempts still fail.

  • The site has a manual action

    Google doesn't read sitemaps while a site has an unresolved manual action. Fix the issue in the Manual actions report, then resubmit.

  • Crawl demand for the sitemap is low

    Google lists low crawl demand as a reason too, and says the higher the quality of a site's content, the higher the crawl demand.

Google lists these reasons in its Sitemaps report guide, and the Page indexing report guide explains how firewalls and protection systems can end up blocking Googlebot.

Couldn't fetch, could not be read and has errors

  • Couldn't fetch is the status in the list of sitemaps. Open the sitemap and its details page says Sitemap could not be read, with the reason under it. Last read shows when Google last fetched the file and stays empty if it never has. Has errors is different: Google fetched the file and found problems inside it, which the sitemap guide's error table covers.

  • Google retries a failed fetch for a few days, then stops. A failure doesn't make Google forget what it learned from an earlier read of the sitemap. The report shows only sitemaps submitted through it or the API, so a sitemap Google found through robots.txt never shows this status. Google's Sitemaps report guide explains the schedule.

Check the sitemap address from the command line

# Print the status code, and where the address redirects if it does
curl -sS -o /dev/null -w '%{http_code} %{redirect_url}\n' https://yoursite.com/sitemap.xml

# Show the robots.txt rules that could cover the sitemap's path
curl -sS https://yoursite.com/robots.txt | grep -iE '^(user-agent|allow|disallow|sitemap)'

How to fix sitemap couldn't fetch

  1. Inspect the sitemap URLPaste the sitemap's address into URL Inspection and run a live test. Under page availability, Crawl allowed? should say Yes and Page fetch should say Successful. If either fails, the reason it gives is what to fix.
  2. Check what the address returnsRun the commands above. A 200 means the server sends the file. A 404, a 5xx or a redirect to a login page means Google can't fetch it either. If the address redirects to the sitemap, submit the final address instead.
  3. Remove what blocks GooglebotDelete any robots.txt rule that covers the sitemap, take the file out from behind a login, and make sure your firewall or bot protection lets verified Google crawlers through.
  4. Check for a manual actionOpen the Manual actions report. If it lists one, fix the issue before you resubmit, since Google won't read the sitemap until then.
  5. Resubmit the sitemapSubmit the sitemap again in the Sitemaps report once the live test passes, using the final address if the old one redirected, and Google tries to fetch it right away. Submitting needs owner permissions; without them, list the sitemap in robots.txt instead.

Frequently asked questions

Why does a new sitemap show couldn't fetch?

Start with a live test of the sitemap URL in URL Inspection. If it passes and the report still says Couldn't fetch, Google's other listed reasons are an unresolved manual action, a server error that may be temporary, and low crawl demand for the sitemap, which Google ties to the quality of the site's content. Google retries a failed fetch for a few days, so resubmit if it's still failing after that. The Sitemaps report guide lists the reasons.

Does couldn't fetch stop Google from indexing my pages?

Not on its own. Google also finds pages through links, and it keeps what it learned from any earlier read of the sitemap. A sitemap that never loads does slow the discovery of pages few links point to, so fix it, and check your most important pages with URL Inspection meanwhile. The Page indexing report guide explains how Google finds pages.

Should I delete the sitemap and submit it again?

It won't help. Removing a sitemap from the report doesn't make Google forget the sitemap or the URLs in it. Fix the cause, then resubmit the sitemap. The Sitemaps report guide covers removing a sitemap.