What Is Lazy Loading and Should You Enable It?

What Is Lazy Loading and Should You Enable It?

Direct answer: Lazy loading is a technique that delays loading images, videos, and iframes until they are about to appear on screen, instead of downloading everything the moment a page opens. For most WordPress sites the answer is yes — enable it. A typical blog post or product page can cut its initial download by half or more, load visibly faster, and use less data on mobile, with no downside for visitors. The one exception is the image at the very top of the page: your hero or featured image should always load immediately, because delaying it makes your Largest Contentful Paint score worse, not better.

How lazy loading actually works

When a browser opens a normal web page, it downloads every image on that page — including the ones at the bottom that the visitor may never scroll to. On a long blog post with twenty images, or a shop page with dozens of product thumbnails, that means megabytes of data downloaded before the visitor has seen anything at all.

Lazy loading changes the order. Images below the fold get a placeholder instead of the real file, and the browser only downloads each image when the visitor scrolls close to it. The page above the fold loads first and fast; everything else loads just in time, as needed. If a visitor reads only the first half of an article and leaves, the images in the second half are never downloaded at all — saving their data and your bandwidth.

The modern way to do this is the browser’s own loading="lazy" attribute, added to an <img> tag:

<img src="photo.jpg" loading="lazy" alt="A product photo">

Every major browser has supported this natively since around 2020, so no JavaScript is needed for images any more. Older approaches used JavaScript libraries to watch the scroll position and swap images in; those still exist, but for most sites the native attribute is simpler, lighter, and more reliable. The same attribute works for iframes, which is how you lazy load embedded YouTube videos and Google Maps — two of the heaviest things you can put on a page.

How much faster does it make a page?

The saving depends on how image-heavy the page is, but it is usually the single biggest easy win after resizing images themselves. Take a realistic example: a blog post with 12 images at 200 KB each, plus a hero image of 300 KB. That is 2.7 MB of images in total.

  • Without lazy loading: the browser downloads all 2.7 MB before the page is fully loaded. On a 4G connection at a real-world 10 Mbps, that is over two seconds of image downloading alone.
  • With lazy loading: the browser downloads only the hero image and the first one or two images — roughly 500–700 KB — before the page is usable. The remaining 2 MB loads gradually as the visitor scrolls. Initial load drops by about 75%.

The improvement shows up in the metrics Google cares about. Largest Contentful Paint (LCP) — the time until the biggest visible element appears — improves because the browser is no longer competing with a dozen off-screen images for bandwidth. Total page weight falls, Time to Interactive shortens, and mobile visitors on limited data plans download far less. Our guide to speeding up a slow WordPress site puts image optimisation first for the same reason: images are usually the heaviest thing on the page, and lazy loading is the cheapest way to stop paying for images nobody sees.

There is a limit to the claim, though. Lazy loading does not make your images smaller — it only changes when they download. A page with twelve 2 MB images is still slow when the visitor scrolls through it. Pair lazy loading with proper resizing and compression, as explained in our guide to reducing image sizes without losing quality, and the two techniques multiply: small images, loaded only when needed.

Lazy loading in WordPress: what is already on

If your site runs WordPress 5.5 or later — and almost every site does in 2026 — lazy loading is already switched on for you. WordPress automatically adds loading="lazy" to images in post content, galleries, and widgets, and to images inserted by themes that use the standard WordPress image functions.

That sounds like the job is done, but there are gaps worth checking. WordPress does not lazy load background images set in CSS — the hero banners and section backgrounds that many themes, including Elementor-built pages, rely on. It does not lazy load embedded videos or iframes by default, and it does not lazy load images added by a plugin or theme that outputs its own raw <img> tags without going through WordPress’s image functions.

So the practical check is simple: open a long page on your site, scroll down, and watch your browser’s network tab (press F12, then the Network tab, then reload). If images below the fold download immediately on page load, something on that page is bypassing WordPress’s built-in lazy loading, and you need a plugin or a theme fix to cover it.

When you should NOT lazy load

Lazy loading is a default-yes technique with one important exception: never lazy load the image at the very top of the page. The hero image, the featured image, or the logo is the element Google measures as Largest Contentful Paint. If that image is lazy loaded, the browser waits before even starting to download it, and your LCP score gets worse — the opposite of what you want.

WordPress handles this correctly by default: it does not lazy load the first image in a post, and themes that follow the standard set the featured image to load eagerly. But plugins and page builders can override this. If you use a lazy-loading plugin, check its settings for an option to exclude the first image, the featured image, or above-the-fold images — and use it. A good rule of thumb: anything visible without scrolling should load immediately; everything else can wait.

There are two smaller exceptions. Very short pages with one or two images gain almost nothing from lazy loading, though it does no harm either. And images inside carousels or sliders need care: if the slider script expects all slides to be loaded before it calculates its layout, lazy loading the slides can cause a visible jump or a broken slider. Most modern sliders handle this, but test yours after enabling it.

How to enable it properly

For most WordPress sites, the built-in behaviour is enough for post content. To cover the gaps — background images, videos, iframes, and theme images — you have three options, in order of preference:

1. Let WordPress do it. Check that your theme is not disabling it. Some older themes or optimisation plugins add code that removes the loading attribute. If your images are not lazy loading despite running WordPress 5.5 or later, look for a theme setting or a plugin conflict before adding anything new.

