- What it doesLoads off-screen content only when it is needed.
- Best used onImages, iframes and embeds below the fold.
- How to check itDevTools Network panel and a rendered-page test.
- Common mistakeLazy loading the main image visible at page load.
- Related workImage optimization and Largest Contentful Paint.
What is lazy loading?
A long page may hold dozens of images and embeds, but a visitor sees only the top at first. Lazy loading holds back the rest until the user scrolls close. The page needs less data upfront, so it can become usable sooner.
Browsers now support it natively for images and iframes through a loading attribute, and scripts can do the same with other content. Native support is simpler and less likely to break than custom code.
What should and should not be lazy loaded?
The rule is simple: defer what is off screen, load what is on screen. The table shows how this plays out on a typical service page.
| Element | Lazy load? | Reason |
|---|---|---|
| Hero image at the top | No | It is usually the Largest Contentful Paint element |
| Images further down the page | Yes | Saves data and speeds first load |
| Video embeds and maps | Yes | Heavy, and often not viewed |
| Logo and navigation icons | No | Visible immediately |
| Important text content | No | Should be in the HTML, not fetched on scroll |
How does lazy loading affect SEO?
Search engines can handle standard lazy loading, but only if the content becomes available without a real user action such as a click. Content that only loads after a button press or a custom scroll event may not be seen by crawlers.
The other risk is speed. Lazy loading the hero image delays the very thing the Largest Contentful Paint metric times. Test with the rendered HTML in a search tool to confirm images and text are visible to Google.
- Use native loadingApply the loading attribute to below-the-fold images and iframes.
- Exclude the top imageLeave the main visible image on normal loading.
- Set dimensionsGive images width and height so space is reserved.
- Test the renderUse a URL inspection tool to check images appear in the rendered page.
What are common lazy loading mistakes?
Applying it site-wide with a plugin and no exceptions is the usual one. It will often catch the hero image and logo too. Review the settings and exclude anything that appears in the first screen.
Another is loading primary text or product listings only after scroll through script. If a page's core content depends on that, crawlers and users on weak devices may see an empty page. Keep key content in the initial HTML.
Need help with Lazy loading on your site?
Tell us what is not working. We will check where this affects your search results and what to fix first.
Book a meetingTechnical SEOQuestions people ask
Does lazy loading hurt SEO?
Not when done correctly. Search engines can see standard lazy loaded images. Problems come from lazy loading the main image, or from content that needs a user action to appear. Test the rendered page to be sure.
Should I lazy load every image?
No. Skip the images visible when the page first opens, especially the hero image. Lazy load the rest. Loading everything late slows the main content and can worsen your Largest Contentful Paint.
Is native lazy loading better than a script?
Usually yes. The browser's built-in attribute is simpler, needs no extra code and is less likely to break. Use a script approach only when you need behavior the native option does not give you.