21phi
Hydrogen11 min read

What is Shopify Hydrogen? Hydrogen and Oxygen explained for store owners

Hydrogen is not a theme and not a faster Shopify. It is the commerce part of a storefront you build yourself and then run. Here is what it does, what Oxygen is, and what stays with Shopify.

What is Shopify Hydrogen? Shopify Hydrogen is Shopify's toolkit for building a custom storefront in code: it supplies the commerce part, such as the cart, product options and customer sign-in, and your developers build everything else in a JavaScript framework of their choice. It is not a theme and not a faster Shopify, and from launch day the storefront is yours to run.

This is written for the person who keeps hearing the word in agency calls: a founder, a head of ecommerce or a marketing lead who wants to know what Hydrogen is before deciding whether it matters. One section near the end is for the people who should stop reading and keep their theme.

Hydrogen is not a theme, and not a faster Shopify

A Liquid theme is a conventional Shopify storefront built with Shopify's Liquid templating and the theme editor; the alternative to Hydrogen. Shopify renders it, Shopify hosts it, and your team changes it in the theme editor. You install a theme. That's it.

Hydrogen works the other way around. Headless means the storefront front end is decoupled from Shopify's back office and checkout and talks to Shopify through APIs; Shopify still runs products, orders, customers and checkout. Hydrogen is Shopify's own way of doing that. There is no storefront to install and switch on. Developers write one, and Hydrogen is the part of that code that knows how to talk to Shopify.

People who search "Hydrogen Shopify" usually expect something to switch on. There is nothing to switch on. Hydrogen gives you a storefront you own, and the only caveat that matters is that owning it is work. Shopify's own headless documentation says as much: a headless storefront costs more to build and run than a theme, and you need developers who keep it running after launch.

It is also not a speed upgrade you buy. A Hydrogen storefront is as fast as the team that builds and maintains it makes it. A theme starts from Shopify's own defaults. Hydrogen starts from a starter template at most, and what gets built on top of it is the project.

The Shopify Hydrogen framework became a library in 2026

The older definition, which most pages still carry, reads: Shopify Hydrogen is Shopify's React-based framework for building headless storefronts on top of Shopify's Storefront API; current versions are built on React Router (formerly Remix). That was accurate until October 2026.

With the 2026-10 release, Shopify's wording changed. In its own migration guide: Hydrogen is a library that you add to your framework, instead of a framework of its own. The docs now call it Shopify's headless toolkit, and the release announcement says it works with any JavaScript framework. In practice that means a framework that runs server code. There are two starter templates: Shopify's own on React Router, and Vercel's on Next.js. Shopify also names Nuxt, Astro and SvelteKit among the frameworks Hydrogen works with.

Put plainly: before, Hydrogen was the whole house, and you built inside it. Now Hydrogen is the plumbing, and you choose the house. Versions 2026-04 and earlier are documented separately as Legacy Hydrogen. Shopify recommends migrating, and it also says existing storefronts keep working and there is nothing you need to do today.

What Hydrogen does, and what your framework does

Shopify describes a Hydrogen storefront as three layers. Shopify provides the APIs and checkout. Hydrogen owns the Shopify-specific logic. Your framework and your code own everything a shopper sees.

Two terms first. The Storefront API is Shopify's GraphQL API that a headless storefront uses to read products, collections, carts and customer data. The Customer Account API is Shopify's API and passwordless login for customer accounts in headless storefronts. Hydrogen is the code that sits between those two APIs and your pages.

What Hydrogen handles

  • The connection to the Storefront API, so pages can read products, collections and search results
  • The cart: adding, updating and removing lines, and keeping what the shopper sees in sync
  • Variant selection and product options, collection filtering, sorting and pagination
  • Customer sign-in through the Customer Account API
  • The handful of routes a Shopify storefront needs, such as the checkout route and cart links
  • The store's URL redirects, checked before a shopper gets a not-found page
  • Shop Pay buttons, localized queries for multiple markets, and Shopify's first-party analytics with consent handling

Shopify's own description of this list is useful: the parts of a storefront that are specific to Shopify and easy to get wrong.

What your framework and your team handle

  • Every page and every component. Hydrogen does not ship a component library
  • Layout, styling and the design system
  • Routing, data loading and how pages are rendered
  • The account pages a signed-in customer sees: profile, order history, addresses
  • Images, meta tags, Open Graph tags and structured data
  • Where the storefront is hosted

Read the second list again. Nearly everything a customer looks at is on it. Hydrogen makes sure the cart is correct. It has no opinion on what your product page looks like, and it gives marketing nothing to edit. That is your code.

What Oxygen is: the place the code runs

Oxygen is Shopify's global hosting platform for Hydrogen storefronts, included on paid Shopify plans; it can deploy straight from Git. The pair gets searched as one thing, "Shopify Hydrogen Oxygen", but they are two products with two jobs. Hydrogen is code your developers write with. Oxygen is where that code runs.

