Lazy loading is a technique that delays loading images, videos and iframes until the visitor scrolls near them, instead of loading everything when the page first opens.
It reduces initial page weight, speeds up the first view of the page and saves data on mobile.
Modern browsers support native lazy loading with the attribute loading=”lazy” on img and iframe tags. WordPress adds it to many images automatically, and plugins and themes offer additional options.
When to use it:
- Images and videos below the fold.
- Embedded maps, YouTube videos and social feeds.
- Long pages with many images, such as galleries and blog archives.
When not to use it:
- The main hero image or any image likely to be the Largest Contentful Paint element. Lazy-loading it delays LCP, a common mistake.
- Logos and images in the first screen.
SEO considerations:
- Google can see natively lazy-loaded images. Older JavaScript methods that load content only on scroll or click can hide images and text from crawlers.
- Set width and height on lazy images to avoid layout shifts.
Lazy loading is part of our technical SEO speed work and our image SEO checklist.
