Shopify Speed Optimization: 8 Fixes for Core Web Vitals
November 19, 2026 · 11 min read
Quick answer: Shopify speed optimization mostly means controlling what you add to the store: apps, theme code, images, fonts and tracking scripts. Shopify already runs hosting and the CDN. Measure with real-user data, remove unused apps, size images correctly, defer third-party scripts, and keep layouts stable to pass LCP, INP and CLS.
Shopify speed optimization is less mysterious than it looks. Shopify hosts your store and runs the global network that serves it. What slows a store down is almost always the layer you control: the theme, the apps, the media and the scripts.
This guide shows what affects Shopify speed optimization, how to measure it, and 8 easy fixes. It also includes a symptom table and a checklist. No fix here is a guaranteed speed-up. Every store is different, so measure before and after.
In this guide
What affects Shopify speed optimization results
A Shopify page is built from your theme, your content and everything apps inject. Each piece costs the browser time. The usual suspects:
Apps. Many apps add JavaScript and CSS to every page, even pages where the app does nothing.
Theme code. Heavy themes, large scripts, many sections and animations add work.
Images and video. Oversized hero images are a common cause of slow loading.
Fonts. Custom fonts delay text and can shift the layout when they swap in.
Third-party scripts. Analytics, ad pixels, chat widgets and review tools load from other servers.
Liquid rendering. Shopify’s templating language runs on the server. Shopify’s theme documentation says Liquid rendering time is most of server response time, so slow loops delay everything after them.
Sections. Shopify’s own guidance says high section counts on a template can lower performance.
You will notice none of these is “Shopify is slow”. That matters for what to fix first.
What Shopify controls and what you control
Shopify’s Help Center lists what the platform handles for you. According to Shopify’s guide to improving store performance, that includes fast global hosting, a Cloudflare-run content delivery network (CDN), image resizing and compression on the image CDN, browser caching, gzip compression, HTTP/2, and minification of CSS and JavaScript.
You control the rest: your theme, your section count, animations, collection pagination, image sizes and formats, installed apps, and third-party code such as tracking tags.
Two things follow from this for Shopify speed optimization. First, you cannot tune servers on Shopify, so server-level advice written for WordPress does not apply. Second, your gains come from doing less on each page, not from adding a “speed booster” app. Shopify’s developer docs even warn against fake performance apps that game Lighthouse or PageSpeed results.
How to measure before Shopify speed optimization
Good Shopify speed optimization starts with data. Use more than one tool. Each answers a different question.
Shopify’s online store speed report
In the Shopify admin, go to Analytics, then Reports, and open the Online store speed report. It gives a score based on Lighthouse, which is a lab test. Per Shopify’s Help Center, it weights your home page and your most-visited product and collection pages from the last 7 days, runs on mobile versions of those pages, and recalculates daily.
Limits to know: it uses Shopify’s own test environment, so it can differ from PageSpeed Insights. Password-protected stores cannot be scored. You need the Reports staff permission.
Shopify web performance reports (real users)
Shopify also provides Core Web Vitals reports from real visitors, in the same Reports area. The web performance reports show Largest Contentful Paint, Interaction to Next Paint and Cumulative Layout Shift at the 75th percentile.
Limits: data can lag by up to 36 hours, only the last 90 days are kept, and new, private-mode or low-traffic stores may show little or nothing. Shopify also notes that changes may not show up right away.
PageSpeed Insights and Search Console
PageSpeed Insights shows both lab results and real-user data from Chrome, when your site has enough traffic. Google Search Console has a Core Web Vitals report that groups your URLs as good, needs improvement or poor. Use it to find which page types fail.
Per web.dev, “good” means LCP of 2.5 seconds or less, INP of 200 milliseconds or less, and CLS of 0.1 or less, measured at the 75th percentile. For background on each metric, see our Core Web Vitals complete guide.
Shopify Theme Inspector for Chrome
Theme Inspector for Chrome is a Chrome extension that shows Liquid rendering as a flame graph. It helps you find theme code, including code added by apps, that slows server responses. You can use it on your own store or one where you have collaborator access.
Test three page types on mobile: the home page, a collection page and a product page. They often score differently.
8 easy fixes for Shopify speed optimization
Do these Shopify speed optimization steps in order. Early ones usually have the biggest effect for the least effort. Test after each change so you know what helped.
1. Audit apps and remove leftover app code
Open your app list and ask one question per app: does it earn its cost? Shopify’s guidance is to remove apps that are not essential to sales.
Uninstalling does not always clean up. Shopify’s Help Center warns that an app may leave code in your theme. Check the theme code for leftover snippets, or ask the app developer for removal steps. Work on a duplicate theme, never the live one.
Use your browser’s DevTools Network tab to see which scripts load from which domain. Unknown scripts often trace back to an old app. This single audit is where many stores gain the most in Shopify speed optimization. If it feels risky, our Shopify development service can review a theme safely.
2. Size images correctly with image_url and responsive srcset
Upload images at the size they display, not the size your camera produced. Shopify’s CDN resizes and serves an efficient format, but a huge original still costs more.
In theme code, use the image_url filter with image_tag. Per Shopify’s performance docs, these filters generate the srcset, the width and height attributes and the CDN delivery. That means the browser can pick a size that fits the screen.
Use loading="lazy" for images below the fold. For Shopify speed optimization, do not lazy-load the image visible at the top of the page. Shopify’s guidance is to load initial-viewport images eagerly and give the main (LCP) image fetchpriority="high". For separate mobile and desktop hero images, use a <picture> element.
3. Limit fonts
Each font family and weight is another download. Use one or two families and only the weights you need. System fonts avoid font downloads entirely.
If you use custom fonts, Shopify’s docs suggest hosting them on the Shopify CDN rather than calling external font services, which adds connection overhead. They also suggest fallback font metric overrides such as size-adjust to reduce the shift when the web font swaps in. That helps CLS.
4. Defer third-party scripts and tracking
Every pixel, chat widget and review tool competes with your page. Audit your tag manager and remove tags nobody uses. Shopify’s Help Center recommends exactly this.
For what stays, load non-critical features later. Shopify’s performance docs say to remove or defer app scripts that block HTML parsing, and to disable A/B testing anti-flicker snippets when no test is running. If you have theme access, add defer to non-critical scripts. Use async only for independent scripts where order does not matter.
Shopify speed optimization should not break tracking. Check consent and analytics rules for your markets before you delay any tracking.
5. Reduce theme JavaScript
JavaScript is the main driver of poor INP, which measures how quickly the page responds after a tap or click. Shopify’s docs recommend rendering initial content with Liquid and HTML, not client-side JavaScript. They also suggest loading modules only when a user interacts with a component.
Other practical steps from the same docs: debounce or throttle event handlers, avoid building the HTML for hidden panels until they open, and keep tap targets at least 48 by 48 pixels. For deeper INP thinking, see our post on INP and Core Web Vitals. It is written for WordPress, but the browser behavior is the same.
6. Avoid heavy carousels, popups and animations
A rotating hero slider loads several large images and extra script for little benefit. A single strong hero image is lighter. Shopify’s docs also say not to hide the LCP image behind fade-in or reveal animations, because that delays the LCP event even after the image downloads.
In Shopify speed optimization, popups are a frequent culprit. They often load late, trigger layout changes and add scripts. Keep one, delay it, and test it on mobile. Shopify’s Help Center also suggests testing page transitions and animations with them on and off.
7. Fix layout shift from banners and late-loaded content
CLS happens when something appears and pushes content down. Common Shopify causes: an announcement bar injected by an app, a cookie banner, review stars that load late, and images without dimensions.
Fixes from Shopify’s docs: include image dimensions, reserve space for app-injected content (for example with min-height on app blocks), and keep content from overflowing the mobile viewport. Our post on what CLS is and how to fix it explains the metric in detail.
8. Use a lightweight, current Online Store 2.0 theme
Theme choice sets your starting point for Shopify speed optimization. Dawn is described in its repository as Shopify’s source-available reference theme with Online Store 2.0 features and performance built in. It takes an HTML-first, JavaScript-only-as-needed approach.
Shopify’s Help Center also says to use an up-to-date, performance-optimized theme, and names its free Horizon and Online Store 2.0 themes. Keep your theme updated, limit sections per template, and turn on pagination for large collections.
Switching themes is a bigger job than the other fixes. Back up, duplicate and preview before you publish.
Symptoms mapped to fixes (LCP, INP, CLS)
Metric
Symptom you notice
Likely cause
Fixes to try
LCP (loading)
Hero or product image appears late
Oversized or lazy-loaded top image, slow server response
Fix 2, fix 8, Theme Inspector for slow Liquid
LCP (loading)
Blank area before main content
App scripts or fonts blocking render
Fix 1, fix 3, fix 4
INP (responsiveness)
Menu or filters feel laggy after a tap
Heavy theme JavaScript, many apps
Fix 5, fix 1, fix 4
INP (responsiveness)
Add-to-cart pauses
Third-party scripts competing for the main thread
Fix 4, fix 6
CLS (stability)
Content jumps down as the page loads
Banners, popups, late app blocks
Fix 7, fix 6
CLS (stability)
Text jumps when fonts load
Font swap without fallback metrics
Fix 3, fix 7
Treat this Shopify speed optimization table as a starting point. Confirm the cause in DevTools or Theme Inspector before you change code.
Where WordPress speed work fits
We also offer a WordPress speed optimization service. To be clear, it is for WordPress sites, which have different tools such as caching plugins and server settings. Shopify stores are handled under our Shopify service instead, because the work is theme code, apps and scripts rather than hosting.
If you run both a WordPress site and a Shopify store, the measurement approach to speed optimization is the same. The fixes differ. Choosing a platform also has cost effects, so our post on Shopify transaction fees is worth a read when you plan a store.
Shopify speed optimization checklist
[ ] Record baseline scores for home, collection and product pages on mobile
[ ] Review Shopify web performance reports and the Search Console Core Web Vitals report
[ ] List every installed app and remove the ones you do not need
[ ] Check the theme for leftover app code on a duplicate theme
[ ] Upload images at display size and use image_url with image_tag
[ ] Keep loading="lazy" off the top image and give it fetchpriority="high"
[ ] Cut fonts to one or two families and fewer weights
[ ] Remove unused tags and defer non-critical third-party scripts
[ ] Replace heavy sliders and reduce popups
[ ] Reserve space for banners, app blocks and images to prevent shifts
[ ] Update the theme and limit sections per template
[ ] Re-test after each change and give real-user data time to update
Want us to take a look at your Shopify store?
If you would rather not edit theme code yourself, we are happy to help. Want us to review your store’s Shopify speed optimization needs? Send us the store URL and we will tell you what we see: which apps and scripts cost the most, and which fixes are worth your time. The first review is free and comes with no obligation.
Usually because of what has been added to it: apps, heavy theme code, oversized images, extra fonts and tracking scripts. Shopify handles hosting and the CDN, so start with the parts you control. Measure first so you fix the real cause.
What is a good Shopify speed score?
Look at Core Web Vitals rather than one score. Per web.dev, good is LCP of 2.5 seconds or less, INP of 200 milliseconds or less and CLS of 0.1 or less at the 75th percentile. Lighthouse-based scores are useful for diagnosis but vary between tools.
Do apps slow down Shopify?
They can. Many apps add scripts and styles to your theme. Shopify advises checking that each app justifies its performance cost and removing the rest. Remember that uninstalling may leave code behind, so check the theme afterward.
Can I do Shopify speed optimization without a developer?
Some Shopify speed optimization is safe to do yourself. Removing apps, resizing images, trimming fonts and deleting unused tags need no code. Editing theme files for deferral or image markup is safer with a developer, and always on a duplicate theme.
Does page speed affect SEO on Shopify?
Core Web Vitals are part of Google’s page experience signals, but speed is one factor among many. Relevance and content quality matter too. Shopify speed optimization mainly helps visitors, who are more likely to stay and buy when pages respond quickly.