2. Use a performance plugin for the gaps. Plugins such as WP Rocket, LiteSpeed Cache, or Perfmatters add lazy loading for background images, iframes, and videos, and let you exclude specific images. If you already run one of these for caching, its lazy-loading feature is the natural place to enable the rest. Avoid installing a dedicated lazy-load-only plugin alongside a caching plugin that already does it — two systems fighting over the same images is a common cause of broken layouts.

3. Add it by hand for special cases. If you have a custom template with a hardcoded image, add loading="lazy" to the tag yourself, and add width and height attributes at the same time. The width and height matter: without them, the browser does not know how much space to reserve, and the page jumps when the image finally loads. That jump is measured as Cumulative Layout Shift (CLS), another Core Web Vital — so lazy loading without reserved space can fix one metric and break another.

For embedded YouTube videos, the simplest effective trick is a facade: show a lightweight thumbnail image with a play button, and load the real YouTube player only when the visitor clicks. A single YouTube embed can add 500 KB or more to a page before anyone presses play; a facade reduces that to about 15 KB. Several performance plugins offer this as a one-click setting.

Common mistakes that cancel the benefit

Lazy loading is easy to get mostly right and easy to get subtly wrong. The mistakes that show up most often:

  • Lazy loading the hero image. Covered above — the single most common error, and the one that directly hurts your LCP score. Exclude above-the-fold images, always.
  • No width and height on images. Without dimensions, the browser reserves no space, the layout shifts when images arrive, and your CLS score suffers. WordPress adds dimensions automatically for images in content; hand-coded images need them added manually.
  • Lazy loading everything, including tiny icons. Icons, logos, and small UI images should load immediately — they are tiny, they are always visible, and delaying them causes flicker. Lazy loading is for content images, not interface elements.
  • Two lazy-loading systems at once. A theme that lazy loads with JavaScript plus a plugin that adds the native attribute can double-process images, causing some to never load at all. Pick one system and disable the other.
  • Forgetting iframes. A page with three YouTube embeds can be heavier than a page with twenty images. Lazy load the embeds too, or use facades — the videos are usually the bigger win.

Does lazy loading hurt SEO?

No — when done correctly, it helps. Google’s crawler renders pages with a modern browser, and it has understood lazy loading for years. Google’s own guidance is that lazy-loaded images are indexed normally as long as they become visible when scrolled into view, which is exactly how native lazy loading works.

The risk is with old JavaScript-only lazy loading that hides images behind scripts Google cannot execute, or that only loads images on a scroll event the crawler never triggers. Native loading="lazy" does not have that problem, and neither do well-built modern plugins. The practical rule: use native lazy loading or a reputable plugin, and avoid any solution that requires JavaScript to reveal an image and has no <noscript> fallback.

The SEO benefit is indirect but real. Faster pages rank better, visitors stay longer, and Google’s Core Web Vitals — LCP, CLS, and Interaction to Next Paint — all improve when off-screen images stop competing for bandwidth. Lazy loading is one of the few SEO improvements that is free, takes minutes, and cannot hurt your content. Our guide to Core Web Vitals explains the three metrics in detail if you want to see exactly where the improvement lands.

The bottom line: Enable lazy loading for everything below the fold, and never lazy load the image at the top of the page. WordPress already handles post content for you; add a performance plugin to cover background images, videos, and iframes. Always include width and height on your images so the layout does not jump. Done right, a long page can shed half or more of its initial download, load visibly faster, and score better on every Core Web Vital — for about ten minutes of work.

Browser support figures and WordPress behaviour reflect the state of both in December 2026. Test your own pages after enabling lazy loading — open the network tab, reload, and confirm that below-the-fold images only download as you scroll.

Frequently asked questions

What is lazy loading in simple terms?

Lazy loading means images and videos only download when they are about to appear on screen, instead of all downloading the moment a page opens. A visitor who reads only the top of a long article never downloads the images at the bottom, so the page loads faster and uses less data.

Should I enable lazy loading on WordPress?

Yes, for most sites. WordPress has included native lazy loading since version 5.5, so it is probably already on for your post content. The work is covering the gaps — background images, embedded videos, and iframes — and making sure your hero image is excluded.

Does lazy loading hurt SEO or image indexing?

No, not when done with native lazy loading or a reputable plugin. Google renders pages like a browser and indexes lazy-loaded images normally. The faster page speeds it produces can help rankings, and the Core Web Vitals improvement is a genuine ranking factor.

Why is my hero image slow if lazy loading is on?

Because the hero image is probably being lazy loaded when it should not be. The image at the top of the page must load immediately — delaying it worsens your Largest Contentful Paint score. Exclude above-the-fold images from lazy loading in your plugin settings, or remove the loading=”lazy” attribute from that image.

Can lazy loading break my site?

It can cause layout jumps if images have no width and height attributes, and it can break sliders that expect all slides loaded up front. Both are fixable: always set image dimensions, and test sliders and galleries after enabling it. Running two lazy-loading systems at once is the most common cause of images failing to load.

Leave a comment

tf
Trusted seller on ThemeForest since July 2016

We sell 100% legal, original items — every product is the work of Shehzad Khan (expert-Themes) or Muhammad Ahsan (Themecraze), our two ThemeForest authors. No fakes, no resales.

8,900+Total sales on ThemeForest
4.4★Buyer rating on ThemeForest
2016Selling since
View our portfolio →