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
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
| Element | Lazy Load? | Why |
|---|---|---|
| Hero or featured image at the top | No | Usually the LCP element |
| Logo | No | Always visible in the first screen |
| First content image near the top | Usually no | May appear in the first screen on mobile |
| Images further down the article | Yes | Not needed until scrolling |
| Gallery and grid images below the fold | Yes | Large savings |
| Product thumbnails in long lists | Yes, below the first rows | Saves bandwidth on category pages |
| CSS background images below the fold | Yes, with a plugin | Native lazy loading doesn't cover them |
| Embeds and iframes below the fold | Yes | Videos 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.
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.
Enable iframes and videos
Lazy load embeds, and replace YouTube iframes with a preview image.
Check the first screen
Load key pages on mobile and make sure the top images appear immediately.
Add exclusions if needed
Exclude hero, slider or logo images that are still being delayed.
Re-test LCP
Check PageSpeed Insights to confirm the LCP image isn't flagged as lazy loaded.
Lazy Loading and SEO
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
You can quickly see which images on a page are lazy loaded:
Open the page logged out
In a private window.
Inspect the top image
In DevTools, check whether its tag has loading="lazy" or a lazy loading class.
Check PageSpeed Insights
The LCP request discovery insight warns if the LCP image is lazy loaded.
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
| Page Type | Tip |
|---|---|
| Blog posts | Exclude the featured image; lazy load images in the body |
| Homepages with hero sliders | Exclude the first slide; consider a static hero |
| Product pages | Exclude the main product image; lazy load gallery thumbnails and related products |
| Category and shop pages | Exclude the first row of product images on mobile |
| Portfolios and galleries | Lazy load everything below the first screen |
| Landing pages | Exclude hero images and logos; lazy load testimonials and logos further down |
Lazy Loading Plugins Compared
| Option | Images | Backgrounds | Iframes and Videos | Above-the-Fold Handling |
|---|---|---|---|---|
| WordPress core | Yes | No | Yes | Skips first images; may add fetch priority |
| WP Rocket | Yes | Yes | Yes, plus YouTube previews | Automatic critical image detection, plus exclusions |
| Image optimization plugins | Often | Sometimes | Sometimes | Varies |
| Theme or page builder settings | Varies | Varies | Varies | Varies |
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.