Why is the Yoast SEO sitemap not updating?

Yoast sitemaps are generated dynamically and should reflect content changes without a manual rebuild. When an old version remains visible, a cache is usually serving the XML. Check WordPress caching plugins, server cache, hosting cache, reverse proxies, and the CDN. Exclude sitemap and XSL URLs from caching.
Purge the caches and reload the sitemap in a private window. If it still shows old data, turn the XML sitemap feature off, clear caches, and turn it on again. Saving WordPress permalinks can also refresh rewrite rules. Confirm that you are opening Yoast’s /sitemap_index.xml rather than a static file or another plugin’s sitemap.
If only one page is absent, review that page’s status, noindex setting, canonical URL, and redirect. An unchanged sitemap may actually reflect an eligibility rule rather than stale data. Inspect response headers for cache indicators and ask the host to purge server-side cache when the WordPress controls do not affect the response.