The way it works is this. With continuous deployment set up, your developers push a change to the code repository, the change is built, and Oxygen creates a deployment from it. Shopify describes a deployment as an immutable snapshot: one version of your storefront, frozen. Three things follow from that.

  • Every change gets its own preview link. Each deployment has a unique URL, so someone can look at the change before customers do. Previews are private to logged-in staff by default.
  • Production is a pointer. The live storefront URL points at the most recent deployment in the production environment. Publishing a change means moving the pointer.
  • A rollback moves the pointer back. If a deployment breaks the storefront, the environment can be pointed at an earlier one while the fix is written. Nothing is redeployed or deleted. The earlier deployment keeps the settings it was deployed with, so it gets checked first.

Environments, deployments and environment variables are managed in the Shopify admin, through the Hydrogen sales channel installed on the store.

Two questions follow for whoever runs your storefront: who looks at the preview link before a change goes live, and who is allowed to move the pointer back.

Who gets Oxygen

Shopify's documentation says Oxygen is included on paid Shopify plans, and it lists Starter, Basic, Grow, Advanced, Plus and Pause and build. That list sits on a page now filed in the legacy section; the current Oxygen pages name the same plans in their environment limits. The same page says Oxygen is not available on Agentic plans, and that development stores and trial plans can use it for building and testing, without public environments.

Plus in that list is Shopify Plus: Shopify's enterprise plan with higher limits, checkout extensibility, custom Shopify Functions, B2B and Markets features. You do not need it for Hydrogen or for Oxygen. The number of public environments a store can have does depend on the plan, and Shopify Plus allows more of them.

You can host elsewhere

Oxygen is Shopify's own host, not a requirement. Shopify says Hydrogen also runs on other hosting platforms and on your own Node server. The framework decides the practical answer: the React Router starter deploys to Oxygen, and the Next.js starter deploys to Vercel.

The trade-off is convenience versus choice. On Oxygen, hosting sits inside the Shopify admin and there is one vendor to call. On another host you get that host's tooling, and your team takes on the wiring Oxygen does for you. Your developers pay for the second option, in setup and in upkeep.

What does not change: products, orders and checkout stay Shopify's

Hydrogen replaces the storefront. Everything behind it is the Shopify you already run.

  • The admin is the same admin. Products, collections, inventory, orders, customers and discounts are managed exactly where they are today. Hydrogen has no part in the back office.
  • Apps that work only in the admin are not affected. A fulfillment or inventory tool does not care what the storefront is built with. Any app that also puts something on the storefront is a separate question, covered below.
  • Checkout stays on Shopify. Shopify's docs put it plainly: Hydrogen does not include checkout UI, because checkout stays on Shopify. The storefront hands the shopper over, and Shopify takes it from there.

Checkout is where the misunderstanding usually sits. A brand sees the standard checkout after a carefully designed storefront and wants it rebuilt to match. Here is what can be changed, and the one thing that cannot. Logo, colors and fonts within Shopify's limits, yes. Wording, yes. Rebuilding the page to a different design, no. When a brand's checkout looks nothing like Shopify's, that brand is most likely not on Shopify.

Headless means the storefront. Know that boundary before anyone promises your brand anything, and ask for it in writing.

One thing does change on the Shopify side, and it catches teams out. The theme editor edits only themes. Apps that add blocks to a theme do not appear on a Hydrogen storefront, so each of those apps is integrated in code, replaced, or dropped. Shopify has narrowed the gap: Hydrogen now uses the same standard cart actions as Liquid themes, so an app script written to that contract can work on both. That helps. It does not bring the editor back.

What you take on after launch

A theme is a product someone else maintains: Shopify runs the platform it sits on, and the theme's developer ships its updates. A Hydrogen storefront is software you maintain. Three things do not stop after launch.

  1. The code. Every page, component and integration is yours. When a third-party script changes or a promotion needs a new block, someone opens the codebase. Someone has to know it.
  2. The dependencies. A storefront is built on a framework and on packages, Hydrogen among them, and all of them keep releasing versions. A storefront whose dependencies nobody updates does not stay a working storefront. Miss one round and most likely nothing breaks. You just have no way of knowing.
  3. The API versions. Shopify releases a new API version every quarter and supports each one for a limited period. When a storefront asks for a version that is no longer available, Shopify answers with the oldest stable version it still serves. So an untouched storefront does not stay still. The platform moves under it.

Neglected Hydrogen storefronts show it the same way. They do not fail on one day. Responses get slower. A section shows a loader that never finishes.

Stores already on Hydrogen have a fourth item, the move from the legacy version to the current one. That is a project of its own, not a package update.

There is one more cost, and it is not technical. A small spacing change that used to be done on the spot in the theme editor becomes a request and a wait. That cost is real, and it is better named before the build than discovered after. Whether marketing gets that control back depends on how the content is modeled: Shopify Hydrogen CMS covers it.

Three rungs, and what moves you up each one

