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 right imagesrcset to the <head>.
  • Set fetchpriority="high" and disabled loading="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

tsx
1// app/page.tsx
2import Image from "next/image";
3import hero from "./hero.jpg";
4
5export 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" />
10
11 {/* Often enough: eager + high fetch priority */}
12 <Image
13 src="/product.jpg"
14 alt="Product"
15 width={800}
16 height={800}
17 loading="eager"
18 fetchPriority="high"
19 />
20
21 {/* 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.

Open in study app