In short
Ahrefs raises "No. of URLs in sitemap decreased" when your sitemaps list fewer URLs than in the previous crawl. If you deleted, merged or noindexed pages, that's expected. If you didn't, something changed: a plugin setting, an excluded content type, a sitemap file that failed to generate, or pages unpublished by accident. Compare with "Pages removed from sitemaps" to see exactly which URLs went.
A shrinking sitemap is either intentional cleanup or a warning sign. This alert helps you catch the second.
Quick checks
Was it planned? Match the drop against recent content cleanup.
Is one sub-sitemap missing? A whole content type disappearing (all products, all posts) points to a settings change or a generation error.
Can the sitemap be fetched? See "Sitemap is not accessible" and "Sitemap has syntax error."
Were pages noindexed by accident? Check "Indexable page became non-indexable."
If important pages vanished, restore them in the sitemap settings and resubmit the sitemap in Search Console.
This guide isn't affiliated with or endorsed by Ahrefs.
Related issues
Sources and references
Google Search Console Help, Sitemaps report

About the author
Nazmul Nikhil
Head of SEO & Assistant Manager, Digital Marketing at Notionhive
SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.



