In short
Ahrefs flags "CSS broken" for stylesheet URLs used on your site that return a 4xx or 5xx error. Pages that depend on them may look broken to visitors, and Google renders pages with their CSS, so layout and mobile-friendliness can suffer too. Most broken stylesheets come from stale cache or minification files, removed plugins, or deploys that changed file names. Clear caches, restore the file, or remove the reference.
Without its stylesheet, a page falls back to plain browser styles: stacked text, giant images, no layout.
Common causes
| Cause | Fix |
|---|---|
| Optimization plugin serves old combined CSS | Clear the plugin and CDN cache |
| Plugin or theme removed, its CSS still referenced | Remove the leftover link tag |
| New build with hashed filenames, old HTML cached | Purge HTML cache on deploy |
| Font or icon library CSS from a discontinued CDN | Host the file yourself or switch providers |
How to fix it
Open the CSS URL to confirm the error.
Clear all caches (plugin, server, CDN) and recrawl.
If the file is still missing, restore it or remove the
<link rel="stylesheet">tag.
WordPress: clear the optimization plugin's cache first. If the problem returns, turn off CSS combining to find which file fails.
Shopify: check theme.liquid for links to app CSS left after uninstalling an app.
Webflow and Wix: CSS is managed by the platform; broken files usually come from custom code embeds.
Custom builds: deploy HTML and hashed assets together, and keep the previous build's assets briefly.
This guide isn't affiliated with or endorsed by Ahrefs.
Related issues
Sources and references
Google Search Central, Understand JavaScript SEO basics (rendering with page resources)

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.



