Skip to content
Enjoy 20% off for 12 months on all plans. Use promo code: HYPERGROWTHClaim it

How to Add a Sitemap to Google Search Console

By Toy Wen Da, Co-Founder · · 6 min read · scored 97/100

Knowing how to add sitemap to Google Search Console correctly is what separates a sitemap that speeds up indexing from one that just sits there unread. The fastest way is to verify your site, open the Sitemaps report under the Indexing menu, paste your sitemap URL, usually sitemap.xml, into the box, and click Submit. Google then fetches the file, checks it for errors, and starts crawling the pages listed inside it, often within a day or two.

A smartphone displaying Google Search trends on a table at night.

This guide walks through every step, the verification methods you can use, the errors that trip people up, and how long indexing actually takes once you've submitted.

Why Submitting a Sitemap to Google Search Console Matters

A sitemap is a file that lists your site's important URLs, along with details like when each page was last updated. Google can find pages by following links on its own, but a sitemap gives it a direct map instead of making it guess. That matters most for new sites, large catalogs, or pages buried several clicks deep in your navigation.

According to Google Search Central, a sitemap tells Google which pages and files you think are important, and provides useful information about them, but it doesn't guarantee those pages will be crawled or indexed. Submission improves your odds; it isn't a shortcut around having thin or duplicate content.

Hands typing on MacBook Air with Google search open, coffee nearby.

How to Add a Sitemap to Google Search Console: Step by Step

Step 1: Confirm Your Sitemap Exists

Check whether your site already has one by visiting yourdomain.com/sitemap.xml. WordPress (via Yoast or Rank Math), Shopify, and Wix all generate this automatically. If nothing loads, you'll need to generate one with your CMS's SEO plugin or a sitemap generator tool before you can move forward.

Step 2: Verify Ownership in Search Console

Google won't let you add a sitemap to Google Search Console until it knows you own the site. In Search Console, click Add Property, enter your domain, and verify using one of these methods:

  • A DNS TXT record added to your domain settings
  • An HTML file uploaded to your site's root directory
  • A linked Google Analytics or Google Tag Manager account

Step 3: Open Indexing > Sitemaps and Submit

Once verified, select your property, open Indexing in the left sidebar, and click Sitemaps. Type sitemap.xml (or the full path if it's different) into the "Add a new sitemap" field and hit Submit. Google queues the file for a crawl.

Step 4: Read the Status Report

Search Console shows whether the sitemap was read successfully, how many URLs it found, and any warnings. A green "Success" status means it was fetched; a red error usually points to a formatting or access problem, which we cover below.

Person using a tablet with Google search open while having breakfast with toast and tea.

Verification Methods Compared

Close-up of colorful pencils on handwritten notes with Google AdWords highlighted.

Pick whichever method fits how your site is hosted, all four are accepted equally by Google.

Method Best For Setup Time Notes
DNS TXT record Sites you control at the registrar level A few minutes, plus DNS propagation Most durable; survives hosting changes
HTML file upload Sites with FTP/file access A few minutes Must stay on the server permanently
HTML tag WordPress or CMS with header access A few minutes Easy to break if theme code is overwritten
Google Analytics Sites already running GA Instant if GA is installed Only works if you're an admin on the GA property

Common Sitemap Errors and How to Fix Them

Most submission problems fall into a handful of categories:

  • Incorrect sitemap URL, double-check the path resolves and returns XML, not a 404.
  • Blocked by robots.txt, your robots.txt file may be disallowing the sitemap path or the pages inside it.
  • "Submitted URL marked noindex", pages tagged noindex shouldn't be in the sitemap at all; remove them.
  • Non-canonical URLs, list only the canonical version of each page to avoid duplicate-content confusion.
  • Server errors, an unstable host can cause Google to fail the fetch; try resubmitting once the server is stable.

If a page looks indexed in Search Console but the content on screen seems stale, it's worth checking what Google actually crawled, our guide on how to view cached pages now that Google's cache tool is gone covers the workarounds.

How Long Does It Take Google to Index a Sitemap?

How long it takes Google to index a sitemap varies, but most site owners see the status update within minutes, or at least within 24 hours, once a sitemap or a resubmitted URL has been processed. Submission doesn't guarantee instant indexing of every URL inside it. If the report keeps showing "couldn't fetch," refresh a few times before assuming something is broken, it often resolves itself within a day.

New, low-authority sites may wait longer for individual URLs to get crawled, even after the sitemap itself shows as successfully read. Established sites that publish and update content regularly tend to see new pages picked up faster.

Keep in mind that getting indexed is only the first milestone. Ranking and converting that traffic into leads is a separate job, the breakdown in how to turn search traffic into customers is a useful next read once your pages start showing up.

Best Practices for Keeping a Sitemap Healthy

  • Keep it current. Most CMS platforms regenerate the sitemap automatically when you publish or delete pages, confirm yours does.
  • List only canonical URLs. Redirected or duplicate pages add noise without adding value.
  • Use HTTPS throughout. Mixed HTTP/HTTPS entries can trigger warnings.
  • Split large sites. Google's own guidance caps each sitemap file at 50,000 URLs; sites beyond that use a sitemap index file referencing multiple smaller sitemaps.
  • Resubmit after major changes. A site migration, URL restructure, or bulk page deletion is a good reason to resubmit, even though routine updates don't require it.

FAQs

Do I need to submit my XML sitemap to Google?

Not strictly, Google can discover pages by crawling links on its own. But submitting a sitemap through Search Console gives it a direct, structured list, which usually speeds up discovery and indexing, especially on larger or newer sites.

How do I find my sitemap URL?

Try yourdomain.com/sitemap.xml first, since that's the default path most CMS platforms and SEO plugins use. If that 404s, check your SEO plugin's settings or your platform's documentation for the exact path.

What does "couldn't fetch" mean in the Sitemaps report?

It usually means Google hit an error reading the file, a bad URL, a robots.txt block, or a server hiccup. Refresh the status after a few minutes; many of these clear up within 24 hours on their own.

Can I add more than one sitemap to Google Search Console?

Yes. Large sites often submit a sitemap index file that references several smaller sitemaps, each holding up to 50,000 URLs, rather than one massive file.

How often should I resubmit my sitemap?

If it updates automatically with your CMS, you generally don't need to resubmit it. Resubmit manually after a site migration, a URL structure change, or any bulk edit that affects a large number of pages.

Get Your Sitemap Working for You

Now that you know how to add sitemap to Google Search Console, submitting it takes just a few minutes, but it only pays off if the pages inside it are worth indexing in the first place. If you want a clear read on what's holding your site back, indexing gaps, missing pages, structural issues, talk to the team and get a sample report showing exactly what to fix next.

See what this looks like on your own sitePaste a URL and SearchBlueprint scores it on the same content engine that scored this article, then names the fixes in the order they pay off.Get your free plan

Resources / References

  1. Google Search Central

Related reading: Your Squarespace Sitemap: Where to Find It and Fix It.

Sources

About the author

SearchBlueprint researched, wrote and scored this article with the content pipeline our customers run on their own sites. The score in the byline is what our content engine gave this page before it published. Nothing here is reviewed by hand, which is the point: it is the product's output, published where anyone can check it.

All Google Search Console guides