Skip to content
Nazmul Nikhil
Menu

Reduce Unused CSS in PageSpeed Insights: Remove Styles the Page Doesn't Use

PageSpeed flags stylesheets full of rules the page never uses. Here's how to trim them safely on WordPress, Shopify, Webflow, Wix and custom builds.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 1 min read
Reduce Unused CSS in PageSpeed Insights: Remove Styles the Page Doesn't Use
Photo: Albert Stoynov on Unsplash

In short

"Reduce unused CSS" lists stylesheets where a large share of rules weren't used on this page load, with estimated savings. Because CSS blocks rendering, extra rules slow FCP and LCP. Load only the CSS each page needs, and remove styles from features you no longer use. Some "unused" CSS is used later (menus, popups, other pages), so remove carefully.

Most sites load one big stylesheet on every page, even though each page uses a small part of it.

How to fix it

  1. Open Chrome DevTools > Coverage, reload, and see which CSS files are mostly unused.

  2. Stop loading plugin or app CSS on pages that don't use that feature.

  3. Split CSS per page type, or generate "critical CSS" for the first screen and load the rest later.

  4. For utility frameworks (Tailwind), make sure the production build purges unused classes.

WordPress: asset manager plugins can unload plugin CSS per page; some optimization plugins offer "remove unused CSS". Test menus and forms afterwards. Shopify: remove CSS from uninstalled apps; theme CSS is usually split by section. Webflow: clean up unused classes with the Style Manager. Wix: limited control; reduce widgets per page. Custom builds: code-split CSS by route.

Common mistakes

  • Deleting rules that only apply after interaction (mobile menu, modals, form errors).

This guide isn't affiliated with or endorsed by Google.

Sources and references

TAGSPageSpeed InsightsReduce unused cssRemove unused cssUnused css rules
Nazmul Nikhil

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.

Need help with this?

Get it fixed with Core Web Vitals

I find the issues that cost you traffic and fix them, starting with the pages that matter most.

Keep reading

Related articles

All Page Speed & Core Web Vitals posts →

Get the next guide in your inbox

One email when a new SEO or AI search guide goes live.

Ready to grow?

Get a free audit of your website, or book a 30-minute call to talk through your goals.

Nazmul Hasan

Talk to Nazmul directly

Reply within 24h

WhatsApp +880 1682835118
nazmulnikhil@gmail.com