Hydrogen is the last rung of a ladder, not the first. Start at the bottom.

  1. Native: a theme, used as designed. Sections, blocks, settings and the apps that install into them. Try this first. Most stores never need to leave it, and that is not a failure.
  2. Configuration: a theme, pushed. Custom sections, custom Liquid, metafields, a developer on call. Move here when the theme's own sections cannot express a page you need. It costs developer time, and each custom block is one more thing a marketer cannot change alone. The test: open the theme editor and count the blocks your marketer cannot change without a developer. That count is what this rung costs.
  3. Custom: a Hydrogen storefront. Move here when the second rung has stopped holding, and you have someone to own the code. The test: write down the last three things you asked for and were told the theme could not do. If the list is empty, or every item is cosmetic, you are not on this rung. It costs the most effort, and the effort does not end at launch.

The trigger for each step is a specific thing you tried and could not do. "A competitor went headless" is not a trigger. Take your list of three to any agency. A good one will tell you which items a theme can still do.

Keep in mind where rungs two and three meet. A heavily customized theme and a headless build both end up as custom code. Liquid is not the problem, and React is not the answer. The real difference is who can change what afterwards, and how content is managed once the store gets custom.

Who should stop reading here and keep their theme

Keep your theme if two things are true. Marketing changes the store in the theme editor every week and likes it that way. And the budget for the build exists, but the budget for the years after it does not.

The second one matters more than any feature. A theme, kept clean, is a solid setup that most Shopify stores run on.

The full list of signals for each side is in Shopify Hydrogen vs Liquid themes. If you have decided and are comparing partners, how to choose a Shopify Hydrogen agency is the checklist.

Where 21phi stands

21phi is a Shopify Hydrogen agency with Shopify Plus experience. We build Hydrogen storefronts, and then we stay and run them. The second part is where the cost of Hydrogen lands, and a build-and-leave project never sees it.

An embedded team is 21phi's engagement model after launch: the agency works inside the client's channels and roadmap as the storefront, analytics and growth team, on a monthly retainer scoped per client. In practice a named senior person is on the other end, requests come from every department, and framework, package and Shopify API version upkeep is a standing monthly item instead of an emergency. How we work describes the engagement.

This costs more than a body shop, and it should. A body shop closes the ticket and loses the context, and on Hydrogen every ticket then starts with relearning the codebase. We also think an agency should be replaceable. The code is yours, and we document it with a handover in mind, to your own hire or to another team. If a theme would serve you better, we would rather say so before a build than after.

Next step

If the three rungs put you on the third, read how we scope and build on Shopify Hydrogen development. For a finished build, look at Kayusha, a Shopify Hydrogen storefront 21phi designed and built for Kayusha, a premium pet-carrier brand. The decision is yours, and the first question to answer is who owns the code after launch. When you have a name for that, or want us to be it, tell us about your store. Every project is scoped individually; expect questions back, not a package.

Written by

Sergey Gridin

Co-founder, 21phi

LinkedIn

More articles

FAQ

  • Is Shopify Hydrogen a framework or a library?

    Shopify Hydrogen is a library since the 2026-10 release. Shopify's migration guide states that Hydrogen is a library you add to your framework, instead of a framework of its own, and the docs call it Shopify's headless toolkit. Versions 2026-04 and earlier were a full framework built on Remix or React Router, and Shopify now documents them as Legacy Hydrogen. The framework, such as React Router or Next.js, is chosen by the team building the storefront.

  • What is the difference between Shopify Hydrogen and Oxygen?

    Shopify Hydrogen and Oxygen are two separate products. Hydrogen is code: the toolkit developers use to connect a custom storefront to Shopify's cart, catalog and customer accounts. Oxygen is hosting: Shopify's platform that runs the finished storefront, with environments, preview deployments and rollbacks managed in the Shopify admin. A Hydrogen storefront can run on Oxygen or on another host, so Hydrogen does not require Oxygen.

  • Is Shopify Oxygen included in my Shopify plan?

    Shopify Oxygen is included on paid Shopify plans, according to Shopify's developer documentation, which lists Starter, Basic, Grow, Advanced, Plus and Pause and build. The same documentation says Oxygen is not available on Agentic plans. Development stores and trial plans can use Oxygen for building and testing, but without public environments. Plan terms change, so check Shopify's current documentation.

  • Does Shopify Hydrogen replace the Shopify admin?

    Shopify Hydrogen does not replace the Shopify admin. Hydrogen covers the storefront side only: it works with the Storefront API and the Customer Account API, and it does not include an Admin API client or checkout UI. Products, inventory, orders, customers and discounts are still managed in the same admin, and checkout stays on Shopify. What changes is the storefront itself, which becomes code a team builds and maintains.

  • Who maintains a Shopify Hydrogen storefront after launch?

    A Shopify Hydrogen storefront is maintained by whoever owns its code: an in-house developer, a freelancer or an agency. Shopify maintains the platform, the APIs, checkout and Oxygen hosting, but not the storefront code. Ongoing work includes updating the framework and packages, keeping up with Shopify's quarterly API versions, and fixing integrations when third-party services change. Shopify's own headless documentation says merchants need developers who can keep the storefront running after launch.

Let's work together