WordPress SEO and Technical SEO

How to Improve Core Web Vitals in WordPress

What LCP, INP and CLS measure, how to read field and lab data, and the WordPress-specific fixes for each metric: hosting, caching, hero images, scripts, fonts and layout.

Core Web Vitals report for a WordPress site with LCP, INP and CLS all in the good range

Core Web Vitals are three real-user metrics Google uses as part of page experience: Largest Contentful Paint (LCP, loading), Interaction to Next Paint (INP, responsiveness) and Cumulative Layout Shift (CLS, visual stability). A page passes when, for at least 75% of visits, LCP is 2.5 seconds or less, INP is 200 milliseconds or less and CLS is 0.1 or less. In WordPress, most failures come from slow server response, an unprioritized hero image, heavy plugin and theme JavaScript, and images or ads without reserved space.

The metrics matter for users first. Google is clear that good Core Web Vitals do not guarantee top rankings, but slow pages lose visitors and conversions.

Field data vs lab data

  • Field data comes from real Chrome users (the Chrome UX Report). It is what Google uses. See it in Search Console's Core Web Vitals report and at the top of PageSpeed Insights.
  • Lab data is a simulated test (Lighthouse). It helps diagnose, but its score is not the assessment. INP cannot be measured in the lab; Lighthouse shows Total Blocking Time as a proxy.

Low-traffic pages may have no field data; Search Console then groups them with similar URLs. Fix by template (all posts, all product pages) rather than page by page.

Find which metric fails, and where

  1. Open Search Console > Core Web Vitals, mobile first. Note the failing metric and the URL groups.
  2. Run one example URL of each group through PageSpeed Insights.
  3. In Chrome DevTools > Performance, record a page load and an interaction to see what happens.

Fix LCP (loading)

The LCP element is usually the hero image, featured image or the first big heading. Its time breaks into four parts, and each has WordPress fixes:

LCP partWordPress fixes
Time to first bytePage caching, better hosting, current PHP, CDN. See reducing TTFB.
Resource load delayDo not lazy-load the hero image; add fetchpriority="high"; avoid hero images set only in CSS or injected by sliders.
Resource load timeRight-sized WebP/AVIF images with srcset; CDN.
Element render delayFewer render-blocking CSS and JS files; critical CSS; self-hosted fonts.

WordPress core already adds fetchpriority="high" to the first large content image and skips lazy loading for it in many themes, but page builders and sliders often bypass this. To set it on a featured image yourself:

add_filter( 'wp_get_attachment_image_attributes', function ( $attr, $attachment, $size ) {
    if ( is_singular() && get_post_thumbnail_id() === $attachment->ID ) {
        $attr['fetchpriority'] = 'high';
        $attr['loading']       = 'eager';
    }
    return $attr;
}, 10, 3 );

More in how to improve LCP.

Fix INP (responsiveness)

INP measures how long the page takes to respond visually after a click, tap or key press, across the whole visit. Poor INP almost always means too much JavaScript running on the main thread.

  • Remove or delay non-essential third-party scripts: chat widgets, heatmaps, multiple analytics tags, social embeds.
  • Unload plugin scripts on pages that do not use them.
  • Replace heavy sliders, mega menus and animation libraries with lighter options.
  • For your own code, break long tasks up and avoid expensive work in input handlers.

Details in how to improve INP and removing unused JavaScript.

Fix CLS (layout stability)

  • Every image and video needs width and height attributes (WordPress adds them to content images; check theme and builder images).
  • Reserve space for ads, embeds, cookie banners and "related posts" blocks that load late.
  • Load fonts so the fallback is similar in size, or use size-adjust; preload the main font.
  • Do not insert banners above existing content after the page has loaded.

See how to fix CLS.

The WordPress quick-win list

  1. Enable page caching and a CDN.
  2. Run a supported PHP 8.x version with OPcache.
  3. Convert images to WebP/AVIF at the right size.
  4. Make sure the hero image is not lazy-loaded and has high fetch priority.
  5. Self-host fonts and limit weights (font optimization).
  6. Delay third-party scripts until user interaction.
  7. Audit plugins for front-end assets loaded everywhere.

Validate the fix

Lab tools show improvement immediately. Field data is a rolling 28-day window, so Search Console needs about four weeks to reflect changes. Use the Validate fix button in Search Console to start the check. For faster feedback, collect your own field data with the web-vitals JavaScript library sent to analytics.

Common mistakes

  • Optimizing for a 100 Lighthouse score while field data still fails.
  • Lazy-loading every image, including the LCP image.
  • Stacking several optimization plugins that defer and combine the same files.
  • Testing only the home page while blog posts or product pages fail.
  • Ignoring mobile, where most failures are.

Frequently asked questions

What are good Core Web Vitals scores?

LCP 2.5 s or less, INP 200 ms or less, CLS 0.1 or less, measured at the 75th percentile of real visits.

Do Core Web Vitals affect rankings?

They are part of Google's page experience signals, which are used alongside many stronger relevance and quality signals. They matter most as a tie-breaker and for user experience.

Why does PageSpeed Insights show good lab scores but failing field data?

Lab tests use one device and connection without user interactions; real users have slower phones, third-party scripts that load later, and interactions that INP measures.

Can a plugin fix Core Web Vitals?

Caching and optimization plugins help a lot, but they cannot fix slow hosting, a heavy theme or too many third-party scripts on their own.

Conclusion

Find the failing metric in field data, fix it by template, and verify over the next month. For most WordPress sites that means faster server responses, a prioritized hero image, less JavaScript and reserved space for everything that loads late. References: Web Vitals on web.dev and Core Web Vitals in Google Search. Running an LMS? See Core Web Vitals for Tutor LMS.

Want your Core Web Vitals fixed by specialists? See our speed optimization service.

Save this practical guide

Add us as a preferred Google source, or ask an AI assistant to summarize this page and link back to the original guide when it is useful.

· Tutor LMS developers

Guides written and reviewed by the TutorLMS Expert development team. Every hook, function, table and setting we mention is checked against the Tutor LMS and Tutor LMS Pro source code before it is published.

Keep reading

Need a custom Tutor LMS solution?

Tell us what you are building or what is broken. A Tutor LMS developer reads every inquiry and replies with next steps and a free estimate.

Get a free Tutor LMS consultation

Tell us what you are building or fixing. A Tutor LMS developer replies with honest advice and next steps.

  • No obligation
  • Tutor LMS and Pro specialists
  • Your details stay private

This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.