# What is LCP (Largest Contentful Paint)?

> Largest Contentful Paint (LCP) measures how long the largest image or text block in the viewport takes to render; good is 2.5 seconds or less.

URL: https://yes-seo.com/glossary/lcp

**Largest Contentful Paint (LCP)** is the time from when a user starts loading a page until the largest image, video poster or block of text in the viewport has rendered. It is the loading metric of [Core Web Vitals](https://yes-seo.com/glossary/core-web-vitals) and the closest single number to “when did the page look ready?”

## Thresholds

- **Good:** 2.5 seconds or less

- **Needs improvement:** between 2.5 and 4 seconds

- **Poor:** more than 4 seconds

As with every Core Web Vital, Google looks at the 75th percentile of real page loads, separately for mobile and desktop ([web.dev: LCP](https://web.dev/articles/lcp)).

## What counts as the LCP element

Candidates are images (including the poster image of a video), elements with a CSS background image, and block-level elements that contain text. On most pages the winner is the hero image or the opening heading and paragraph. Elements the browser treats as low-content, such as full-screen background images or transparent placeholders, are skipped. LCP also stops updating once the user scrolls or taps.

## The four parts of LCP

web.dev’s [LCP optimization guide](https://web.dev/articles/optimize-lcp) splits the metric into four parts. Fixing LCP means finding out which one is large:

- **Time to first byte** — the server response; see [TTFB](https://yes-seo.com/glossary/ttfb).

- **Resource load delay** — the gap before the browser even starts fetching the LCP image.

- **Resource load duration** — how long the image takes to download.

- **Element render delay** — the wait until it actually paints, often caused by CSS or JavaScript.

## Example: a fast hero image

```

```

A real `<img>` in the server HTML is discovered immediately. `fetchpriority="high"` moves it to the front of the download queue, AVIF and responsive sizes cut the bytes, and the width and height attributes prevent a layout shift when it arrives.

## Common mistakes

- **Lazy-loading the hero image.** `loading="lazy"` on an above-the-fold image deliberately delays it. Keep [lazy loading](https://yes-seo.com/glossary/lazy-loading) for content further down.

- **Hero images set in CSS or injected by JavaScript**, which the browser discovers late. If you can’t avoid it, add a `<link rel="preload" as="image">` in the head.

- **Multi-megabyte photos** sent unchanged to phones.

- **Slow servers and redirect hops** that eat the budget before anything downloads.

- **Web fonts hiding text** while they load; `font-display: swap` or `optional` lets text appear right away.

## Test it

The [page speed test](https://yes-seo.com/page-speed-test) shows field LCP from PageSpeed Insights when available, together with server response time, image weight and formats, and render-blocking resources — the usual suspects behind each part. The [image checker](https://yes-seo.com/image-alt-checker) flags oversized files and images with lazy loading.

## Frequently asked questions

### What is a good LCP score?

Google considers 2.5 seconds or less good, 2.5 to 4 seconds in need of improvement, and over 4 seconds poor, measured at the 75th percentile of real visits.

### Why is my LCP worse on mobile than on desktop?

Phones have slower processors and often slower, higher-latency connections, and they may download a hero image that wasn’t sized for them. Responsive images, a fast server and fewer render-blocking files help most.

### Does LCP include images below the fold?

No. Only elements visible in the viewport during loading count, and LCP stops being updated once the user scrolls, taps or presses a key.

