In short
Ahrefs flags "5XX page in sitemap" for sitemap URLs that returned a server error (500, 502, 503, 504) when crawled. Google slows crawling when it sees 5xx errors and eventually drops URLs that keep failing. Don't remove these pages from the sitemap; fix the server error. Check whether the errors were temporary, then follow "500 page" and "5XX page."
Unlike 4xx URLs, these pages usually should be in your sitemap. The problem is the server, not the list.
Diagnose
Open a few URLs now. If they load, the errors may have come from load during the crawl. Lower the crawl speed and recrawl.
Look for a pattern. Errors on one template (all products, all posts) point to a bug in that template.
Check server logs for the crawl time.
Check hosting limits. On shared cPanel hosting, the Resource Usage page shows when limits were hit.
Why sitemap URLs matter most
Your sitemap is the list of pages you most want indexed. Server errors here hit your important pages directly, so fix them before 5xx errors elsewhere.
This guide isn't affiliated with or endorsed by Ahrefs.
Related issues
Sources and references
Google Search Central, How HTTP status codes, and network and DNS errors affect Google Search

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.



