Largest Contentful Paint (LCP)
Largest Contentful Paint (LCP) is a Core Web Vitals metric that measures how long the largest image or text block in view takes to render, with 2.5 seconds or less rated good.
Also called: LCP, largest contentful paint, LCP score, LCP element, slow LCP
Largest Contentful Paint, or LCP, is a Core Web Vitals metric that measures how long it takes for the largest image or text block in view to render. It's a stand-in for "when does the main content show up?" Google rates 2.5 seconds or less as good, measured from when the page starts loading.
How it works
The browser picks the largest visible element as the page loads. Candidates include images, video poster images, background images loaded through CSS and block-level text like a headline or paragraph. It updates the candidate as bigger elements render and stops once the visitor interacts.
Google's thresholds, judged at the 75th percentile of real visits:
- Good: 2.5 seconds or less
- Needs improvement: above 2.5 up to 4 seconds
- Poor: above 4 seconds
LCP breaks into four parts. Each one has its own fixes.
- Time to first byte: how long the server takes to start sending the page. Fix with caching, a CDN and faster hosting.
- Resource load delay: the gap before the browser starts fetching the LCP image. Fix by not lazy-loading it, preloading it and marking it high priority.
- Resource load duration: how long the image takes to download. Fix with compression, modern formats and sizes that match the screen.
- Element render delay: time between download and paint. Fix by trimming render-blocking CSS and JavaScript, and avoiding heroes that only appear after scripts run.
Most of the time, the LCP element is the hero image or headline above the fold. That makes the fix list short and specific.
Example
A paid landing page has an LCP of 4.8 seconds on mobile (all numbers hypothetical). The hero image is a 1.8 MB PNG inside a script-driven slider, and it's lazy-loaded.
| Part | Before | Fix | After |
|---|---|---|---|
| Time to first byte | 900 ms | Cache the page at the CDN edge | 300 ms |
| Load delay | 1,600 ms | Remove the slider and lazy-loading, preload the image | 100 ms |
| Load duration | 1,900 ms | Convert to a modern format at the right size, about 180 KB | 400 ms |
| Render delay | 400 ms | Inline critical CSS, defer non-essential scripts | 150 ms |
| Total | 4,800 ms | 950 ms |
The page goes from poor to good. The slider was the biggest problem. It hid the image from the browser until a script ran, so the download started late. One static hero image fixed more than any server change.
By company size
Small business: Giant uncompressed hero photos and slider carousels are the usual causes on theme-based sites. Compress images before upload, drop sliders and use one strong hero. Test on a phone over a mobile connection.
Mid-market: Hero videos, heavy web fonts and sites that render the main content with client-side JavaScript slow LCP down. Use your framework's image tools, render the hero on the server and limit font files.
Enterprise: Global audiences need CDN coverage everywhere you sell. Personalization that swaps the hero after load and testing tools that hide the page until scripts finish can quietly add seconds. Monitor LCP by template and region with real-user data.
LCP vs page load time
Page load time waits for everything, including scripts and images far below the fold. LCP marks when the main content appears, which is closer to when a visitor feels the page is ready. A page can take eight seconds to fully load and still have a good LCP.
Why it matters for GTM teams
LCP is the first impression of every landing page. When a paid click lands on a blank screen, part of that spend is wasted before the visitor sees the offer. We'd check LCP on the top ad landing pages first, using real mobile data, then fix the hero element. Pair it with Cumulative Layout Shift and Interaction to Next Paint for the full page speed picture.
Common mistakes
- Lazy-loading the hero image.
- Using an autoplay hero video as the main element.
- Anti-flicker snippets from testing tools that hide the page until they load.
- Testing only on office wifi and a fast laptop.
- Shrinking images but ignoring slow server response.
- Headline fonts that block text from rendering.
FAQ
What is a good LCP score?
Google rates 2.5 seconds or less as good, between 2.5 and 4 seconds as needing improvement, and above 4 seconds as poor. Scores are judged at the 75th percentile of real visits, usually split by mobile and desktop. Mobile is often the harder one to pass.
What counts as the LCP element?
It is the largest image or text block visible in the viewport as the page loads. That can be an image, a video poster image, a background image loaded through CSS or a block of text such as a headline. The browser updates the candidate as larger elements appear and stops at the first user interaction.
Should I lazy-load my hero image?
No. Lazy-loading delays images until the browser decides they are needed, which slows down the main above-the-fold image. Load the hero image normally, give it high priority and lazy-load only images further down the page.