You submitted your sitemap in Google Search Console and the status says "Couldn't fetch". Google tried to download the file and failed, so it has not read a single URL in it. The good news is that the cause is nearly always visible if you request the file the way a crawler does. This post gives a checklist that goes from the most common cause to the rarest, using our free XML Sitemap Validator and a couple of related tools.
"Couldn't fetch" is not the same as "Has errors". With Has errors, Google read the file and disliked something inside it. With Couldn't fetch, the file never arrived in a usable form.
Step 1: open the exact address you submitted
Copy the sitemap address from the Sitemaps page in Search Console, including http or https, www or not, and the exact capital letters. Paste it into a private browser window.
- A 404 page, a login page or your home page means the address is wrong or the file is not there. Servers on Linux treat
Sitemap.xmlandsitemap.xmlas different files. - A page of XML text or a collapsible XML tree means the file exists. Go to step 2.
Step 2: fetch it with the XML Sitemap Validator
- Open XML Sitemap Validator.
- Choose "Fetch from URL", paste the address into "Sitemap URL" and press "Validate".
- Look at the status line first. It shows the final address, the HTTP status, the number of redirects, the size and the content type.
Then match what you see to this table.
| What the validator shows | Likely cause | What to do |
|---|---|---|
| HTTP 404 | File missing, wrong path or wrong capital letters | Upload the file or correct the address, then resubmit |
| HTTP 403 or 401 | Firewall, bot protection, password protection or hotlink rules | See step 3 |
| HTTP 500, 502, 503 or 504 | Server error or sitemap plugin crashing | See step 4 |
| "after 1 redirect" or more | The submitted address redirects somewhere else | Submit the final address, see step 5 |
| "This is an HTML page, not an XML sitemap" | A web page is served instead of XML | See step 6 |
| "XML syntax error" | The file is broken XML | See step 6 |
| "The server took too long to respond." | Slow or overloaded server | See step 4 |
| "The domain name doesn't exist or has no DNS records." | DNS problem | Fix the domain's records |
| "The server refused the connection." | Server down or firewall closed the port | Check the server, then retry |
| "The sitemap must return HTTP 200. Search engines can't read it otherwise." | Any non-200 answer | Fix the cause in this table |
If the status is 200, the type looks right and the Stats row shows your URLs, the file itself is healthy. Fix any red errors anyway, and go to step 3.
Step 3: check whether bots are being blocked
This is the most common reason for a file that works for you and fails for Google. Security plugins, hosting firewalls, CDN bot rules and rate limits can return 403 or a challenge page to anything that is not a normal browser.
- If the validator gets HTTP 403 while your browser gets the file, your site is turning bots away. The validator uses its own user agent, TechSolutionPointBot, so it will be treated like other unknown bots. Googlebot may be treated differently, but you should not rely on that.
- Look in your server's access log, or your host's log viewer, for the sitemap's path. Find requests from Googlebot and read the status code beside them. A 403, 429 or 5xx there is the answer.
- Check your firewall, CDN and security plugin settings. Allow verified Googlebot, and make sure no rule blocks the path
/sitemap.xmlor/sitemap_index.xml. - Check the headers with the HTTP Header Checker. Look at the status line, the content type and any cache or security headers that look unusual.
Step 4: fix slow or failing servers
A sitemap made on demand by a plugin can take many seconds on a large site, and a crawler will give up before the page is ready. Signs are a timeout message or a 5xx status in the validator, or a file that loads slowly in a browser.
- Serve a static file where you can. A sitemap that is generated once and stored loads in milliseconds.
- Turn on caching for the sitemap URL in your plugin or server.
- Split a huge sitemap. A single file may hold at most 50,000 URLs and 50 MB uncompressed, and smaller files are faster. Our Sitemap Generator splits a long list automatically and writes an index.
- Check hosting limits: memory, PHP time limits and CPU throttling can all kill a long-running sitemap script.
Step 5: remove redirects and mixed addresses
If the validator says the file was reached "after 1 redirect", the address you submitted is not the address that serves the file. Common cases are http redirecting to https, a non-www address redirecting to www, or a trailing-slash redirect. Google can often follow a redirect, but the cleanest fix is to submit the final address shown in the validator's status line.
The Redirect Checker lists each hop. Long chains or loops are worth fixing. Also make the URLs inside the file use the final host. If the sitemap is on https://www.example.com/ but lists https://example.com/ pages, the validator warns about a different host.
Remember too that the Search Console property must match: a sitemap for https://www.example.com/ submitted in a property for https://example.com/ can fail or be ignored.
Step 6: fix content that is not valid XML
Crawlers need real XML. These problems break the file entirely:
- A page instead of XML: a maintenance page, a login wall or a CMS "page not found" template served with a 200 status. The validator says it is an HTML page.
- Output before
<?xml: a PHP warning, a blank line or stray text at the top of the file. - A raw
&in a URL: it must be written&. The validator reports an XML syntax error with a line, a column and a hint. - A broken gzip file: if you serve
sitemap.xml.gz, make sure the file really is gzip once and not compressed twice. The validator decompresses it for you and tells you if it could not read it.
Fix the content, then validate again until the Errors count is 0. The full list of messages is in the XML Sitemap Validator guide.
Step 7: rule out robots.txt and the certificate
- Test the sitemap's path with Googlebot in the Robots.txt Tester. If a rule such as
Disallow: /sitemapmatches it, remove that rule. Even if blocking would not stop the fetch, there is never a reason to block your own sitemap. - An expired or mismatched HTTPS certificate makes every request fail for strict clients. Fix the certificate and check the address in a browser for warnings.
Step 8: resubmit and wait
When the file returns HTTP 200, validates without errors and bots are not blocked:
- In Search Console, open Sitemaps and submit the address again, using the exact final address.
- Check back after a day or two.
In practice the status for a fresh submission is not always updated at once, so a "Couldn't fetch" that remains after everything above is clean often clears by itself. If it does not, look at the sitemap's detail page in Search Console, where a short reason may be shown, and compare it with your server logs. If you are submitting for the first time, the walkthrough in how to submit a sitemap to Google Search Console lists the right entries for each property type.
Quick checklist
- Open the exact submitted address in a private window.
- Fetch it with the XML Sitemap Validator and read the HTTP status.
- Check the access log for the status Googlebot received.
- Remove redirects, bot blocks, slowness and broken XML.
- Resubmit the final address and wait a day or two.



