Lazy Load Images WordPress - What to Lazy Load and What to Load Right Away (2026)

Lazy loading delays offscreen images until visitors scroll near them, so the first screen loads faster and pages use less data. Done wrong, it slows down your most important image instead.

How Lazy Loading Works

Without lazy loading, the browser downloads every image on the page as soon as it finds it, even images far down that visitors may never scroll to. Those downloads compete for bandwidth with the images and files that matter first.

With lazy loading, images below the fold wait until the visitor scrolls close to them. The browser saves bandwidth early on and focuses on the first screen.

What WordPress Does by Default

Illustration for What WordPress Does by Default on the Lazy Load Images WordPress page, showing a image diagram

WordPress has supported native lazy loading since version 5.5. It adds the loading="lazy" attribute to images in content, and later versions extended this to iframes.

Early on, WordPress lazy loaded every image, including those at the top of the page, which hurt LCP on many sites. Later releases improved this: WordPress now skips lazy loading for the first content images and, since version 6.3, can add a high fetch priority to the image most likely to be the LCP element.

That works well for standard themes and the block editor. It can miss hero images output by page builders, sliders and custom theme code, which is where plugins help.

What to Lazy Load and What Not To

Lazy loading decisions
ElementLazy Load?Why
Hero or featured image at the topNoUsually the LCP element
LogoNoAlways visible in the first screen
First content image near the topUsually noMay appear in the first screen on mobile
Images further down the articleYesNot needed until scrolling
Gallery and grid images below the foldYesLarge savings
Product thumbnails in long listsYes, below the first rowsSaves bandwidth on category pages
CSS background images below the foldYes, with a pluginNative lazy loading doesn't cover them
Embeds and iframes below the foldYesVideos and maps are heavy

Lazy Loading With WP Rocket

WP Rocket's Image & Media settings include lazy loading for images, CSS background images, and iframes and videos, plus an option to replace YouTube iframes with a preview image.

On top of that, WP Rocket's automatic Optimize Critical Images feature detects above-the-fold images and excludes them from lazy loading while prioritizing the LCP image. If an image still gets lazy loaded when it shouldn't, such as a slider image, you can add it to the exclusions list by file name or class.

  1. Enable lazy loading

    In WP Rocket's Image & Media settings, turn on lazy loading for images, and for CSS background images if your theme uses them.

  2. Enable iframes and videos

    Lazy load embeds, and replace YouTube iframes with a preview image.

  3. Check the first screen

    Load key pages on mobile and make sure the top images appear immediately.

  4. Add exclusions if needed

    Exclude hero, slider or logo images that are still being delayed.

  5. Re-test LCP

    Check PageSpeed Insights to confirm the LCP image isn't flagged as lazy loaded.

Lazy Loading and SEO

Illustration for Lazy Loading and SEO on the Lazy Load Images WordPress page, showing a image diagram

Google can index lazy-loaded images when they use standard methods, like the native loading attribute or a well-implemented script that loads images as they come into view. Problems arise only with unusual implementations that require clicks or scrolling actions Google doesn't perform.

Native lazy loading and established plugins are safe for image indexing.

Avoiding Layout Shifts

Lazy loading only causes layout shifts when images don't have dimensions. If width and height are set, the browser reserves the right space before the image loads. WP Rocket's Add missing image dimensions option fills these in. See adding image dimensions.

Common Lazy Loading Mistakes

Lazy loading the hero image

The most common LCP problem. Exclude it.

Double lazy loading

Running lazy loading in WordPress core, your theme, an image plugin and a cache plugin can cause conflicts. Use one.

Lazy loading tiny images

Icons and small images above the fold gain nothing from delay.

No placeholders for backgrounds

Background images that pop in can look jarring; set a background color.

JavaScript-only lazy loading without fallback

Older scripts can leave images blank if JavaScript fails.

How to Check What's Lazy Loaded

Illustration for How to Check What's Lazy Loaded on the Lazy Load Images WordPress page, showing a image diagram

You can quickly see which images on a page are lazy loaded:

  1. Open the page logged out

    In a private window.

  2. Inspect the top image

    In DevTools, check whether its tag has loading="lazy" or a lazy loading class.

  3. Check PageSpeed Insights

    The LCP request discovery insight warns if the LCP image is lazy loaded.

  4. Watch the Network panel

    Scroll slowly and see images load as they come into view.

If the top image is lazy loaded, find which tool added it (theme, image plugin, builder or cache plugin) and exclude it there, or turn off lazy loading in that tool and use one consistent setup.

Lazy Loading on Different Page Types

Lazy loading tips by page type
Page TypeTip
Blog postsExclude the featured image; lazy load images in the body
Homepages with hero slidersExclude the first slide; consider a static hero
Product pagesExclude the main product image; lazy load gallery thumbnails and related products
Category and shop pagesExclude the first row of product images on mobile
Portfolios and galleriesLazy load everything below the first screen
Landing pagesExclude hero images and logos; lazy load testimonials and logos further down

Lazy Loading Plugins Compared

Lazy loading options
OptionImagesBackgroundsIframes and VideosAbove-the-Fold Handling
WordPress coreYesNoYesSkips first images; may add fetch priority
WP RocketYesYesYes, plus YouTube previewsAutomatic critical image detection, plus exclusions
Image optimization pluginsOftenSometimesSometimesVaries
Theme or page builder settingsVariesVariesVariesVaries

If you use WP Rocket's lazy loading, turn off lazy loading in other plugins to avoid conflicts.

A Worked Example

A travel blog uses a page builder hero section with a large background image. PageSpeed Insights flags the LCP image as lazy loaded, and LCP is over four seconds on mobile.

The builder outputs the hero as a CSS background with a lazy loading class from an image plugin. The owner disables lazy loading in the image plugin, uses WP Rocket's lazy loading instead, and adds the hero image's file name to WP Rocket's exclusions. The hero now loads immediately, and mobile LCP drops well below the four-second mark.

Lazy Load Images WordPress FAQ

Does WordPress lazy load images by default?

Yes. Since version 5.5, WordPress adds native lazy loading to images, and newer versions avoid lazy loading the first images on the page.

Should I lazy load above-the-fold images?

No. Images in the first screen, especially the hero image, should load immediately because they often determine LCP.

Do I need a plugin for lazy loading?

Not for basic images. A plugin helps with background images, video previews and better control over which images are excluded.

Does lazy loading hurt SEO?

Not with native lazy loading or established plugins. Google can index images that load as they come into view.