What is the priority prop in next/image?
priority told Next.js that an image is critical, usually the Largest Contentful Paint (LCP) image: it disabled lazy loading and preloaded the image. In Next.js 16 priority is deprecated and replaced by the clearer preload prop, with loading="eager" and fetchPriority="high" as finer-grained alternatives.
What it did
- Added a
<link rel="preload" as="image">with the rightimagesrcsetto the<head>. - Set
fetchpriority="high"and disabledloading="lazy".
Next.js 16 options
preload: inserts a preload<link>in the head. Use for the single most important image.loading="eager": load immediately, no lazy loading.fetchPriority="high": tell the browser to prioritize the request.
The docs say that in most cases loading="eager" or fetchPriority="high" is enough, and to use preload only when the image must start loading before the browser discovers it, for example a hero background rendered after other markup.
Choosing the image
Use one per page: the hero, the main product photo, or the first visible article image. Check which element is the LCP in Chrome DevTools or Lighthouse. Marking many images as high priority makes them compete and helps none.
Do not combine
Do not use preload together with loading="lazy". For art-directed images that switch at breakpoints, use fetchPriority="high" instead of preload so both variants are not downloaded.
Code example
1// app/page.tsx2import Image from "next/image";3import hero from "./hero.jpg";45export default function Home() {6 return (7 <main>8 {/* Next.js 16: preload replaces the deprecated priority prop */}9 <Image src={hero} alt="Mountain lake at sunrise" preload sizes="100vw" />1011 {/* Often enough: eager + high fetch priority */}12 <Image13 src="/product.jpg"14 alt="Product"15 width={800}16 height={800}17 loading="eager"18 fetchPriority="high"19 />2021 {/* Before (Next.js 15 and earlier): */}22 {/* <Image src={hero} alt="..." priority /> */}23 </main>24 );25}
Practice this question
Open it in the study app to track progress, take notes, listen to the answer and work through the rest of the Next.js set.