Feedback

Next.js speed statistics: 3,286 websites measured

Updated

Next.js is the framework behind many large brand sites and headless shops. It can render pages on the server and ship very little JavaScript, but many sites still hydrate large client-side bundles on every page, and that cost shows up in the field data.

Causes and fixes: Core Web Vitals for Next.js.

Core Web Vitals on Next.js

40% of the 3,286 measured Next.js websites pass all three Core Web Vitals with real-user data. Across all measured websites the figure is 53%.

MetricGoodMedianMiddle halfThreshold
LCP 67% 2066 ms 1580 ms – 2781 ms 2500 ms
INP 61% 171 ms 118 ms – 249 ms 200 ms
CLS 72% 0.04 0.01 – 0.12 0.10

In the mobile lab test these websites reach a median Lighthouse score of 49. The Website Speed Statistics describe how lab and field differ.

Who runs Next.js in this sample

Next.js sites in this sample are mostly brand sites, headless shops and software companies, often run by in-house teams and hosted on platforms such as Vercel or behind a CDN. The framework allows very different architectures, from static pages to fully client-rendered apps, and the field data mix all of them.

How to read your own Next.js values

On Next.js, INP tells you most about your own build, because it reflects how much JavaScript is hydrated on the page. Compare it with the faster quarter of this sample rather than the median. LCP and time to first byte depend more on hosting and caching choices, so compare them with sites that render the same way, static or on demand.

Next.js by region

Field data of Next.js websites per region.

RegionWebsitesPass all threeLCP p50INP p50CLS p50
Worldwide 3286 40% 2066 ms 171 ms 0.04
DACH 127 60% 1564 ms 163 ms 0.02
United Kingdom 96 41% 1719 ms 185 ms 0.06

From 30 websites per region.

More metrics: TTFB, FCP, TBT and Speed Index

Thresholds and sources: Website Speed Statistics.

MetricSourceGoodNext.js medianAll websites medianThreshold
Time to First Byte Field data, phone 52% 787 ms 759 ms 800 ms
First Contentful Paint Field data, phone 63% 1547 ms 1515 ms 1800 ms
Total Blocking Time Lab, mobile 23% 642 ms 264 ms 200 ms
Speed Index Lab, mobile 10% 7578 ms 6990 ms 3400 ms

Page weight and third-party code

A Next.js home page transfers 3.5 MB at the median, of which 1.5 MB is JavaScript. 93% load third-party code, from a median of five providers.

ProviderShareMain thread (median)
Google Tag Manager 70% 354 ms
Google Analytics 45% < 1 ms
Google Ads (DoubleClick) 41% 5 ms
Other Google APIs and SDKs 33% < 1 ms
Meta (Facebook) 29% 244 ms
Google Fonts 21% < 1 ms

Most common lab findings

FindingShareSaving (median)
Render-blocking resources 91% 750 ms
Unused JavaScript 80% 1375 ms
Images not properly sized 73% 1431 ms
Unused CSS 45% 300 ms
Images not in next-gen formats 41% 2064 ms

Typical Next.js performance bottlenecks: INP fails most often on its own

Hydration of big React trees is the typical reason for a slow INP on Next.js sites. LCP suffers when the hero image is rendered on the client or loaded without priority. Server components, smaller client bundles and the built-in image component with fetchPriority="high" on the LCP image address most of it.

When a Next.js website misses the Core Web Vitals because of one metric only, it is most often INP, on 13% of Next.js websites. Several metrics at once fail on 29% of Next.js websites.

An img, picture or video element is the LCP element of 67% of the Next.js home pages tested in the lab, while the figure for all websites is 55% (CSS backgrounds not counted). The largest part of Next.js lab LCP time is most often element render delay, on 50% of the websites, median across all pages 683 ms. When the LCP element has no resource, such as a block of text, Lighthouse counts all time after time to first byte as render delay.

Among third parties, Google Tag Manager uses the most main-thread time on Next.js websites: 354 ms at the median, loaded on 70% of them.

The biggest gap in page weight between Next.js and all websites lies in JavaScript, with 1.5 MB at the median against 1,009 KB.

In the mobile lab test, Next.js home pages reach a Total Blocking Time of 642 ms at the median, against 264 ms across all websites.

Related guides: Interaction to Next Paint (INP) · Largest Contentful Paint (LCP) · Reduce unused JavaScript

Other platforms

How does your Next.js site compare?

Run a free test and put your values next to the Next.js median.