How to Submit Your Sitemap to Google Search Console (2026 Guide)
A practical step-by-step guide to submitting your sitemap to Google Search Console. Includes all 4 verification methods, the 5 most common errors and how to fix them, and how to track your indexing progress over 30 days.
Why submit a sitemap at all?
Submitting a sitemap to Google Search Console (GSC) does not guarantee indexing, but it does 3 important things:
- Speeds up discovery. Google can find your pages through links, but a sitemap gives Google a direct map. New pages get crawled 3-5x faster with a sitemap.
- Provides metadata. Your sitemap can include lastmod dates, which tells Google which pages changed and which to re-crawl.
- Helps you monitor. GSC shows you which pages Google has indexed, which have errors, and which it has never seen.
For a new site, submitting a sitemap is essential. For an established site, it is a best practice.
Before you start: what you need
- A Google account (Gmail or Google Workspace)
- Access to your site DNS records (for domain verification)
- Access to your site server or hosting (for HTML file upload verification)
- The URL of your sitemap (usually /sitemap.xml or /sitemap-index.xml)
- 15 minutes
Step 1: Create a Google Search Console property (2 minutes)
- Go to search.google.com/search-console
- Sign in with your Google account
- Click "Add Property" in the top left
- Choose "URL Prefix" (not "Domain" - URL Prefix is easier for most sites)
- Enter your full site URL (e.g. https://thebestaitoolsreview.com)
- Click "Continue"
Step 2: Verify ownership (5 minutes)
Google offers 4 verification methods. Pick the one that works for your setup:
Method 1: HTML file upload (easiest for static sites)
- Download the HTML verification file Google provides (something like google1234567890abcdef.html)
- Upload it to the root of your website (so it is accessible at https://yoursite.com/google1234567890abcdef.html)
- Click "Verify" in GSC
- For Astro sites: put the file in /public/ and rebuild
Method 2: DNS TXT record (best for custom domains)
- Copy the TXT record Google provides (something like google-site-verification=abc123...)
- Go to your DNS provider (Cloudflare, Namecheap, GoDaddy, etc.)
- Add a new TXT record for your root domain (@) with the value
- Wait 5-30 minutes for DNS propagation
- Click "Verify" in GSC
Method 3: HTML meta tag (good for CMS sites)
- Copy the meta tag Google provides
- Add it to the <head> section of your homepage
- Click "Verify" in GSC
Method 4: Google Analytics (if you already have it)
- Use the same Google account that owns the GA property for the site
- Click "Verify" - GSC will pull verification from the GA tracking code
Step 3: Submit your sitemap (2 minutes)
- In GSC, go to "Sitemaps" in the left sidebar (under "Indexing")
- In the "Add a new sitemap" box, enter your sitemap URL
- For Astro sites with @astrojs/sitemap: enter sitemap-index.xml
- For most CMS sites: enter sitemap.xml
- Click "Submit"
Google will start fetching your sitemap immediately. Within 24 hours, you should see the status change from "Pending" to "Success" (or an error message - see below).
Step 4: Verify it worked (5 minutes)
- Go to "Pages" in the left sidebar (under "Indexing")
- You should see your pages listed with "Indexed" or "Discovered, currently not indexed" status
- Click on a specific page to see the indexing details
- Use the "Inspect any URL" search bar at the top of GSC to check a specific page
Note: "Indexed" status means Google knows about the page. It does not mean the page ranks for any query. Ranking depends on content quality, backlinks, and many other factors.
The 5 most common errors and how to fix them
Error 1: "Sitemap could not be fetched"
Cause: The sitemap URL is wrong, returns 404, or has a robots.txt disallow rule.
Fix: Visit the sitemap URL in a browser. It should return valid XML. Check your robots.txt does not disallow /sitemap.xml.
Error 2: "Sitemap contains URLs which are blocked by robots.txt"
Cause: Your robots.txt disallows some URLs that are in your sitemap.
Fix: Either remove the disallow rule for those URLs, or remove the URLs from the sitemap.
Error 3: "Sitemap is HTML, not XML"
Cause: Your CMS or framework is serving the sitemap as HTML instead of XML.
Fix: Check the Content-Type header at the sitemap URL. It should be application/xml or text/xml. If it is text/html, your server config is wrong.
Error 4: "Sitemap has too many URLs"
Cause: Google has a 50,000 URL limit per sitemap. If you have more, you need multiple sitemaps or a sitemap index.
Fix: For Astro: this is handled automatically by @astrojs/sitemap. For WordPress: use the Yoast or RankMath plugin which generates a sitemap index.
Error 5: "Sitemap URLs not accessible"
Cause: The URLs in the sitemap return 404, 500, or have noindex tags.
Fix: Visit each URL in the sitemap. They should all return 200 and not have noindex meta tags.
How to track indexing progress (30-90 days)
Submitting the sitemap is the start, not the end. The 30/60/90 day tracking plan:
Day 1-7: Discovery
Google discovers your pages. Most new sites see 20-40% of pages discovered in week 1.
Day 7-30: Initial indexing
Google starts indexing. You should see 30-60% of pages indexed by day 30.
Day 30-90: Stabilization
Indexing stabilizes. Most well-built sites hit 80-95% indexed by day 90.
To track: go to GSC > Pages, sort by "Discovered, currently not indexed" and look for patterns. If specific sections of your site are not getting indexed, that is where the bug is.
What to do after the sitemap is submitted
The sitemap is one piece. The other 5 things to do in the first 30 days:
- Submit to Bing Webmaster Tools (similar process, different dashboard)
- Submit to Yandex Webmaster (if you have Russian or international traffic)
- Set up the URL Inspection tool for your top 20 pages
- Set up the Performance report to track clicks and impressions
- Set up email alerts for critical issues (manual action, security, indexing errors)
Frequently asked questions
How long does it take for Google to index my pages after submitting a sitemap?
Discovery: 1-7 days. Indexing: 7-30 days. Stable: 30-90 days. For a brand new site with no backlinks, expect 60-90 days for full indexing.
Should I submit multiple sitemaps?
Yes, if you have more than 50,000 URLs. Google supports sitemap indexes, which are sitemaps of sitemaps. For sites under 50,000 URLs, a single sitemap is enough.
Do I need to resubmit the sitemap when I add new pages?
No. Google re-fetches your sitemap automatically. Most CMS frameworks ping Google when the sitemap changes, but you do not need to manually resubmit.
What is the difference between a sitemap and robots.txt?
A sitemap is a list of URLs you WANT Google to crawl. robots.txt is a list of URLs you do NOT want Google to crawl. Both are useful, both serve different purposes.
What if Google ignores my sitemap?
Google can choose to ignore URLs in your sitemap (if they are low quality, duplicate, or have noindex tags). The sitemap is a hint, not a directive. For guaranteed indexing, focus on internal linking, backlinks, and content quality.
Tools we use for sitemap management
- Astro: @astrojs/sitemap (generates sitemap automatically on build)
- Google Search Console: sitemap submission and monitoring
- Screaming Frog: for auditing large sites and generating custom sitemaps
- Ahrefs: for sitemap health monitoring and broken link detection
Get more SEO guides like this
For our full SEO workflow, see Best AI Tools for SEO in 2026. For our content workflow that produces SEO-friendly posts, see How to Build a Content Workflow with AI.