
Shopify Hydrogen is Shopify's toolkit for headless storefronts. Since the 2026-10 release in October 2026 it is no longer a framework you build on but a library you add to Next.js, React Router or another framework, while checkout, products and customers stay on Shopify. It is worth it when a theme genuinely limits what you can build and you have developers to maintain custom code. It is not fast by default: speed depends on how data is fetched and cached, how much JavaScript reaches the browser and how third-party scripts are handled.
- Hydrogen 2026-10 is a library for any JavaScript framework; existing Hydrogen sites keep working.
- Go headless for real needs: custom experiences, several content sources or frontends, a dev team.
- Oxygen hosting is free on paid Shopify plans; Next.js storefronts can run on Vercel.
- Speed comes from caching, less client JavaScript and fewer scripts, measured on real visitors.
What is Shopify Hydrogen in 2026?
A headless Shopify store separates the storefront, the pages shoppers see, from Shopify's backend. Products, inventory, customers and checkout stay in Shopify; the storefront is custom code that reads them through the Storefront API. Hydrogen is Shopify's toolkit for building that storefront, and it has changed shape several times:
| When | What Hydrogen was |
|---|---|
| 2022 | First version, a React framework of its own |
| 2023 | Rebuilt on Remix, after Shopify acquired Remix |
| May 2025 | Hydrogen 2025.5.0 moves from Remix 2 to React Router 7 |
| October 14, 2026 | Hydrogen 2026-10: a library that adds commerce features to the framework you already use |
The 2026-10 release splits the work into three layers. Your framework owns routing, rendering, data loading and the interface. Hydrogen owns the Storefront API client, the cart and the commerce routes a store needs, such as cart and checkout handoff. Shopify provides the Storefront API, the Customer Account API and checkout. Shopify ships starter templates for React Router, deployed to Oxygen, and for Next.js, through Vercel Shop, and lists Nuxt, Astro and SvelteKit as frameworks the core can run in.
Versions 2026-04 and earlier are now "legacy Hydrogen". Shopify says existing Hydrogen storefronts keep working as they do and there is nothing to do today; moving to the new version is optional, with a migration guide for when you are ready.
Headless Shopify or a Liquid theme?
Most DTC brands do not need headless. A Liquid theme is cheaper to build, easier for marketers to edit, works with the whole app ecosystem and, set up well, is fast. Hydrogen earns its cost when a theme blocks something the business needs:
| Question | Points to a Liquid theme | Points to Hydrogen |
|---|---|---|
| What do you need to build? | Standard product, collection and content pages | Custom experiences a theme cannot deliver, such as configurators or app-like flows |
| Where does content come from? | Shopify alone | A headless CMS or several systems, or several storefronts on one backend |
| Which apps do you rely on? | Apps that add theme blocks | Apps with APIs, or features you will build yourself |
| Who will maintain it? | A marketer with the theme editor and occasional developer help | A development team, in house or agency, for the life of the store |
| How much change do you expect? | Mostly content and merchandising | Frequent new features and integrations |
The cost is not the platform: Hydrogen is free and Oxygen is included on paid plans. The cost is the custom code and the team that keeps it working as Shopify, the framework and your integrations change. If the honest answer to "who maintains this in two years?" is unclear, stay on a theme and invest in conversion work instead.
What stays on Shopify
Going headless replaces the storefront, not the store. Checkout is still Shopify's checkout, so Shop Pay, payment methods and checkout settings carry over; product, inventory and order data still live in Shopify; Markets still handle currencies and languages; and customer accounts run through the Customer Account API. Hydrogen's job is to connect a custom storefront to all of this without rebuilding it.
Oxygen, Vercel or somewhere else?
Since 2026-10, your framework decides where you can deploy. The two paths Shopify supports directly:
| Oxygen | Vercel | |
|---|---|---|
| Starter template | React Router 7 in framework mode | Next.js 16 (Vercel Shop) |
| Cost | Included on paid Shopify plans | Vercel's own pricing |
| Runtime | Worker-based edge runtime built on Cloudflare's open-source workerd | Vercel's platform |
| Best for | Teams that want hosting inside Shopify, deployed from the Hydrogen channel | Teams already building on Next.js and Vercel |
Oxygen runs storefront code at the edge, close to shoppers, and integrates with Shopify's CDN. How to get the most from it is covered in Shopify Oxygen optimization.
How to make a Hydrogen storefront fast
Hydrogen gives you the parts for a fast store; it does not assemble them for you. Work through these in order.
1. Measure real visitors by template. Pull Core Web Vitals from Search Console and the Chrome UX Report for the homepage, collection pages, top product pages and cart, split by mobile and desktop. Lab tests on streamed pages can differ from what visitors experience, so field data decides.
| Metric | Good | Usual Hydrogen culprit |
|---|---|---|
| Largest Contentful Paint (LCP) | 2.5 seconds or less | Uncached data requests, a heavy hero image |
| Interaction to Next Paint (INP) | 200 milliseconds or less | Too much JavaScript in the browser, third-party scripts |
| Cumulative Layout Shift (CLS) | 0.1 or less | Content streamed in without reserved space |
2. Fix the data layer. Query only the fields each template renders, split oversized Storefront API queries, and cache what rarely changes, such as product and collection data, with a sensible lifetime and stale-while-revalidate so pages never wait on a fresh request. Give every third-party data source (reviews, CMS, personalization) its own cache rule and a graceful fallback.
3. Send critical content first. On a product page, the image, name, price, variant picker and add to cart button should arrive before reviews, recommendations and user content. Streaming and deferred loading make the page usable sooner without removing anything.
4. Ship less JavaScript. Render on the server whatever does not respond to input, and keep browser code for the cart, filters, galleries and selectors. Split code by route and audit dependencies: a large UI library used for two components ships to every visitor.
5. Control images and scripts. Serve responsive, modern-format images and never lazy-load the main product image. List every analytics, chat, loyalty and review script on high-revenue routes and remove or delay the ones that do not help the purchase. Deloitte found a 0.1-second faster mobile site lifted retail conversions by 8.4%.
Tie speed work to conversions
Start with the routes that carry the revenue: best-selling product pages, landing pages for paid traffic, and the cart. A half-second gain on a page that takes 40% of orders is worth far more than the same gain on a rarely visited page. Ship changes as measurable releases and judge them by conversion rate, add-to-cart rate and revenue per session, not a Lighthouse score; A/B testing for ecommerce covers how. Then make speed part of every feature review, because a headless storefront slows down one integration at a time. Confirm tracking survives each release with the Shopify conversion tracking checks.
Should you migrate from legacy Hydrogen?
Not urgently. Shopify says legacy storefronts keep working and migration is optional for now. Plan it alongside a redesign or a larger release, when the code is open anyway: Shopify's guide keeps your pages and routes and changes where the commerce code comes from. A storefront with known performance or maintenance problems is a good candidate to move sooner, because the new structure lets your framework handle routing and rendering on its own terms.
How Glued helps with Hydrogen and theme builds
Glued's work is conversion: we audit Shopify storefronts, headless or theme, for the speed, UX and checkout problems that cost orders, and design, build and measure the fixes. For brands weighing a headless rebuild, we start from conversion data rather than architecture preference, and often the answer is a faster theme. Start with a free audit, or see what an ongoing program covers in Shopify optimization services.
The bottom line
Hydrogen 2026-10 makes headless Shopify more flexible than ever, but it is still a commitment to custom code. Choose it for needs a theme cannot meet, host it on Oxygen or Vercel, and earn the speed through caching, less client JavaScript and fewer scripts, measured on real visitors. The conversion rate optimization guide shows where speed fits in the wider program.
FAQ
What is Shopify Hydrogen?
Hydrogen is Shopify's toolkit for building headless storefronts. Since the 2026-10 release it is a library that adds Shopify commerce features (cart, variants, Markets, analytics, Shop Pay and customer accounts) to the JavaScript framework you choose, while checkout and data still come from Shopify.
Is Shopify Hydrogen free?
Yes. Hydrogen is free to use, and Oxygen, Shopify's hosting for Hydrogen storefronts, is included at no extra charge on paid Shopify plans from Starter to Plus. The real cost of a Hydrogen storefront is building and maintaining the custom code.
Do I need Shopify Plus to use Hydrogen?
No. Shopify lists Oxygen as available on its Starter, Basic, Grow, Advanced and Plus plans, so Hydrogen is not limited to Plus. Plus adds features such as checkout customization that larger headless builds often want.
Is Hydrogen faster than a Shopify theme?
Not by default. A well-built Hydrogen storefront can be very fast, but a slow data layer, too much JavaScript or heavy third-party scripts can make it slower than a well-configured Liquid theme. Compare field data from real visitors, not a single lab test.
Can I use Hydrogen with Next.js?
Yes. Since Hydrogen 2026-10, Shopify offers a Next.js starter (Vercel Shop, deployed to Vercel) alongside a React Router starter deployed to Oxygen, and the core also runs in Nuxt, Astro and SvelteKit.
Do Shopify apps work on a Hydrogen storefront?
Apps that add features through the theme, such as app blocks and theme app extensions, do not appear on a headless storefront. You need apps that offer an API or a headless integration, or you build the feature yourself, so check every app you rely on before going headless.
Get A Free Website Audit.
We’ll identify what’s leaking revenue on your site and show you how to fix it. The free audit includes: