Skip to main content

New series: how one WordPress checkbox cost a site 7 months of Google traffic, and the full rescue in 21 lessons. Read the series

Glossary term

fetchpriority

Updated Nov 19, 2026

In short

An attribute for images, scripts and other resources that tells the browser how important a download is compared with others, so a critical item like the main image can be fetched sooner.

fetchpriority is an HTML attribute that gives the browser a hint about how important a resource is relative to other resources of the same type. It accepts three values: high, low and auto, where auto is the default and leaves the decision to the browser. It can be used on images, scripts, stylesheet links and some other elements.

Browsers already guess priorities from the type of file and where it appears in the page. Images, for example, often start with a lower priority because the browser does not yet know whether they will be visible on screen. That guess is usually fine, but it can be wrong for the one image that matters most, such as a large banner at the top of the page. Setting fetchpriority to high on that image moves it up the queue, so it competes better against scripts and other downloads and can appear sooner. That is why it is a common fix for a slow main-content paint, one of the Core Web Vitals.

The most common mistake is overusing it. Marking many resources as high puts them all back on equal footing, and the benefit disappears. It is also only a hint, so the browser may weigh it against other signals instead of obeying it strictly. Another confusion is mixing it up with preloading: preload helps the browser find a resource early, while fetchpriority changes how urgently it is downloaded once found. They can be used together.

An example: a hero image on a homepage written as <img src="hero.jpg" fetchpriority="high" alt=""> tells the browser to treat it as the top priority. A decorative image far down the page can be marked low.