Free auditStart free
GlossaryGlossary · Performance

Critical CSS

Critical CSS is the styles needed for above-the-fold content, inlined in the head so a page can paint sooner. See how to extract it and when to skip it.

3 min
read
3
sources
Oct 23, 2026
updated
Scaplet Editorial Team
author
In one line

Critical CSS is a technique that extracts the CSS for above-the-fold content so the page can render as fast as possible. You inline those styles in the HTML head and load the rest of the CSS asynchronously. Google's web.dev calls it an advanced technique: it can improve performance but can also cause bugs, and most sites can reach their performance targets without it.

30-second check

Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Explained

The problem it solves

The browser must download and parse CSS files before it can show the page, which makes CSS a render-blocking resource. If CSS files are big, or network conditions are poor, requests for CSS can significantly increase the time before anything renders.

Critical CSS attacks that wait. Extract the styles that apply to what a visitor sees on load, inline them in the <head>, and load the remaining stylesheet without blocking. Inlining removes the extra request for those styles. Above the fold is all the content a viewer sees on page load before scrolling, and web.dev notes there is no universally defined pixel height for it.

02At a glance

When to use it

web.dev's guides open with a warning that this is an advanced technique that can lead to bugs if not implemented properly, and that most sites can reach their performance targets without it. Its suggested trigger is poor First Contentful Paint plus the "Eliminate render-blocking resource" opportunity in Lighthouse. That audit has since moved into the Render-blocking requests insight as of Lighthouse 13, so look for that label in current tools.
Situation

Poor FCP and a Lighthouse render-blocking CSS opportunity

What web.dev says or implies
Worth trying critical CSS
Situation

Large stylesheet, slow mobile networks

What web.dev says or implies
More possible impact: the more CSS a site has, the greater the potential gain
Situation

Large amount of CSS to inline

What web.dev says or implies
Delays the transmission of the rest of the HTML document, so inline sparingly
Situation

Repeat visitors

What web.dev says or implies
Inlined CSS can't be cached for reuse on later page loads
03How it works

How to do it

  1. 1

    Find what is critical

    In Chrome DevTools open the Command Menu, run Show Coverage, and reload. Classes used for the visible content are critical; classes that only style hidden content are not.

  2. 2

    Inline the critical rules

    Put those rules in a <style> block in the head. web.dev suggests keeping above-the-fold content under 14 KB compressed, because for most servers about 10 packets, or roughly 14 KB, is the most that fits in the first round trip.

  3. 3

    Load the rest asynchronously

    Use the preload pattern below, or a CSS-deferring function such as loadCSS, which web.dev recommends in production.

  4. 4

    Re-run Lighthouse

    In web.dev's demo, the Eliminate render-blocking resources opportunity moved to passed audits and FCP fell from 1s to 0.8s. Newer Lighthouse versions report this under the Render-blocking requests insight.

Deferred stylesheet pattern from web.dev
<link rel="preload" href="styles.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="styles.css"></noscript>

The noscript link is the fallback for browsers that don't run JavaScript. web.dev adds that inline onload JavaScript may not work under a Content Security Policy, which is one reason it recommends a function like loadCSS in production.

04Worth knowing

Gotchas

Manual extraction doesn't scale

web.dev says working it out by hand requires analysis of the whole DOM, and lists tools that do it: Critical, CriticalCSS and Penthouse. Penthouse suits many styles or styles injected dynamically.

Above the fold depends on the screen

web.dev says there is no universally defined pixel height for it, because of the many devices and screen sizes. Critical, one of the extraction tools, supports extracting for multiple screen resolutions.

Moving the link to the bottom isn't a fix

web.dev says the browser still prioritizes the stylesheet, so it can still block critical content.

Questions

Asked a lot.

5 questions people ask next, answered from the sources on this page.

01What is critical CSS?

It is a technique that extracts the CSS for above-the-fold content in order to render content to the user as fast as possible. The styles are inlined in the head and the rest loads asynchronously.

02Does critical CSS improve SEO?

web.dev presents it as a way to improve render times, such as First Contentful Paint, not as an SEO tactic. It also warns that most sites can hit their performance targets without it.

03How big should critical CSS be?

web.dev suggests keeping above-the-fold content under 14 KB compressed, since about 10 packets, roughly 14 KB, is the most that most servers can send in the first round trip.

04What are the downsides of inlining CSS?

Inlined CSS can't be cached for reuse on later page loads, and a large amount delays the rest of the HTML document. web.dev says to use it sparingly.

05How do I find which CSS is critical?

Use the Coverage tool in Chrome DevTools to see which rules the initial render uses, or an extraction tool such as Critical or Penthouse.

Sources · 3

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • web.dev
  • chrome.com
  1. 01Extract critical CSSweb.dev · checked 2026-10-25
  2. 02Defer non-critical CSSweb.dev · checked 2026-10-25
  3. 03Eliminate render-blocking resources (Lighthouse)developer.chrome.com · checked 2026-10-25
Free · 2 minutes

Know the term. Now check your site.

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly