Does a sitemap actually help SEO?
It helps with discovery, particularly on large or poorly linked sites — and it does not improve rankings, which is the misconception worth clearing up first.
What an XML sitemap is. A file listing the URLs on a site that you want search engines to know about, optionally with the date each was last modified. It is submitted through search console tools or referenced in robots.txt.
What it actually does: tells search engines that these URLs exist. That is all. It is a discovery aid.
What it does not do:
It does not guarantee indexing. Inclusion in a sitemap is a suggestion, and pages are indexed on merit. "Discovered — currently not indexed" in Search Console means exactly this.
It does not improve rankings. A page does not rank better for being listed.
It does not replace internal linking. A page reachable only via the sitemap signals that you do not consider it important enough to link to — which is itself informative, and not in a helpful way.
When it genuinely matters:
Large sites, where crawling everything through links takes time.
New sites with few external links.
Poor internal linking, or pages deep in the structure.
Rich media and news, where specialised sitemap formats supply information not otherwise available.
When it matters little: a small, well-linked site will be crawled fully regardless. It still costs nothing to have one.
What makes a sitemap useful rather than harmful:
Only include indexable URLs. Listing pages that are noindexed, redirected, canonicalised elsewhere or returning errors sends contradictory signals and reduces trust in the file.
Keep it current. An automatically generated sitemap that reflects the live site is far better than a stale manual one.
Accurate lastmod dates, which are used as a hint for recrawl priority — and are ignored if they are obviously unreliable, such as every URL updating daily.
Split large sitemaps using an index file, respecting the URL and file size limits.
HTML sitemaps — a page linking to everything — serve users and provide internal links, which is a different and complementary function.