Core Web Vitals Optimization: Fix LCP, INP & CLS
Learn how to measure and improve Core Web Vitals in Next.js by diagnosing LCP, INP, and CLS issues with field and lab data.

Core Web Vitals optimization: what to measure
Core Web Vitals measure aspects of loading, interactivity, and visual stability. They are part of Google's page experience signals, but passing the assessment does not guarantee rankings. Review the current metric definitions and thresholds at web.dev.
For a complete technical review that includes performance, use the technical SEO audit checklist. If you need hands-on performance work, explore Core Web Vitals optimization.
Fixing Largest Contentful Paint (LCP) — Target < 2.5s
LCP measures loading performance. It marks the time in the page load timeline when the page's main content has likely loaded.
Engineering Solutions:
- Prioritize the LCP resource: Identify the actual LCP element, then ensure its resource is discoverable and not unnecessarily delayed.
- Reduce server and network delays: Measure TTFB and use caching where it fits the application; do not assume a fixed target applies to every site.
// Optimize Hero Images in Next.js
import Image from 'next/image';
export default function Hero() {
return (
<Image
src="/hero-image.avif"
alt="Descriptive alternative text for the page's hero image"
fill
priority
fetchpriority="high"
/>
);
}
Fixing Interaction to Next Paint (INP) — Target < 200ms
INP replaced First Input Delay (FID). It measures a page's overall responsiveness to user interactions (clicks, taps, and keyboard inputs). If a button click feels "laggy", you have an INP problem.
Engineering Solutions:
- Reduce main-thread work: Limit unnecessary JavaScript and split long tasks; use server components where appropriate for the app.
- Defer Scripts: Use the Next.js
next/scripttag withstrategy="lazyOnload"for non-critical third parties.
Fixing Cumulative Layout Shift (CLS) — Target < 0.1
CLS measures visual stability. It quantifies how much page content shifts around unexpectedly as assets load, which frustrates users.
Engineering Solutions:
- Reserve media space: Provide intrinsic dimensions or an aspect ratio so images and embeds do not unexpectedly move surrounding content.
- Skeleton Screens: When fetching data client-side, render fixed-height skeleton placeholders so the layout remains stable when data arrives.
Measuring & Monitoring Core Web Vitals
Don't rely solely on synthetic lab data. Use Google PageSpeed Insights to track real field data from actual Chrome users over a 28-day rolling window.
Use these checks as part of the full technical SEO audit checklist. For implementation support, explore our Core Web Vitals optimization service.
Need help improving Core Web Vitals?
Get an engineering review of loading, responsiveness, and layout stability on your site.
View Core Web Vitals package