Shopify Hydrogen vs Next.js: which for a headless store?
Both build a custom storefront on top of Shopify through the Storefront API. Hydrogen is Shopify's own React framework with built-in hosting on Oxygen. Next.js is a general React framework you can host anywhere, such as Vercel. Hydrogen fits teams who want the Shopify path. Next.js fits teams who want wider flexibility and a larger ecosystem.
What each one is
Hydrogen is Shopify's headless commerce stack. Its current documentation describes it as built on React Router, and it connects to the Storefront API and Customer Account API. Hosting on Oxygen, Shopify's edge platform, comes with the Hydrogen sales channel.
Next.js is a general-purpose React framework. You connect it to Shopify through the Storefront API and host it where you choose. It has a very large community, and many commerce tools support it.
How they compare
Both can be fast and good for search when built well. The difference is mostly in fit.
| Question | Hydrogen | Next.js |
|---|---|---|
| Made by | Shopify | Vercel, with a large open source community |
| Hosting | Oxygen included, or host elsewhere | Any host, commonly Vercel |
| Shopify-specific helpers | Built in | Added through libraries and the API |
| Beyond commerce | Focused on storefronts | Also suits content, apps and other sites |
| Hiring and ecosystem | Smaller | Larger |
Do you need headless at all?
Often not. A well-built Shopify theme is the right answer for many brands, and we say so in our guide to Shopify versus headless. Headless earns its cost when design freedom, performance targets or a custom journey cannot be reached in a theme.
How we build
We build headless storefronts on Next.js with Shopify behind them, as in the Kalrekha case study. Custom builds are from £2,000, with a fixed scope and a discovery call first.
Talk it through with us.
Book a short discovery call and we will say what we would fix first, and whether it is a store fix, a Sprint or a bigger build.
Questions, answered.
Anything else, ask on the call.
Does headless Shopify hurt SEO?
It can if pages render poorly or URLs change. Built with server rendering, correct metadata and redirects, a headless storefront can rank as well as a theme.
Is Hydrogen free?
The framework is open source. Hosting and Shopify plan fees apply separately. Check Shopify for current terms.
Can I keep Shopify checkout?
Yes. Headless storefronts commonly send customers to Shopify's checkout.
Which should I choose?
Start from the job. If you are unsure whether you need headless, a discovery call will say so honestly.