Shopify Hydrogen is Shopify’s toolkit for building a custom storefront in JavaScript in place of a Liquid theme. Since version 2026-10, released on 14 October 2026, Hydrogen is a library that you add to a framework such as React Router or Next.js. Earlier versions were a framework of their own, built on Remix and later React Router. In both forms, checkout, orders, inventory and the admin stay on Shopify.
We read every fact below on 17 November 2026 on shopify.dev (the Hydrogen docs, the 2026-10 changelog, the Storefront API reference and the theme app extension docs) and on the Hydrogen listing in the Shopify App Store. Commands and limits differ between Hydrogen versions, so check the docs for the version you install.
Key takeaways
- Hydrogen 2026-10 handles the commerce parts of a storefront: the cart, variant selection, prices in the buyer’s currency, Shop Pay, customer login and analytics that respect consent. Your framework keeps routing, data loading and rendering, and you build the UI, because Hydrogen ships no component library.
- Two starter templates exist: React Router 7, which deploys to Oxygen, and a Next.js 16 template called Vercel Shop, which deploys to Vercel. Nuxt, Astro, SvelteKit and SolidStart work through the “add to an existing project” route. The framework has to run server code.
- Oxygen, Shopify’s hosting for Hydrogen, costs nothing extra on paid plans from Starter to Plus. Every plan gets one public environment except Plus, which gets 25. Development stores and trial plans get none.
- The Hydrogen app in the Shopify App Store is free and made by Shopify. It had a 4.0 rating from 8 reviews when we read it.
- Storefronts on Hydrogen 2026-04 or earlier keep working, and Shopify says nothing needs doing today. Moving to 2026-10 removes the
shopify hydrogen devandbuildcommands, thehydrogen()Vite plugin and helpers such asgetSeoMeta()andgetSitemap(). - Meta tags, Open Graph tags and structured data are the job of your app on 2026-10. A Liquid theme gives the merchant a visual editor and app blocks; a Hydrogen storefront gives developers full control and gives the merchant neither.
Shopify Hydrogen at a glance (2026)
| Item | Hydrogen 2026-10 |
|---|---|
| What it is | A JavaScript library for headless Shopify storefronts (versions up to 2026-04 were a framework) |
| Released | 14 October 2026, after a developer preview that began in June with seven releases |
| Frameworks | Any framework that runs server code; starters for React Router 7 and Next.js 16 |
| Hosting | Oxygen (React Router starter), Vercel (Next.js starter), or Node, Cloudflare Workers, Deno and other runtimes |
| Price | Free library and free App Store app; Oxygen at no extra charge on paid plans |
| Public environments on Oxygen | 25 on Plus; 1 on Starter, Basic, Grow and Advanced; none on development stores or trials |
| Checkout | Shopify checkout, usually on a subdomain such as checkout.example.com |
| Node.js | 22.12 or later, or 24 |
| UI and SEO | Built by you: components, styling, meta tags, Open Graph and structured data |
What is Shopify Hydrogen?
Shopify sells two kinds of storefront. A Liquid theme runs inside Shopify’s Online Store: the merchant picks a theme, edits sections in the theme editor and adds apps as blocks. A headless storefront is a separate web app that asks Shopify’s APIs for products, collections, the cart and the customer’s account, then sends the shopper to Shopify checkout to pay. Hydrogen is Shopify’s own kit for the second kind.
Shopify lists other ways to go headless next to Hydrogen: calling the Storefront API and Customer Account API directly from any stack, mobile apps through Checkout Kit, Storefront Web Components or Buy Button JS on an existing site, and the Shopify plugin for WordPress. Hydrogen is the option that comes with cart logic, product option handling, analytics and Shopify’s hosting already worked out.
In the 2026-10 library, the pieces are:
- A Storefront API client whose
gql()queries are checked against the schema in the editor. - Request handlers for the Storefront API proxy, checkout, cart permalinks, store redirects and agent endpoints.
- A cart store with optimistic updates and line item forms that still submit with JavaScript off.
- Variant selection, option handling, filters, sorting, pagination and predictive search.
formatMoney(), Shop Pay buttons, a Customer Account API client and localized queries for Markets.- First-party Shopify analytics with consent handling, and React and Vue bindings for the cart and product components.
What changed in Hydrogen 2026-10
Until April 2026, Hydrogen was the framework. A project was a React Router app (Remix before that) set up for Shopify, with its own CLI commands for local development and builds, and it ran best on Oxygen. Shopify’s changelog for 2026-10 puts the change in one line: Hydrogen “now works with any JavaScript framework.” The framework you pick does the routing and rendering; Hydrogen supplies the commerce code.
What this means in practice:
- Next.js is now a Hydrogen option, not an alternative to it. The Vercel Shop starter is Next.js 16 with the App Router, and it uses the same Hydrogen package as the React Router starter.
- Vue gets a composable, and other frameworks subscribe to the cart store directly.
- Static sites are out. Hydrogen handles some requests before your router does (the cart, checkout and login routes), so a browser-only or static-only app cannot use it.
- Agents are part of the design. Hydrogen installs 20 skills for coding agents (
npx @shopify/hydrogen@latest setup), and a Hydrogen storefront answers the same standard storefront actions as a Liquid theme, such aswindow.Shopify.actions.updateCart(). In browsers that support WebMCP, a shopping agent can search the catalog and change the cart, and Shopify Checkout can submit the order once the buyer confirms.
Shopify tested Hydrogen 2026-10 with React Router 7.15.1, even though React Router 8 is out. Its migration guide pins every React Router package to one version and keeps Vite at 8 and React at 19.
Is Shopify Hydrogen free? Oxygen hosting and plan limits
The library is free, and so is the Hydrogen app that connects a storefront to Oxygen. Shopify’s fundamentals page says Oxygen is available “at no extra charge” on its paid plans and names Starter, Basic, Grow, Advanced, Plus and Pause and build. The 2026-10 changelog repeats that Oxygen “is still free.” Development stores and trial plans can deploy as well, but their deployments sit behind a store login.
What changes between plans is the number of public environments, which are deployments anyone can open without logging in to the store:
| Plan | Public Oxygen environments |
|---|---|
| Starter, Basic, Grow, Advanced | 1 each |
| Shopify Plus | 25 |
| Pause and build, Plus partner sandbox | 1 each |
| Retail, nonprofit and custom plans | 1 each |
| Development stores and trial plans | 0 |
Every storefront has a production environment tied to the repository’s default branch and a preview environment for all other branches. You can add custom environments for single branches. Environments are private unless you switch them to public, and private URLs load more slowly because Oxygen checks the login on every request. Each environment holds up to 110 variables, and a changed variable only takes effect after you redeploy.
A single public environment is enough for one live storefront. Brands that want separate public storefronts per region, per brand or for a wholesale portal reach the limit on any plan below Plus. Our Shopify Plus pricing breakdown covers what else the Plus fee includes, and Shopify Plus vs Advanced sets the two plans side by side.
Oxygen runs each storefront as a Web Worker on a runtime based on Cloudflare’s open-source workerd, so some Node.js APIs are missing. The fundamentals page lists a 10 MB limit per worker, 400 ms to start, 30 seconds of CPU time per request and 128 MB of memory. Static assets are capped at 20 MB for images and most files, 1 GB for video and 500 MB for 3D models. Shopify does not support a proxy in front of Oxygen, because a proxy can clash with its bot protection and cause SEO problems.
Hydrogen vs Liquid: which storefront to build
Most Shopify stores run on a Liquid theme, and Shopify’s own advice is to stay there unless the business needs something the themes, apps and sales channels cannot deliver. Its headless overview says a custom storefront costs more to build and to run than a theme, and that the merchant needs developers to maintain it after launch.
| Question | Liquid theme | Hydrogen storefront |
|---|---|---|
| Who changes a page | The merchant, in the theme editor | A developer, in code, then a deploy |
| Apps on the storefront | App blocks and app embeds in the theme editor | Each app’s API or SDK, wired in by a developer |
| Hosting | Included in the Shopify plan | Oxygen at no extra charge, or your own host |
| Front-end stack | Liquid, HTML, CSS and JavaScript | Any server-rendering JavaScript framework |
| Checkout | Shopify checkout | Shopify checkout, on a subdomain |
| SEO basics | Set by the theme and Shopify | Built into your app |
| Product feeds | Link to the store’s pages | Still link to Online Store URLs until rewritten |
| Content from a CMS | Through apps or metaobjects | Any CMS the framework can call |
On apps: Shopify describes theme app extensions as integrating with Online Store 2.0 themes, and its page on them says nothing about headless storefronts. Before choosing Hydrogen, list every app that shows something on the storefront today (reviews, subscriptions, loyalty, search, upsells) and ask each vendor whether it offers a headless integration. The Hydrogen listing names Algolia, Builder.io, Contentful, Klaviyo, Nosto and Sanity as working with it.
Shopify names the cases where headless makes sense: a storefront experience that themes and apps cannot support, a web team whose stack does not use Liquid, Shopify commerce added to a site that already exists, selling in places Shopify does not support out of the box, and a CMS at the center of the content. For the wider trade-off, see the pros and cons of headless Shopify. For the budget, our headless Shopify cost guide breaks down build, hosting and upkeep.
How to start a Hydrogen storefront
- Pick a route. Deploy a template for a new React Router or Next.js storefront: you get home, collection, product, search and cart pages to restyle. Add Hydrogen to an existing project if you already have an app or want Nuxt, Astro, SvelteKit or SolidStart.
- Install the right channel. The Hydrogen app holds Oxygen storefronts, their environments and deployments. A storefront hosted elsewhere, Vercel included, gets its Storefront API tokens and Customer Account API client from the Headless channel instead.
- Connect the store. The React Router template shows demo data from mock.shop until it has a private Storefront API token. Run
npx shopify hydrogen linkto pick or create the storefront, thennpx shopify hydrogen env pullto copy its variables into your local project. - Deploy. In the admin, choose GitHub continuous deployment and Shopify adds a workflow file to the repository. Or deploy from the command line or your own CI with
npx shopify hydrogen deploy --assets-dir dist/client --worker-dir dist/server; the CLI returns the deployment URL. - Run the production checklist. Shopify’s list covers request handlers, header and footer links, sign-in from an HTTPS callback URL, variant URLs, the cart with JavaScript off, filters that survive a reload, analytics events and market-specific prices.
- Go live. Move checkout to a subdomain such as checkout.example.com. For Oxygen, point the root domain’s A record at 23.227.38.65 and its AAAA record at 2620:0127:f00f:5::, point www at shops.myshopify.com, make the production environment public and set the domain’s target to the storefront.
- Redirect the old storefront. The Online Store stays reachable at the myshopify.com address after launch. Shopify’s Hydrogen redirect theme sends those visitors to your storefront and can map paths such as
/account/login > /login.
What Hydrogen leaves to you: SEO, analytics and feeds
Hydrogen 2026-10 lists meta tags, Open Graph tags and structured data under “what your app owns,” and the old getSeoMeta() and getSitemap() helpers are gone from the library. On a new build, budget time for:
- Titles, descriptions, canonical tags and Product, BreadcrumbList and Organization structured data on every template.
- An XML sitemap and robots.txt. The migration guide moves the sitemap last, after markets, customer accounts, analytics, the cart, products, collections and Shop Pay.
- Product pages at
/products/:handle. If your URLs follow another pattern, Shopify asks for a server-side 3XX redirect from that path, and for support of cart permalinks. - Redirects from every URL of the old theme. On a replatform, these count as much as the design.
Analytics needs the same care. The checklist says the app has to publish the PAGE_VIEWED event on the first load and on every client-side navigation, because ShopifyScripts does not do it. Events reach other tools only when the shopper’s privacy settings allow analytics.
Shopping feeds are the last gap. Shopify’s go-live guide warns that the Meta and Google product feeds keep linking to Online Store URLs, so the links in your ads and free listings have to be rewritten with a feed tool or URL rules.
Hosting Hydrogen outside Oxygen
Because 2026-10 is a library, your framework decides where the storefront runs. Shopify’s deploy guide names Oxygen, Vercel, Node servers, Cloudflare Workers, Deno and Fly.io. A few rules apply on every host:
- The private Storefront API token and the session secret are read in server code only. Shopify warns against a browser prefix such as
NEXT_PUBLIC_on the private token. - Server requests should pass the buyer’s IP address in the
Shopify-Storefront-Buyer-IPheader, which Shopify uses for bot protection. Each host exposes it in a different header:oxygen-buyer-ipon Oxygen, the first address inx-forwarded-foron Vercel,CF-Connecting-IPon Cloudflare andFly-Client-IPon Fly.io. - The Storefront API sets no fixed per-minute limit on requests from real buyers. Bots, crawlers and checkout creation are limited, and requests that look malicious can get a 430 response.
- Request-scoped objects, such as the Storefront API client and the session managers, are created inside each request, not shared across requests.
Do you need to migrate an older Hydrogen storefront?
Not today. Shopify’s changelog says existing Hydrogen storefronts “keep working as they do now.” Its legacy docs still recommend moving to the latest version, and the shopify hydrogen upgrade command only moves a store between legacy versions.
One thing to check now is the version range in package.json. Legacy and current Hydrogen are published under the same package name, @shopify/hydrogen, and under npm’s rules a caret range such as ^2026.4.0 accepts 2026.10.0 on the next fresh install. A tilde range such as ~2026.4.0 keeps the project on 2026.4.x until you decide to migrate.
The migration itself is a rebuild of the plumbing, not of the pages. Route files stay. The Remix packages, @shopify/remix-oxygen and @shopify/cli-hydrogen come out, the routes Hydrogen now owns (/api/cart, /checkout, /account/login) are deleted, and components such as <Image>, <Money> and CartForm are replaced. Shopify’s order for the work is markets, customer accounts and analytics first, then the cart, products, collections, Shop Pay and the sitemap. A storefront still on Remix also has to move to React Router 7, which is a separate job. Shopify publishes a migration skill on GitHub for coding agents that walks through the steps.
When Hydrogen is worth it
Hydrogen is the right call in these cases:
- The design or interaction cannot be built in a theme, for example a product configurator, a content-led site run from a CMS, or one front end for several brands.
- Your team already works in React, Next.js or Vue and will maintain the storefront.
- You are adding Shopify commerce to a site that already exists, in place of moving that site into a theme.
- You are on Plus and need more than one public storefront, for regions, brands or B2B.
A Liquid theme is the better choice when the merchant team edits pages day to day, when the storefront depends on apps that have no headless option, or when there is no developer budget after launch.
Our verdict
Hydrogen 2026-10 removes the old trade-off between “Shopify’s framework” and “the framework your team knows,” because the commerce code now drops into either. The cost of going headless has not changed: you own the UI, SEO, analytics events, redirects and every app integration, and the merchant gives up the theme editor. For a store whose theme does the job, that is a cost with no return. For a brand with a real reason to go custom, Hydrogen on Oxygen is the shortest route Shopify offers, with hosting included in the plan. We build on both Hydrogen and Next.js; our headless Shopify development page shows how we scope one.
FAQ
What is Shopify Hydrogen used for?
Hydrogen is used to build a custom storefront that gets products, collections, the cart and customer accounts from Shopify through its APIs, while checkout stays on Shopify. Since version 2026-10 it is a library added to a framework such as React Router, Next.js or Nuxt; earlier versions were a framework built on Remix and React Router.
Is Shopify Hydrogen free?
Yes. The library and the Hydrogen app are free, and Oxygen hosting costs nothing extra on paid plans from Starter to Plus. Plans differ only in public environments: Plus gets 25, and Starter, Basic, Grow and Advanced get one each. You still pay for the developers who build and maintain the storefront.
Is Hydrogen better than a Liquid theme?
Only when a theme cannot do what the business needs. Hydrogen gives developers full control of the front end, but the merchant loses the theme editor and app blocks, and the team takes on SEO, analytics events and redirects. Shopify’s own docs say a headless storefront costs more to build and run than a theme.
Does Shopify Hydrogen work with Next.js?
Yes, from version 2026-10. Shopify publishes a Next.js 16 starter called Vercel Shop that deploys to Vercel, next to a React Router 7 starter for Oxygen. A Next.js storefront hosted outside Oxygen takes its API tokens from the Headless channel instead of the Hydrogen app.
Do I have to migrate my existing Hydrogen storefront?
No. Shopify says storefronts on Hydrogen 2026-04 or earlier keep working with nothing to do today, though its legacy docs recommend moving to the latest version. Check that package.json pins @shopify/hydrogen with a tilde range, because a caret range such as ^2026.4.0 accepts 2026.10.0 on a fresh install.
Sources: on shopify.dev, the Hydrogen 2026-10 release note, the Hydrogen docs, getting started, deploying a storefront, deploying to Oxygen, Oxygen environments and variables, going live, the production checklist, migrating from legacy Hydrogen, the legacy Hydrogen docs, Hydrogen and Oxygen fundamentals, the headless commerce overview, the Storefront API reference and theme app extensions; and the Hydrogen listing in the Shopify App Store. All were read on 17 November 2026. Hydrogen’s commands and limits change between versions; read the docs for the one you install.