A Shopify store is usually slow because of what has been added on top of the platform: apps and third-party scripts, heavy hero images and video, render-blocking CSS and JavaScript, and theme code nobody uses anymore. Shopify speed optimization starts with Shopify's own report, which is based on real visitors: find whichever of the three Core Web Vitals is worst on mobile, use Lighthouse to find the cause, fix it, then check the report again.
What actually slows a Shopify store down?
Hosting is rarely the problem. Shopify runs every store on its CDN (powered by Cloudflare), compresses files, minifies CSS and JavaScript, and picks the image format the browser can read, such as WebP or AVIF. If a scanning tool tells you to add a CDN, compression or server settings, you can ignore that on Shopify.
According to Shopify, the biggest factors are your theme, your installed apps and third-party code, including anything in a tag manager. That is why speed belongs in Shopify theme development from the start.
Apps and third-party scripts
The usual culprits are chat widgets, A/B testing tools, review apps, email popups, social embeds, marketing pixels and duplicate analytics. Together they add up, and the code keeps running long after the feature is forgotten. Shopify calls auditing and removing unused apps, pixels and scripts the highest-impact optimization for responsiveness.
Large hero images and video
Largest Contentful Paint (LCP) measures when the largest image, text block or video in the visible area has rendered. On a homepage that element is usually the hero. Campaign images and video are often too heavy for a phone on a mobile connection. Shopify can resize images, but the theme code decides which size the phone gets, and an autoplay video can delay the Add to cart button.
Even when the image has downloaded, a fade-in or page transition still delays LCP. Shopify's documentation cites an unnamed store where mobile LCP dropped from 3.6 to 2.2 seconds after a hero fade-in was removed, and the add-to-cart rate rose 9.4 percent.
Render-blocking CSS and JavaScript
Stylesheets in the head and scripts without defer or async make the browser wait before it paints the page. Apps can inject these without you noticing, and a theme can keep loading libraries that no section uses anymore.
Unused theme code
Too many sections on a template lower performance, and filter panels, cart drawers and dialogs add DOM nodes even when they are closed. Uninstalling an app doesn't always remove its code from the theme either.
Core Web Vitals on Shopify: the thresholds
Google uses three metrics, and Shopify's reports use the same thresholds. These figures were checked on 8 November 2026 on web.dev and in Shopify's Help Center.
| Metric | What it measures | Good | Moderate | Poor |
|---|---|---|---|---|
| LCP (Largest Contentful Paint) | How fast the largest element becomes visible | 2.5 s or less | Up to 4 s | Over 4 s |
| INP (Interaction to Next Paint) | How fast the page responds to clicks, taps and key presses | 200 ms or less | Up to 500 ms | Over 500 ms |
| CLS (Cumulative Layout Shift) | How much content shifts unexpectedly | 0.1 or less | Up to 0.25 | Over 0.25 |
Google looks at the 75th percentile, meaning the value that 75 percent of page loads meet or beat, separately for mobile and desktop. A page only passes when all three metrics are good. Search Console calls the middle band "Need improvement".
How to measure Shopify performance properly
The three tools answer different questions, which is why their numbers rarely match. Field data comes from real visitors, and lab data is one controlled test.
| Tool | Data | Use it to | Watch out for |
|---|---|---|---|
| Shopify's Web performance reports | Field data: real visitors in Chromium browsers and Firefox. The summary can show today, 7 or 30 days | Find the problem and follow the trend | Data can be up to 36 hours late. According to Shopify, Safari is not included, so iPhone customers on Safari are missing |
| PageSpeed Insights, field data | CrUX (Chrome User Experience Report): opted-in Chrome users, last 28 days | See the numbers Search Console is built on | A fix takes weeks to show fully |
| Lighthouse (lab data) | One controlled test | Find the cause and compare before and after | One run is one sample, and it can't measure INP |
PageSpeed Insights shows both: field data at the top and a 0 to 100 Lighthouse score below it. Only the field data comes from real visitors.
Shopify recommends this order: find the problem in field data, debug it in lab data, and confirm the fix in field data. That is why one Lighthouse score means so little. It is one run on one machine and knows nothing about your customers' phones. Run it several times and use the median.
- Find the reports. The summary is on the Themes page, and all reports are under Analytics > Reports.
- Find the pages dragging you down. The "Largest Contentful Paint: Page URL" report breaks it down by URL.
- See what changed the numbers. "Largest Contentful Paint: Over Time" marks app installs, theme updates and new code with numbered vertical lines.
- Measure on the live theme. Preview themes load differently, because Shopify doesn't stream their HTML.
- Use a weekly or monthly view if traffic is low. Numbers swing more on small stores.
An example from our own Shopify site
These are lab numbers from Lighthouse on mobile, run on our own site. They are not from real visitors. On 7 November 2026 we made 7 third-party stylesheets load without blocking the page.
- First Contentful Paint on one subpage: from 3.3 to 2.5 seconds.
- First Contentful Paint on the homepage: from 2.5 to 2.3 seconds.
- LCP: unchanged at 6 to 7 seconds, because the largest element was an image in an animated hero.
The homepage difference is small enough to be noise between two runs. The subpage started painting sooner, but LCP didn't move, and LCP is the one that counts as a Core Web Vital. First Contentful Paint doesn't. So find the LCP element first, and fix whatever is delaying it.
How to reduce load time: a prioritized list
Start on mobile, where most Shopify storefront traffic is, and on the templates that get the most visits: product pages, collections and the landing pages you run ads to.
- Clean up apps, pixels and scripts. For each app, ask whether it still makes money or saves time, and remove the rest. Then check layout/theme.liquid, snippets/ and the page source for anything the app left behind. Audit your tag manager too, and turn off anti-flicker snippets when no A/B test is running.
- Get the LCP element on screen first. Never lazy-load the LCP image. Use an img tag instead of a CSS background-image, set fetchpriority="high" on that one image, and take fade-ins and page transitions off it. If the hero is a video, show a light still image first, and judge whether the video sells more than it costs in LCP.
- Load the remaining scripts only where they are used. A review widget belongs on product pages, and a simple Liquid template check handles that. Put defer on non-critical scripts and use async only for independent third-party scripts. Test home, collection and product pages before removing anything: a script that looks unused on the homepage may run on a product page.
- Stop the layout from jumping. Set width and height on every image (image_tag adds them for you), give app blocks a min-height, and make cookie banners and chat bubbles fixed-position overlays. A popup that appears during load and is larger than the main content can become the LCP element. Keep it smaller than the main content, or show it only after the visitor scrolls, clicks or taps. A timer alone doesn't help.
- Cut back on CSS and JavaScript. Keep the number of stylesheets down. First-screen CSS should block rendering, and other CSS can load asynchronously if testing shows it helps. Load a component's JavaScript only when someone uses it.
- Find the heavy Liquid. If the server responds slowly (high TTFB), Shopify names nested Liquid loops as the most common cause. Shopify Theme Inspector for Chrome shows which lines are slowest.
- Consider a new theme last. It won't help much if the same apps and scripts move with you.
What can you do yourself, and what needs a developer?
You can do this yourself
- Uninstall apps you don't use and tidy up your tag manager.
- Upload images at the size they display: JPG for photos, PNG for graphics with transparency.
- Remove sections you don't need and use pagination on large collections.
This needs a developer
- Removing app code left behind in the theme.
- Loading scripts conditionally and changing how CSS and JavaScript load without breaking anything.
- Fixing the LCP image, srcset and sizes in the theme code.
- Rewriting Liquid loops and building hidden components only when they open.
That kind of code work falls under Shopify development. Speed optimization is also one of the tasks you can send us on Unlimited Shopify Development, at a fixed monthly price with no hourly rates and no long-term contract.
When speed work isn't the priority
- All three metrics are already good. Shopify says there is no perfect speed score and advises against chasing the highest number.
- Customers get there but don't buy. The problem is often somewhere else: the product page, the offer, trust or checkout. Speed is one of the five places we look when we do conversion rate optimization.
- The feature earns its cost. Every feature can cost some speed, so weigh the benefit against the effect on Core Web Vitals. An app that really sells can be worth keeping.
Frequently asked questions
Why is my Lighthouse score low when Shopify says "Good"?
Lighthouse is one controlled test, while Shopify's report is based on real visitors over time. If your field data is good, trust it. Use Lighthouse to find causes, not as a grade.
Do Shopify speed optimization apps work?
Be skeptical. Shopify warns about apps and services that only trick the test and do nothing for visitors. Compare PageSpeed Insights with Lighthouse in Chrome DevTools in an Incognito window. A gap of 20 points or more is a warning sign.
Does site speed affect Google rankings?
Yes. Google says Core Web Vitals are used by its ranking systems, but that good scores in its reports don't guarantee top rankings.
How long until a fix shows up?
A fix to LCP or CLS shows in Lighthouse right away, but INP needs field data. Shopify's Over Time reports show it after up to 36 hours. PageSpeed Insights and Search Console use the last 28 days, so it takes weeks for a fix to show fully.
Next step
Start at the top of the list. If you want a Danish Shopify agency to help with your Shopify performance optimization, book a no-obligation call.