DOM tree depth and the Core Web Vitals
36.6% of audited sites (77,048) keep maximum DOM depth between 15 and 20 levels (99% good INP, 49ms median), while 30.5% nest 21 to 31 levels deep (99% good INP) and 4.7% reach 32+ levels (98% good INP).
36.6% of sites use 15 to 20 DOM levels maximum DOM depth, and 99% of those sites have a good INP, against 99% of all sites.
INP pass rate
Sites with 15 to 20 DOM levels maximum DOM depth have a good INP most often: 99%, against 99% of all sites. Sites with 32+ DOM levels DOM depth have it least often, at 98%.
Maximum DOM depth usage
15 to 20 DOM levels is the most used: 36.6% of sites.
Understanding maximum DOM depth
Why deeply nested wrapper chains slow down event bubbling and layout
Maximum DOM depth measures the longest chain of nested parent-child elements from the root html tag to the deepest leaf node. Across 77,048 sites (36.6%) at 15 to 20 levels, 99% achieve good INP (49ms median). Another 30.5% (64,257) nest 21 to 31 levels deep (99% good INP, 52ms median), while the 4.7% (9,886) exceeding 32 levels drop to 98% good INP (53ms median).
Keep maximum DOM nesting depth below 20 levels by replacing nested flex/column wrapper divs with CSS Grid and using fragments in component frameworks so component boundaries do not emit extra DOM containers. Across all audited sites, 36.6% sit at 15 to 20 levels (99% good INP) and 4.7% exceed 32 levels (98% good INP).
How maximum DOM depth plays out per platform
What the field data shows when you isolate a single CMS or framework.
98% of Shopify stores have fewer than 32 DOM levels, while 1.6% reach 32+ levels (94% good INP).
Across 8,980 Shopify stores, 44.5% sit at 15 to 20 DOM levels (100% good INP), 48.9% sit at 21 to 31 levels (99% good INP), and 1.6% sit at 32+ levels (94% good INP).
82% of React & Next.js sites have a DOM depth above 20 levels (39.8% at 32+ levels).
Across React sites, 42.6% have a maximum DOM depth of 21 to 31 levels (99% good INP) and 39.8% have 32+ levels (99% good INP).
61.7% of Wix sites have 32+ DOM levels (100% good INP).
Across Wix sites, 61.7% have a maximum DOM depth of 32+ levels (100% good INP) and 37.6% have 21 to 31 levels (100% good INP).
By Arjen Karel · 219,633 crawled sites (72,596 with desktop Chrome field data, 210,341 sites with maximum DOM depth, November 2026). How we measured.