Sitemap Could Not Be Read: Find the Cause and Fix It
Search Console says your sitemap could not be read? Work the causes in one order: robots.txt, the URL itself, a host 403, redirects, then 5xx and timeouts.

You submitted a sitemap, Search Console turned it red, and the message tells you almost nothing. Couldn't fetch on the Sitemaps list. Sitemap could not be read when you open it. The file loads perfectly in your browser, which makes the whole thing feel like a Google bug.
It usually is not. In almost every case the server gave Googlebot a different answer than it gave you, and the useful question is which answer. There are seven things it can be, they can be told apart in about ten minutes, and the order matters: checking them in the wrong sequence is how people end up regenerating a perfectly good sitemap for three days while a firewall rule quietly keeps returning 403.
The pages that currently rank for this will get you partway. The best of them is thorough on XML validity and what the statuses mean, and then stops: nothing on Googlebot being blocked by a host firewall or a bot rule at the edge, nothing on redirects or on what the sitemap URL is actually serving, nothing on slow shared hosting, and nothing on how to tell whether your fix worked. Another lists the causes and offers no fix for 403, 500 or 503, then routes every diagnosis through its own paid scanner. A third is written entirely for one WordPress plugin, which is no help if your site is static, on Shopify, or custom built.
So this is the full order, every step run with a free tool you can point at your own URL, and the hosting causes that are most common on Indian shared hosting and Cloudflare named properly.
The short answer
Open your sitemap URL in a tool that is not your browser and read the status code. If it is 200 and the body is valid XML, the file is fine and your problem is at Check 5, 6 or 7: something is treating Googlebot differently from you, the server is too slow to answer in time, or you are looking at the wrong Search Console property. If it is anything other than 200, you have found the cause, and the fix is specific to the code.
Your browser is the worst tool for this job, because it follows redirects silently, renders XML as a pretty tree, reuses a cached copy and arrives with cookies and a session. Googlebot does none of that.
What Couldn't fetch and Sitemap could not be read actually mean
These are the same failure shown on two screens. In Google's Sitemaps report documentation, Couldn't fetch is the status on the list, meaning Google could not retrieve the file at all, and Sitemap could not be read is the message on the detail page for that same failure. Neither one means your XML is wrong. Google never got far enough to look at your XML.
That distinction is the single most useful thing on this page, because it tells you where not to spend time:
| What Search Console shows | What it means | Where to look |
|---|---|---|
Couldn't fetch or Sitemap could not be read | Google could not retrieve the file | The response: status code, redirects, blocks, speed |
Has errors | Google retrieved and parsed it, and some entries are bad | The file contents: URLs, dates, namespace, limits |
Success with 0 discovered URLs | Google read an empty or wrongly scoped file | The file contents and the URL not allowed rule |
Google lists five causes for the fetch failure: a robots.txt block, an unresolved manual action, a wrong URL that returns 404, a temporary server problem, and low crawl demand for the site. That list is accurate but thin, because "temporary server problem" is doing an enormous amount of work in it. Most real cases are a 403 from something you did not know was in front of your site, a redirect, or a server that answers too slowly.
Run the checks in this order
Each step rules out a whole class of cause, and each one is cheap. Do not skip ahead, and do not start by regenerating the sitemap: that is the last thing to try, not the first.
Check 1: What does the sitemap URL return to a stranger?
Put the exact sitemap URL you submitted into the HTTP header checker. It fetches the URL once and does not follow redirects, which is the behaviour you want: you see the first answer your server gives, not the end of a chain. Read two things from the result, the status code and the Content-Type.
| Status code | What it means for the sitemap | Go to |
|---|---|---|
200 with XML in the body | The file is reachable and is a file | Check 2 |
200 with text/html | You are being served a page, not your sitemap | Check 2, then Check 4 |
301 or 302 | The URL moves somewhere before it answers | Check 4 |
401 or 403 | Something is refusing the request | Check 3, then Check 5 |
404 | The URL is wrong, or the route was never registered | Below |
429 | You are being rate limited | Check 5 |
500, 502, 503, 504 | The server failed or is overloaded | Check 6 |
| No answer at all | A timeout or a DNS or TLS failure | Check 6 |
A 404 here is the most common cause of all, and it is almost always one of four things: a typo in the URL you pasted into Search Console, a sitemap that lives at a different path than you assumed (plenty of platforms use /sitemap_index.xml or /sitemap-index.xml), a plugin or generator that was disabled or removed so its route no longer exists, or a site that never had a sitemap in the first place. If it is the last one, the XML sitemap generator will build a valid file from a pasted list of URLs for a small site: put it at your site root, add a Sitemap: line to robots.txt, and submit that.
About the Content-Type header. Google does not publish a required MIME type for sitemaps, and it will generally parse a valid XML body whatever the header says, so text/xml against application/xml is not worth an argument. The header is still a useful tell. If it says text/html, you are almost certainly not looking at your sitemap at all: you are looking at an error page, a login wall, a consent interstitial or the shell of a single-page app that answers every unknown path. Read the first line of the body and you will know which.
Check 2: Is it a real sitemap, and does it parse?
Once the URL answers 200, confirm the body is what you think it is. Paste the sitemap URL into the sitemap checker. It fetches the file, confirms it parses as a urlset or a sitemap index, counts the entries, samples the first URLs and flags protocol violations such as the 50,000-URL limit.
Three results are worth acting on:
- It does not parse. Something is in the file that should not be: whitespace or a stray character before the XML declaration, an unescaped
&inside a URL, a PHP warning printed above the output, or a theme that is appending markup. Google reports these as parsing errors once it can read the file, not as a fetch failure, so if you see them here, your fetch problem is somewhere else and you have found a second bug worth fixing. - It parses, but the count is wrong. A file with three URLs on a 400-page site is a generator that is only picking up part of the site. A file with every tag archive and attachment page in it is a generator with no filter. Neither causes
Couldn't fetch, but both waste the crawl budget you are trying to earn. - The sample URLs point at the wrong address form. This matters more than it looks, and Check 7 is where it bites.
Google's own limits are worth knowing before you go looking for exotic causes: a single sitemap may hold 50,000 URLs or 50MB uncompressed, it must be UTF-8, and the URLs in it have to be absolute. Over those limits you split the file and list the parts in a sitemap index.
Check 3: Does robots.txt block the sitemap itself?
This is first on Google's list of causes and it is genuinely easy to do by accident. Run your domain through the robots.txt checker and read two things.
First, whether any Disallow rule covers the path the sitemap sits on. A rule meant for something else will happily catch it: Disallow: /wp-content/ blocks a sitemap written into that folder, and Disallow: /sitemap blocks every sitemap whose filename starts with those characters. The worst version is the staging file that shipped to production with Disallow: / in it, which blocks the sitemap and everything else. That same rule has a second symptom worth knowing about: it can leave URLs in Google with a warning beside them rather than out of the index altogether, which is the fault we work through in indexed, though blocked by robots.txt.
Second, whether there is a Sitemap: line, and whether it points where you expect. That line is not required when you have submitted the file in Search Console, but it is free, it is how crawlers other than Google find the file, and a stale one pointing at a sitemap you deleted two redesigns ago is a small mess worth clearing up. It must be an absolute URL.
Check 4: Does the sitemap URL redirect anywhere?
A sitemap URL that redirects is a real cause of a failed fetch, and it is invisible in a browser because the browser just follows it. Trace the URL with the redirect checker, which shows every hop with its status code, Location and timing, and calls out loops and wasted hops. Four patterns to look for:
- The sitemap redirects to an HTML page. Usually the home page, sometimes a 404 page returning
200. A generator was removed and the platform swept the orphan route into a catch-all. Google asked for a sitemap and received a web page. - It redirects to another host. You submitted
https://example.com/sitemap.xmlin a property forhttps://www.example.com, and it redirects to thewwwversion. The fetch itself may succeed, but the mismatch sets up the failure in Check 7. - There is a chain.
httptohttpstowwwto a trailing slash, four hops to deliver one file. Each hop is latency, and on a slow host a chain is how a fetch becomes a timeout. - There is a loop. Two rules fighting each other, often one in
.htaccessand one in the application. Nothing is ever served.
Fix this by submitting the URL that answers 200 directly, with no hop at all, in the property that matches it. We wrote up the hop-by-hop method in how to check a redirect chain, and the address-form decisions behind it in moving a website without losing search traffic.
Check 5: Is Googlebot blocked while your browser is not?
This is the cause the other guides on this query leave out, and on Indian shared hosting it is the one that explains the most otherwise inexplicable cases. The symptom is exact: the sitemap opens instantly for you, and Search Console has never once managed to read it.
Three mechanisms do this.
A web application firewall at your host. Most shared hosting sold here is cPanel with a firewall module in front of the site, commonly mod_security, with a rule set you did not write and cannot see. Those rules block by user agent, by request pattern and by rate. A crawler that asks for the same file repeatedly, from a foreign IP address, with a non-browser user agent, looks like exactly what the rule set was bought to stop. You will see 403 in Check 1 and nothing at all in your own access log, because the request was refused before it reached your application.
Bot settings at the edge. If your domain is on Cloudflare, look at what you have turned on. Cloudflare says its verified bots, which include search engine crawlers that identify themselves honestly and respect robots.txt, have historically been excluded from the default bot configurations. That protection does not extend to everything: a WAF custom rule, an IP Access rule, a country block or Under Attack mode can still stop a crawler, and Cloudflare notes that Bot Fight Mode issues computationally expensive challenges and cannot be bypassed with WAF custom rules or Page Rules. A challenge is not a sitemap, so Google records a failed fetch.
A country allowlist. This one is specific to the kind of site that sells only in India. Blocking every country but India is a tempting way to cut spam traffic, and it blocks Googlebot too, because Google crawls from its own infrastructure and not from an Indian consumer network. The site stays up, the enquiries keep arriving, and the sitemap is never read again.
The fix in each case is to let the real crawler through rather than to open the door to everybody. Googlebot can be identified for certain, and Google documents how: run a reverse DNS lookup on the IP address in your logs, confirm the hostname ends in googlebot.com, google.com or googleusercontent.com, then run a forward lookup on that hostname and confirm it returns the same IP address. Google also publishes its crawler IP ranges as JSON at developers.google.com/static/crawling/ipranges/common-crawlers.json for automatic matching. Verify first, then allow, because the user agent string on its own is trivial to forge and whitelisting by user agent whitelists every scraper that copies it.
If the firewall belongs to your host, raise a ticket and be specific, because a vague ticket gets a vague answer. Give them the full sitemap URL, the exact timestamp of a failed fetch, the status code you measured, and ask them to check the mod_security log for that path at that time and to allow verified Google crawler IP ranges. Ask for the rule ID that matched. That request is routine and support can usually action it the same day.
Check 6: Slow server, 5xx and timeouts
Google's documented causes include a temporary server problem, and on shared hosting the problem is frequently not an error at all but a delay. A sitemap generated on the fly has to be built before it can be sent, and on a crowded shared server a query across every post and page can take many seconds. Google does not wait indefinitely. A fetch that never completes is reported the same way as one that was refused.
The tell is in Check 1: a 503, a 504, or a 200 that took a long time to arrive. Four things help, in increasing order of effort:
- Serve a static file. If your sitemap is built per request, have the generator write it to disk and serve the file. This is the single biggest win and it removes the whole class of problem.
- Split it. One index file pointing at several smaller sitemaps is faster to build and faster to send than one enormous file, and it keeps you well inside the 50,000-URL limit.
- Cache it. Exclude the sitemap from nothing and include it in everything: if there is a page cache or a CDN in front of the site, let it serve the sitemap too.
- Move off a plan you have outgrown. If the whole site is slow and not just the sitemap, the sitemap is not the problem you have.
Check the obvious neighbours while you are here. An expired or misconfigured certificate fails the fetch before HTTP is even reached, and it will not always be obvious in a browser that has already cached an exception, so check the certificate and its chain if TLS is in any doubt.
Check 7: Are you looking at the wrong property?
A sitemap may only list URLs at or below its own location, and Google is strict about it: URLs above the sitemap's directory, in a sibling directory, or on a different domain, protocol or www variant are reported as URL not allowed. The same strictness applies to which property the sitemap belongs in.
Three mismatches cause most of the confusion:
- The property is a URL-prefix property for
https://example.comand the site answers onhttps://www.example.com. A URL-prefix property only covers the exact prefix, so every URL in the sitemap is outside it. A Domain property covers every subdomain and both protocols, and is the one to use if you are creating a new property today. - The sitemap lists
http://URLs on a site that redirects tohttps://. Every entry becomes a redirect instead of a page. - The sitemap and the property disagree about
www. Both forms work in a browser because one redirects to the other, and that hides the mismatch completely.
Settle on one address form, make every other form redirect to it in a single hop, list only that form in the sitemap, and submit it in a property that matches. Check 2's sample URLs tell you at a glance which form the file actually contains.
How to confirm the fix worked
This is the part nobody writes down, and without it you are guessing. Four signals, in the order they arrive:
- Re-measure the response. Run the sitemap URL through the HTTP header checker again and confirm
200, then through the redirect checker and confirm zero hops. This is immediate and it is the only step fully under your control. - Confirm it parses. Re-run the sitemap checker and confirm the URL count is what you expect. Now the file is provably fetchable and valid.
- Watch the Last read date, not the status. In the Sitemaps report, open the sitemap and look at when Google last read it. A date later than your fix is the proof that matters. The status text can sit stale for days, and re-reading an old error is how people conclude a working fix did not work.
- Look for the crawler in your logs. If you have access to the raw access log, search it for the sitemap path and verify any hit with the reverse DNS check above. Seeing Googlebot fetch the file and receive
200ends the question completely, and it is the only signal that proves a firewall change took effect.
Resubmitting is reasonable once, after the fix. Deleting and re-adding the sitemap is not a fix and does nothing a resubmit does not do.
When nothing is wrong and Google still says it
Sometimes every check passes and the status stays red. Two honest explanations, neither of which is a bug you can fix.
The first is that Google has not come back yet. Submitting a sitemap is a hint, not an instruction: Google says plainly that it may not download the sitemap or use it for crawling. A new site with few inbound links gets very little crawl demand, and low crawl demand is on Google's own list of reasons for this exact status. Give it days, not hours.
The second is that the report is stale. You already have the answer to that one: the Last read date, and the 200 you measured yourself.
What does not help is churn. Regenerating the sitemap repeatedly, switching plugins, adding and removing files, and resubmitting hourly all change the thing you are trying to measure and teach you nothing. If the file is reachable, valid and in the right property, you are finished, whatever the banner says this afternoon.
And the broader point, worth holding on to while you work: a sitemap helps discovery and does not command indexing. If the real question is that pages are missing from Google rather than that one report is red, the sitemap is one of several causes, and website not showing on Google works through the rest of them in order.
Questions people ask
Why does Google Search Console say Couldn't fetch for a sitemap that opens fine in my browser?
Because your browser and Googlebot are not making the same request. The browser follows redirects without telling you, serves you a cached copy, arrives with your cookies and session, and renders XML into a readable tree even when the response was text/html. Googlebot arrives from a foreign IP address, with a crawler user agent, no session, and no patience for a slow answer. Check 1 and Check 5 exist specifically to find that gap.
How long does Couldn't fetch take to clear after I fix it?
There is no published interval, and anyone quoting you an exact number is guessing. Watch the Last read date in the Sitemaps report rather than the status text, and expect days rather than minutes on a small site with low crawl demand. The checks in the previous section let you confirm the fix is real without waiting.
Should I delete the sitemap and resubmit it?
Resubmit once after you have actually changed something. Deleting and re-adding achieves nothing extra, and if the underlying cause is a 403 or a redirect, you will get the same result with a fresh timestamp. Fix the response first, then resubmit.
Does a sitemap error hurt my rankings?
Not directly. A sitemap affects how quickly URLs are discovered, not how they are ranked, and a site with good internal linking can be crawled thoroughly with no sitemap at all. It matters most where discovery is genuinely hard: a new domain, a large site, or pages nothing links to yet. The cost of a broken sitemap is slower discovery, not a penalty.
My sitemap is an index file. Which one does Search Console report on?
Both, separately. Submit the index, and the Sitemaps report lists it along with each child sitemap it points at, each with its own status. A Couldn't fetch on one child and Success on the index is normal and tells you exactly which file to run through Check 1. An index may not contain another index, and it may list at most 50,000 sitemaps.
Do I need a sitemap at all?
Not strictly. If your site is small and every page is reachable by links from the home page in two or three clicks, Google will find it without one. Keep one anyway, because it is nearly free, it gives you the Sitemaps report as a diagnostic, and it carries honest lastmod dates that help a crawler spend its time on what changed.
Where to go next
Work the seven checks in order and you will know which cause is yours, and the fix follows from the cause. Start with the HTTP header checker on the exact URL you submitted, because that one measurement splits the problem in half.
If the answer turns out to be a firewall you cannot see, a redirect rule nobody remembers writing, or a server too slow to answer a crawler, that is hosting and infrastructure work rather than SEO work, and it is worth fixing properly once rather than working around monthly. That is the kind of thing our SEO and digital marketing work starts with. Tell us about your project in writing and we will tell you what we find.
Tools mentioned in this post
- Sitemap CheckerValidate any sitemap.xml live: type, URL count and the errors crawlers would hit.
- HTTP Header CheckerInspect any URL’s response headers and get a security-header report card.
- Redirect CheckerTest any URL’s redirects: every hop’s status code, Location and time, with loops and wasted hops called out.
- Robots.txt CheckerFetch and lint any site’s robots.txt: catch the Disallow that deindexes you.
- XML Sitemap GeneratorPaste a list of URLs and get a valid sitemap.xml, deduplicated and properly escaped.


