E-commerce

Shopify Speed Optimization Guide

By Code Staff Hub Team5 min read

Shopify Speed Optimization Guide

A slow store costs sales. Shoppers on phones are impatient, and Google uses page experience signals, including Core Web Vitals, in its ranking systems. Google has also reported that as mobile load time grows from one to three seconds, the probability of a bounce rises by 32% (Think with Google).

Shopify's hosting is fast, so most speed problems come from themes, apps, images and scripts. This guide shows you how to find and fix them.

Stopwatch representing page speed

How to Measure Your Store's Speed

  • Google PageSpeed Insights: test your home page, a collection page and a product page on mobile.
  • Core Web Vitals in Search Console: shows real user data across your store once you have enough traffic.
  • Shopify's web performance report: found in the Shopify admin under Online Store and Themes, based on real visitor data.

Focus on the three Core Web Vitals:

MetricWhat it measuresGood target
Largest Contentful Paint (LCP)How fast the main content appears2.5 seconds or less
Interaction to Next Paint (INP)How fast the page responds to taps and clicks200 milliseconds or less
Cumulative Layout Shift (CLS)How much the layout jumps while loading0.1 or less

Targets follow Google's Core Web Vitals guidance.

1. Audit Your Apps

Apps are the most common cause of slow Shopify stores. Many add JavaScript and CSS to every page, even pages where they are not used.

  • List every installed app and what it does
  • Remove apps you no longer use
  • Check that uninstalled apps did not leave code in your theme
  • Replace several small apps with one that does more, or with theme features

2. Optimize Images

  • Upload images at sensible sizes, not straight from a camera
  • Use Shopify's image settings and responsive images in your theme
  • Lazy load images below the fold
  • Do not lazy load the main hero or product image, since that delays LCP

See image optimization for websites.

3. Choose a Fast Theme

Modern Shopify themes built on Online Store 2.0 are generally faster than older ones. If your theme is several years old and heavily modified, a newer, lighter theme may solve many problems at once.

4. Simplify the Home Page

  • Replace auto playing sliders with a single strong hero image
  • Limit the number of sections and product grids
  • Avoid large background videos, or use them only on desktop

5. Reduce Third Party Scripts

Chat widgets, review widgets, tracking pixels and pop ups all add load time. Keep only what clearly helps sales, and load non essential scripts after the main content.

6. Use Fonts Wisely

  • Use system fonts or one or two web fonts
  • Limit font weights
  • Preload the main font if your theme supports it

7. Prevent Layout Shift

  • Set image dimensions so space is reserved before images load
  • Avoid banners that push content down after loading
  • Reserve space for review stars and app widgets

8. Fix Interaction Delays

Heavy JavaScript slows taps on mobile. Removing unused apps and scripts is usually the best fix. More in how to fix a poor INP score.

9. Keep Collections Reasonable

Showing hundreds of products on one collection page slows loading. Use pagination or "load more."

10. Test After Every Change

Re-test after installing an app, changing a theme section or adding a script. Small changes can have big effects.

Quick Wins Checklist

  • Remove unused apps and leftover code
  • Compress and resize images
  • Replace sliders with a static hero
  • Reduce web fonts
  • Remove unneeded tracking scripts
  • Reserve space for images and widgets

Example: Speed Audit of a Fictional Store

A fictional jewelry store finds its product pages slow on mobile. Here is what an audit uncovers:

FindingImpactFix
14 apps installed, 5 unusedExtra scripts on every pageUninstall unused apps, remove leftover code
Hero slider with 5 large imagesSlow main contentReplace with one optimized image
Product images uploaded at 4000 pixelsHeavy downloadsResize and let Shopify serve responsive sizes
Reviews widget loads before main contentDelays interactivityLoad after main content
4 font familiesExtra requestsReduce to 2
Main product image lazy loadedSlower LCPLoad main image immediately

After these fixes, the product pages load the main content much faster on phones, and the store feels quicker to browse. The owner did not lose any features that customers used.

Speed vs Features: Making Trade Offs

Every feature has a cost. Before adding something, ask:

  • Does this help shoppers buy?
  • Can it load after the main content?
  • Is there a lighter way to do the same thing?
  • Will we measure whether it works?

If an app or section does not clearly improve sales, it is probably not worth the extra load time.

Common Speed Mistakes

Testing on fast Wi Fi only. Test on a phone with mobile data to see what customers experience.

Chasing a perfect lab score. Focus on Core Web Vitals for real users and on how the store feels.

Uninstalling apps without cleaning code. Some apps leave snippets in the theme.

Adding video everywhere. Use video where it adds real value, such as product demos.

Ignoring third party scripts. Tracking pixels and chat tools can be heavy. Keep only what you use.

A Simple Monthly Speed Routine

  1. Test home, collection and top product pages in PageSpeed Insights.
  2. Check Core Web Vitals in Search Console.
  3. Review apps installed in the last month.
  4. Check new images for size.
  5. Note results in a simple log to spot trends.

When to Consider a Theme Change

If your theme is old, heavily modified and still slow after cleanup, a modern, lightweight theme may be the best fix. Plan the move carefully: test on a duplicate theme, rebuild custom sections cleanly, and check every page before publishing.

Get a Faster Store

Code Staff Hub audits and speeds up Shopify stores, removing what slows them down without losing features that sell. Get a free speed review or see our Shopify website design services.

Frequently Asked Questions

Why is my Shopify store so slow?

Most often because of too many apps, large images, heavy themes and third party scripts. Shopify's hosting itself is fast.

Do Shopify apps slow down my store?

Many do, because they add scripts to every page. Remove apps you do not need and check for leftover code after uninstalling.

What is a good PageSpeed score for Shopify?

Aim to pass Core Web Vitals for real users rather than chase a perfect score. Lab scores vary, while field data shows what customers experience.

Does store speed affect Google rankings?

Page experience, including Core Web Vitals, is one of many factors in Google's ranking systems. Speed also directly affects conversions.