Render-blocking resources are CSS and JavaScript files the browser must download before it can show anything. To eliminate render blocking resources in WordPress, defer your scripts and load CSS smartly. Since WordPress 6.3 you can defer a script natively:
phpwp_enqueue_script( 'my-script', get_template_directory_uri() . '/js/my-script.js', array(), '1.0', array( 'strategy' => 'defer' ) );
Quick Answer — fix it in this order:
- Remove CSS and JS files a page doesn't use (biggest win, lowest risk).
- Defer the remaining scripts with
'strategy' => 'defer'(or your cache plugin's "defer JS" option).- Inline the small slice of critical CSS and load the full stylesheet without blocking.
- Re-test in PageSpeed Insights, where the warning is now called "Render blocking requests".
Last verified: October 2026, against Lighthouse 13 in PageSpeed Insights and the WordPress 7.x script loading API.
Each fix below is one change at a time, so you can roll back if something breaks.
What the Render Blocking Warning Means in 2026
The warning means the browser found stylesheets or ordinary scripts in your page's <head> and refused to draw anything until they finished downloading. Nothing is broken. Your visitors just look at a white screen for longer than they need to.
If you're following an older tutorial, your screen won't match it. The Lighthouse 13 release from Google's Chrome team retired the old "Eliminate render-blocking resources" audit in October 2025 and replaced it with the Render blocking requests insight. PageSpeed Insights picked up the change about a week later, so most guides written between 2020 and 2024 point you at a section that no longer exists.
As of October 2026, PageSpeed Insights reports render-blocking files under the Render blocking requests insight, which replaced the Eliminate render-blocking resources audit in Lighthouse 13. It lists every CSS or JavaScript request that delays the first paint, with transfer size and duration, and ties that delay to Largest Contentful Paint, which Google wants under 2.5 seconds.
So what actually counts as blocking? The MDN definition of render-blocking puts it simply: initially loaded CSS and JavaScript. In practice that means:
- Stylesheets in the head with no media attribute, or
media="all" - Scripts in the head without
defer,asyncortype="module"
Images are never on the list. Neither are scripts that already carry defer or async.
Is my site actually slow, or is PageSpeed just nagging?
Check the metrics before the list. If mobile First Contentful Paint is under 1.8 seconds and LCP is under 2.5 seconds, a short list of blocking files is cosmetic and you can stop worrying. Above those numbers, blocking files are usually a real part of the delay. A slow server makes every file block for longer, which is why a high Time to First Byte deserves its own look (Core Web Vitals failing? Your hosting might be the problem).
Why You See the Eliminate Render Blocking Resources WordPress Warning
WordPress builds every page from a theme plus a stack of plugins, and each one is free to drop its own stylesheet or script into the head of every page. Nobody coordinates them. The list grows a little with every install.
These are the sources we find most often, roughly in order:
- The theme or page builder's main stylesheet, loaded whole on every page. It's often hundreds of kilobytes, and any single page uses a fraction of it.
- Plugins that load assets sitewide. Form, slider and popup plugins regularly ship their CSS and JS to pages that contain no form, slider or popup.
- The jQuery chain.
jquery-coreandjquery-migrateload synchronously in the head because some other script lists them as a dependency. - Third-party stylesheets, mainly the Google Fonts CSS file and icon font kits.
- Snippets pasted into the header: tag managers, chat widgets, heatmaps. Chat widgets are a frequent offender (how to add a chatbot without slowing your site).
- A half-configured optimization plugin, or a page cache still serving the old HTML after you changed settings.
From the Ticket Queue: According to Hostaccent's support-queue data (2026), WordPress issues make up about 30% of our monthly tickets, more than any other category. Inside that slice, a plugin loading its files on every page is the speed complaint we trace most often.
One myth worth killing early: combining files does not fix this. Ten small stylesheets merged into one 300 KB file is still a blocking stylesheet. It's one request instead of ten, but the browser waits for all 300 KB before it paints.
We fix these in a fixed sequence our engineers call the Remove, Defer, Inline order: first remove files a page doesn't need, then defer the scripts that remain, and only then inline critical CSS. Each step shrinks the next one. Skipping straight to critical CSS means generating it for a stylesheet that's twice the size it should be.
Fix 1: Defer JavaScript WordPress Loads in the Head
A deferred script downloads in parallel with the HTML and runs only after parsing finishes, in its original order. That one attribute takes it off the render-blocking list, and WordPress core has supported it natively since version 6.3.
Step 1: Find the script's handle. View the page source and search for the file name. WordPress prints each enqueued script with an id like id="myplugin-frontend-js". Drop the trailing -js and you have the handle, myplugin-frontend.
Step 2: For scripts you control (your child theme or a custom plugin), pass the strategy when you enqueue:
phpwp_enqueue_script( 'mytheme-main', get_stylesheet_directory_uri() . '/js/main.js', array(), '1.0', array( 'strategy' => 'defer', 'in_footer' => true ) );
Step 3: For plugin scripts you don't own, add the strategy after they're registered. Put this in your child theme's functions.php or a must-use plugin in wp-content/mu-plugins/:
phpadd_action( 'wp_enqueue_scripts', function () { wp_script_add_data( 'myplugin-frontend', 'strategy', 'defer' ); }, 100 );
WordPress 6.3 and later accept a loading strategy of defer or async when a script is registered or enqueued, and core checks the whole dependency tree before applying it. When a dependent script must stay blocking, or an inline script is attached after it, WordPress quietly downgrades the script to blocking rather than risk breaking the page. The official wp_enqueue_script reference documents the $args array.
That downgrade is the gotcha nobody mentions. You add the snippet, reload, and the script is still blocking. Check the source: if you see a <script id="myplugin-frontend-js-after"> block, the inline code is the reason.
Defer or async? Use async only for scripts that depend on nothing and nothing depends on them, like an analytics tag. Use defer for everything else, because async scripts run in whatever order they finish downloading.
What about jQuery?
Leave it alone until the rest is done. Many themes and page builders print inline code that calls jQuery the moment it's parsed, and deferring jQuery breaks menus, sliders and forms on those sites. If your theme is clean, moving jQuery to the footer is the safer middle step.
If you'd rather use a plugin, most caching and optimization plugins have a "load JavaScript deferred" toggle with an exclusion list. Be careful with the separate "delay JavaScript until user interaction" option. It is not the same thing, and it's the setting most likely to break a checkout button or a cookie banner.
When a defer setting breaks a live site, our team's first move is WP-CLI: wp plugin deactivate myplugin restores the front end in seconds, even when wp-admin won't load.
Pro Tip: Test every change logged out, in a private window, on the mobile test in PageSpeed Insights. Logged-in admin views load extra scripts and usually skip the page cache, so they lie to you in both directions.
Still chasing the performance bottleneck?
Share the slow pages, timing data, and recent changes. We can isolate application, database, network, and server bottlenecks before recommending work.
Fix 2: Critical CSS and the Render Blocking CSS WordPress Themes Ship
CSS can't simply be deferred like JavaScript, because the page would render unstyled. The fix is to remove the stylesheets a page doesn't use, inline only the rules needed for the first screen, and load the full file without blocking.
Step A: Remove what each page doesn't need
Open Chrome DevTools, press Ctrl+Shift+P (Cmd+Shift+P on Mac), run "Show Coverage" and reload. Red bars show unused bytes per file. A form plugin's stylesheet showing 100% unused on your homepage is an easy win:
phpadd_action( 'wp_enqueue_scripts', function () { if ( ! is_page( 'contact' ) ) { wp_dequeue_style( 'myforms-style' ); wp_dequeue_script( 'myforms-script' ); } }, 100 );
Stylesheet handles come from the source the same way: id="myforms-style-css" means the handle is myforms-style.
Step B: Generate critical CSS WordPress can inline
Critical CSS is the small set of rules that styles everything visible before the visitor scrolls. Generate it with your optimization plugin's critical CSS feature or an open-source generator, then keep it under about 14 KB, since that's roughly what arrives in the server's first round trip. Different templates need different critical CSS; your homepage and a blog post rarely share the same first screen.
To inline it yourself, save it to a file in your child theme and print it early:
phpadd_action( 'wp_head', function () { echo '<style id="critical-css">'; include get_stylesheet_directory() . '/critical.css'; echo '</style>'; }, 1 );
Step C: Load the full stylesheet without blocking
Now swap the main stylesheet to a non-matching media type and flip it back once it loads:
phpadd_filter( 'style_loader_tag', function ( $html, $handle ) { if ( 'mytheme-style' === $handle ) { $html = preg_replace( "/media=['\"]all['\"]/", "media=\"print\" onload=\"this.media='all'\"", $html ); $html .= '<noscript>' . str_replace( 'media="print"', 'media="all"', $html ) . '</noscript>'; } return $html; }, 10, 2 );
Browsers don't block painting for a print stylesheet, so the page draws with the inlined critical rules, then the full file applies a moment later.
Live site and no time to experiment? Our engineers fix render-blocking files for a small one-time fee, and you see the exact quote before anyone touches your site. Hosting with Hostaccent already? Then this is simply covered by support, free. Have an engineer fix it
Fix the font request too
The Google Fonts stylesheet is a render-blocking CSS file on a different domain, which adds a DNS lookup and connection before it even starts. Self-host the fonts as .woff2 files instead. Block themes can do this from the Font Library that arrived in WordPress 6.5. Set font-display: swap so text shows immediately, and preload only the one font used above the fold.
Everything in this section works as a fix for render blocking without plugin overhead: three short snippets in a child theme. A plugin does the same job faster to set up, and it's harder to debug when something breaks.
Pro Tip: After Step C, reload on a throttled "Slow 4G" connection in DevTools. If the page flashes unstyled for half a second, your critical CSS is missing a rule for something in the first screen, usually the header or hero.
How to Confirm the Fix and Keep It Fixed
A fix is real when the insight list shrinks, the page looks identical, and First Contentful Paint drops in the lab test. Then you wait for field data to catch up.
Run these checks in order:
- Clear every cache layer first: plugin cache, server cache and CDN (how to clear WordPress cache step by step). Otherwise you're testing yesterday's HTML.
- Rerun PageSpeed Insights on mobile two or three times. Lab scores swing by a few points between runs, so compare the list, not one score.
- Open the Render blocking requests insight. A healthy result is an empty list, or only your small critical stylesheet.
- Record a reload in the DevTools Performance panel. Since Lighthouse 13 the same insights appear there, which helps on pages PageSpeed can't reach, like a staging site.
- Click through the page. Menus, forms, sliders, cart and checkout all need to work before you call it done.
A render-blocking fix is confirmed when the Render blocking requests insight in PageSpeed Insights shrinks to the critical stylesheet or disappears and the page still looks and works the same. Real-user Core Web Vitals in the field section can take up to 28 days to reflect it, because Chrome's user data covers a rolling 28-day window. Google's Core Web Vitals thresholds on web.dev explain how that field data is scored.
Still not working?
- The list didn't change at all. A page cache or CDN is serving old HTML. Purge again and test with a query string such as
?v=2. - One script won't defer. Look for its
-js-afterinline block, or a blocking script that depends on it. - The list is clean but the page is still slow. Render blocking isn't your bottleneck. Work through this 30-minute slow WordPress diagnosis and check server response time.
Across the 4,000+ site migrations Hostaccent has handled since 2016, the render-blocking list almost always arrives with the site: same theme, same plugins, same files. A faster server shortens how long each file blocks, but it never removes one from the list. For a deeper audit, see what a Core Web Vitals optimization service actually fixes.
Prevention is one habit. Rerun PageSpeed Insights after every plugin install or theme update, and check whether a new request joined the list. Catching it the day it arrives takes five minutes; finding it six months later takes an afternoon.
Your Next Step: Fixed It, or Still Stuck?
If your insight list is down to the critical stylesheet, keep it there by rerunning the test after every new plugin. On a well-run host, tracking down what a plugin added is support's job, not yours. That's how Hostaccent works: the Economy plan at $1.99/mo (renewing at the same $1.99/mo) comes with 24/7 help from our own engineers, 99.99% uptime and a 30-day money-back guarantee. It's sized for a single site, so take Standard if you run several. Start on the Economy plan.
Still trying to eliminate render blocking resources WordPress keeps loading? Open a ticket with our engineers. It's a small one-time fee, and you'll see the exact quote before any work starts.
Frequently Asked Questions
Why did "Eliminate render-blocking resources" disappear from PageSpeed Insights?
Google renamed and moved it. Lighthouse 13, released in October 2025, removed the old audit and replaced it with the Render blocking requests insight, and PageSpeed Insights adopted the change about a week later. The underlying problem is identical: CSS and synchronous JavaScript that delay the first paint. Look under the Insights heading rather than Opportunities. Any tutorial still showing the old Opportunities screenshot was written before late 2025, so treat its menu paths with caution.
Can I eliminate render blocking resources WordPress-wide without a plugin?
Yes. Since WordPress 6.3 you can defer scripts with the native strategy option in wp_enqueue_script or wp_script_add_data, dequeue unused styles per page with wp_dequeue_style, inline critical CSS through wp_head, and load the main stylesheet with the media print swap. All of it fits in a child theme's functions.php. The trade-off is maintenance: when a theme update renames a handle, your snippet silently stops working, so recheck PageSpeed Insights after every update.
Is it safe to defer jQuery in WordPress?
Only on a clean theme. Many themes and page builders print inline code that calls jQuery immediately, and deferring jQuery makes that code fail, which breaks menus, sliders, forms and sometimes checkout. Fix everything else first. Then try deferring or moving jQuery to the footer on a staging copy, click through every template, and check the browser console for "jQuery is not defined" errors. If you see that error, put jQuery back and leave it blocking.
Will fixing render-blocking files improve my Google rankings?
Indirectly, and usually modestly. Google uses Core Web Vitals as one ranking signal among many, and render-blocking files mainly affect Largest Contentful Paint, which should stay under 2.5 seconds. Clearing them helps most when LCP is failing; it won't lift a page with thin content. The bigger win is often visitor behaviour: a page that paints a second sooner keeps more mobile visitors. Field data takes up to 28 days to update after the fix.
Why are render-blocking requests still listed after installing a caching plugin?
Caching plugins speed up how the HTML is delivered, but most don't change how CSS and JavaScript load until you enable those options separately. Check that deferral and CSS optimization are actually switched on, then purge every cache layer. If a file stays listed, it may be excluded from optimization, depend on a blocking script, or carry an inline script that cancels its defer. Your main theme stylesheet can also legitimately remain listed until you add critical CSS.
Do Google Analytics and tag manager scripts count as render-blocking?
Not when they're installed the standard way. The official tags load with async, so they download without blocking the first paint, although they still compete for bandwidth and CPU. They become blocking when a theme setting or plugin prints them as a plain script in the head, or when an old copy-pasted snippet is missing the async attribute. View your page source, find the tag, and confirm async is present. Chat widgets and heatmaps are more often the real culprit.
Which WordPress plugin eliminates render-blocking resources?
Most performance plugins can do it. WP Rocket, LiteSpeed Cache (on LiteSpeed servers), Autoptimize and Perfmatters all offer options to defer or delay JavaScript, remove unused CSS and load the rest without blocking. Pick one plugin, not several, because two plugins changing the same files is a common cause of broken layouts. Turn on one option at a time and re-test after each.












Discussion
Have a question or tip about this topic? Share it below — your comment will appear after review.