Does a Shopify Theme Update Delete Your Customizations?
The direct answer: which Shopify customizations survive a theme update, which get replaced, and the one rule that tells them apart before you click Update.
What a Shopify theme update actually changes, which customizations copy over, which get wiped, and how to update safely without losing your work.
Updating a Shopify theme replaces its files with a new version. Whether your work survives that swap depends entirely on where the work lives. Some customizations copy across untouched; others are part of exactly what gets replaced. Once you know which is which, updating stops being a gamble.
This is the hub for the whole topic. It explains what an update actually does to your files, the one rule that predicts what survives, and where to go next for the specific task you are facing — backing up first, diagnosing code that vanished, or moving to a completely different theme.
In Shopify's admin, a theme is a bundle of files: .liquid templates and
sections, CSS, JavaScript, and a set of settings that record the choices a
merchant made in the theme editor. When you "update" a theme — installing a newer
version of Dawn, or of a paid theme from the Theme Store — Shopify does not patch
your existing files line by line. It publishes a fresh copy of the theme's
code from the new release.
That distinction is the whole story. A version-controlled merge would try to keep your hand edits and layer the new code on top. A fresh copy does not: the new release's files are what you get, and anything you added by hand to the old copy is simply not part of the new bundle.
Shopify has been improving this. Themes that support the newer update flow can
carry your theme-editor settings into the updated version automatically. But
that flow moves settings and content — not code you typed into .liquid or CSS
files. The gap between "settings" and "code" is where customizations get lost.
You can reason about almost any theme update with a single rule:
Changes you made in the theme editor survive. Changes you made by editing theme files do not. Anything rendered by an app survives, because its code was never in the theme.
Break that into the three buckets it implies:
sections/, a snippet you created in snippets/, CSS you pasted into
assets/theme.css, or a tweak to theme.liquid are all part of the code the
update replaces. They are gone from the new copy unless you re-apply them.If you remember nothing else, remember the boundary: editor = data that copies; file edits = code that gets replaced.
The reason this catches merchants off guard is that both kinds of change look
identical on the live site. A custom announcement bar you built by editing
theme.liquid and one you configured in the editor render the same way to a
visitor. The difference only shows up months later, at update time, when one
survives and the other disappears.
It is also common to forget which changes were code. "I added a size chart" might
mean a merchant configured a built-in section (safe) or a developer wrote a new
.liquid file (at risk) — and the person clicking Update is often not the
person who wrote the code. That is why a written record of your custom files
matters more than any single technique.
The cluster guides below take each part of this in turn. Start with the one that matches your situation:
The disciplined answer is process: duplicate before updating, keep a documented list of every custom file, and re-apply that list to the new theme. It works, and the cluster guides above give you the exact steps.
There is also a structural answer. If a section is something you rely on across theme updates and theme swaps, rendering it from an app instead of a theme file takes it out of the blast radius completely — because a theme update only replaces theme files. That trade-off (survives an update vs. survives an uninstall) is laid out honestly in file-based vs. app-based sections, and it is the approach SectionGuard uses so your sections come through every theme update and swap without a re-apply step.
Neither route is "correct" in the abstract. A one-off tweak on a theme you rarely touch is fine to hand-code and re-apply. A section your store depends on is safer rendered from outside the theme. The guides here help you do either one with your eyes open.
Step-by-step how-tos and explainers in this topic.
The direct answer: which Shopify customizations survive a theme update, which get replaced, and the one rule that tells them apart before you click Update.
A step-by-step routine to back up a Shopify theme before updating: duplicate, export, list your custom files, and re-apply them so nothing gets lost.
Recover custom code, CSS, or sections a Shopify theme update replaced: restore from a duplicate, an older theme version, an export, or Git — step by step.
Changing to a different Shopify theme: what carries over, what doesn't, and a step-by-step plan to migrate your content, code, and custom sections safely.
SectionGuard renders your custom sections through a Theme App Extension — your theme stays clean and fully updatable.
Free for up to 3 sections · No credit card · Works on OS 2.0 & Horizon.