
To upload a theme to Shopify, go to Online Store in your Shopify admin, then in the Draft themes section click Import theme > Upload zip file, choose your theme's ZIP file and click Upload. The ZIP must be smaller than 50 MB, and the theme lands in your draft themes so you can preview and customize it before you publish.
Shopify calls this "importing" a theme in the admin, so you'll see both words used. This guide covers the upload steps on desktop and in the Shopify app, what to check before and after you import, and the other ways to add a theme: from the Shopify Theme Store, from GitHub, or with Shopify CLI.
How to upload (import) a theme ZIP to Shopify
On desktop
- From your Shopify admin, go to Online Store. This opens the Themes page.
- In the Draft themes section, click Import theme > Upload zip file.
- In the Import theme dialog, click Choose File and select the ZIP file on your computer.
- Click Upload.
The theme appears in Draft themes. It isn't live until you publish it.
In the Shopify app (iPhone or Android)
- In the Shopify app, tap the menu icon.
- In the Sales channels section, tap Online Store.
- Tap Manage themes.
- In the Draft themes section, tap Import theme > Upload zip file.
- In the Import theme dialog, tap Choose File and select the ZIP file.
- Tap Upload.
Before you upload: file and plan limits
Check these before you import, because they're the most common reasons an upload fails.
| Limit | Value |
|---|---|
ZIP file size |
Smaller than 50 MB (compressed) |
Total code (all files except assets) |
250 MB |
Files per theme |
100,000 |
Theme name |
50 characters |
Themes per store: Starter plan |
Spotlight theme only |
Themes per store: Basic, Grow, Advanced |
Up to 20 |
Themes per store: Shopify Plus |
Up to 100 |
A few more things to check:
- Folder structure. The ZIP must contain the theme folders (assets, config, layout, locales, sections, snippets, templates and so on) at its top level. At minimum, Shopify needs a
layoutfolder with atheme.liquidfile. If you zip a parent folder that contains the theme folder, the upload will fail. - File size. If your ZIP is too big, the cause is usually large images or videos in the assets folder. Upload those through Content > Files instead and point the theme at them, then re-zip.
- Theme limit. If you're at your plan's limit, delete an old draft theme first. Our guide on deleting a Shopify theme shows how, and what to back up first.
- License. A theme bought on the Shopify Theme Store is licensed only to the store it was bought for. Uploading a purchased theme's ZIP to a second store doesn't give that store a license, and unlicensed themes don't get support or updates.
What carries over when you import a theme (and what doesn't)
A theme ZIP holds the design: templates, sections, settings, code and translations. It doesn't hold your store's content. Your products, collections, pages, blog posts and menus are managed in the admin and stay the same whichever theme you publish.
After an import, check these:
- Theme settings and sections. Settings saved in the theme (colors, fonts, section layouts) come with the ZIP. If the ZIP is a fresh copy from a developer, you'll need to set these up again.
- App blocks and embeds. Blocks from apps only show if the app is installed on the store you're importing into. Re-add or re-enable them in the theme editor.
- robots.txt.liquid. If your theme has a custom
robots.txt.liquidtemplate, check it's still there after the upload. Merchants have reported in the Shopify Community that it goes missing after a ZIP import. If it has, re-create it in the code editor or push the theme with Shopify CLI, and compare the live/robots.txtwith what you expect. Our Shopify robots.txt guide explains what the file should contain.
Theme Store vs ZIP upload vs GitHub vs Shopify CLI: which import method to use
There are four main ways to get a theme into your store. Pick the one that matches where the theme comes from and who's working on it.
| Method | Use it when | Where |
|---|---|---|
Shopify Theme Store |
You want a free or paid theme from Shopify's marketplace |
Online Store > Discover themes or themes.shopify.com |
ZIP upload |
You have a theme file from a developer, a backup, or another marketplace |
Online Store > Draft themes > Import theme > Upload zip file |
GitHub integration |
A developer keeps the theme in a GitHub repository |
Connect from GitHub in the theme library (needs the Shopify GitHub app) |
Shopify CLI |
A developer works on the theme locally and pushes changes |
Command line: shopify theme push, shopify theme dev |
Shopify also lets you generate a free personalized theme by describing your business, but only from the Shopify app or the admin in a mobile browser, and not on the Starter plan.
Add a free theme from the Shopify Theme Store
- From your Shopify admin, go to Online Store.
- In the Discover themes section near the bottom of the page, choose one of the top free themes, or click Visit theme store to browse them all.
- Click the theme name to see its details.
- Click Add. The theme is added to Draft themes.
Free themes are built by Shopify, and Shopify support helps with them.
Try and buy a paid theme
- Go to the Shopify Theme Store and choose a paid theme.
- Click Try theme. The theme is added to your store with a Theme trial label.
- In your admin, go to Online Store. In Draft themes, open the actions menu next to the theme and click Preview.
- Customize it in the theme editor. If you buy it, your customizations are kept.
- When you're ready, click Buy on the theme in Draft themes.
Things to know about paid themes:
- You can try up to 19 paid themes at the same time.
- While a theme is on trial, you can't edit its code or use the AI code generator.
- You can only publish a paid theme after you buy it.
- To buy, your staff account needs the Themes, Manage and install apps and channels and Approve app charges permissions.
- Theme Store purchases are final sale; the developer can't refund you.
- Support for paid themes comes from the theme developer, not Shopify.
Not sure which to pick? See our guides to the best Shopify themes and free vs paid themes.
Connect a theme from GitHub
If your developer keeps the theme in GitHub, connect the repository instead of uploading ZIPs:
- Install the Shopify GitHub app.
- In your theme library, click Add theme > Connect from GitHub (depending on your admin version, this sits next to Import theme in Draft themes).
- Choose the GitHub account or organization, the repository and the branch.
The branch must use Shopify's standard theme folder structure. After you connect, Shopify keeps both sides in sync: commits to the branch update the theme, and changes made in the theme editor or code editor are committed back to GitHub. You need write access to the repository, and a disconnected branch can't be reconnected (it comes back as a new theme). Our Shopify GitHub integration guide walks through the setup in more detail.
Push a theme with Shopify CLI
Shopify CLI is the command-line tool developers use to build and deploy themes. It's the best option when someone edits theme code regularly.
shopify theme devcreates a development theme connected to your store and previews changes live as you edit files.shopify theme push --unpublishedcreates a new unpublished theme in your store and uploads your local files to it.shopify theme pulldownloads a theme from your store to your computer.
Add --store your-store.myshopify.com the first time you run a command against a store. Development themes are deleted after seven days without activity, and logging out of the CLI deletes yours, so push anything you want to keep to an unpublished theme. See the Shopify CLI documentation for installation and the full command list.
How to preview, share and publish your new theme
Once the theme is in Draft themes, test it before it goes live.
Preview it
In Online Store, open the actions menu next to the theme and click Preview. You can switch country or language in the preview to check different markets.
Share a preview
From the preview, click the link button in the preview bar to copy a visitor preview link. Anyone can open it without logging in, and it expires two days after you create it. It's a quick way to get feedback before you switch themes. You can't share a preview of your published theme.
Publish it
- From your Shopify admin, go to Online Store.
- In Draft themes, find the theme and click Publish.
You can also click Edit theme, then Publish in the top bar of the theme editor. Your old theme moves to Draft themes with all its changes, so you can switch back if something's wrong. Only one theme can be published at a time.
Before you publish, check your main pages on mobile and desktop, run a test order, and make sure your apps show where they should. If you're replacing an older version of the same theme, our guide on updating a Shopify theme without losing anything covers how to move your settings across.


