/ Adam Kwiecień
Shopify Hydrogen vs Next.js vs Shopify Liquid theme: choosing the right frontend for a growing store
Compare Shopify Hydrogen, Next.js and Liquid themes to choose the best Shopify frontend for performance, SEO, app compatibility, cost and future growth plans.

Shopify Hydrogen vs Next.js vs Shopify Liquid Theme: Choosing the Right Frontend for a Growing Store
Choosing a Shopify frontend is not only a design decision. It affects conversion rate, app compatibility, maintenance cost, release speed, SEO and how easily your ecommerce stack can support future growth.
The reason is simple. The frontend controls how fast pages load, how products are discovered, how apps appear, how content is managed and how reliably changes reach production. A slow collection page can hurt Core Web Vitals. A missing review widget can reduce trust. A complex headless build can slow down marketing releases. A theme overloaded with apps can become hard to maintain.
For many merchants, a Shopify Liquid theme is still the best option. Shopify Online Store 2.0 themes are fast to launch, familiar to ecommerce teams and compatible with most Shopify apps. Hydrogen is a good fit when Shopify remains the commerce core but the storefront needs a more custom experience. Next.js is usually best when the frontend must sit above several systems, such as Shopify, a CMS, ERP, PIM, search platform or custom pricing engine.
The best choice is not the most modern one. It is the option that improves customer experience while keeping operations stable and future change affordable.
Quick answer
Choose a Shopify Liquid theme if you need speed, predictable cost, strong app compatibility and low operational complexity.
Choose Shopify Hydrogen if you want a headless Shopify storefront but still want to stay close to Shopify's recommended stack, Storefront API and hosting model.
Choose Next.js if Shopify is only one part of a larger commerce architecture and your team needs maximum control over rendering, routing, data integration, caching, CMS workflows and personalization.
This is exactly the type of trade-off we discuss in When not to build custom software.
Shopify Hydrogen vs Next.js vs Shopify theme: comparison table
|
Criteria |
Shopify Liquid theme |
Shopify Hydrogen |
Custom Next.js storefront |
|---|---|---|---|
|
Best for |
Standard DTC stores, app-heavy stores, lean teams |
Shopify-first headless commerce, custom UX, content-led commerce |
Complex commerce platforms, multi-system architecture, enterprise frontend control |
|
Typical time to launch |
Low: often 2-8 weeks |
Medium: often 8-16 weeks |
High: often 12-26+ weeks |
|
Development cost |
Low to medium |
Medium to high |
High |
|
Maintenance burden |
Low to medium |
Medium |
High |
|
App compatibility |
Strongest |
Mixed. Depends on app APIs and headless support |
Mixed. Often requires custom integration |
|
Hosting |
Shopify hosts the theme |
Often Shopify Oxygen, also possible elsewhere |
Vercel, Netlify, AWS, Cloudflare or custom hosting |
|
Core framework |
Liquid, JSON templates, theme app blocks |
Shopify's React and Remix-based stack |
React with Next.js |
|
Data access |
Shopify theme data and Liquid objects |
Shopify Storefront API |
Storefront API plus any external APIs |
|
SEO control |
Good for most stores |
Strong if implemented well |
Strong if implemented well |
|
Performance potential |
Good, but can suffer from app bloat |
High, but depends on implementation |
High, but depends on implementation |
|
CMS flexibility |
Shopify CMS and theme sections |
Shopify plus external CMS if needed |
Strong fit for external CMS and structured content |
|
Localization |
Shopify Markets and theme translation workflows |
Shopify Markets plus custom routing and content logic |
Maximum flexibility for markets, domains and content models |
|
Checkout customization |
Governed by Shopify checkout rules |
Still governed by Shopify checkout rules |
Still governed by Shopify checkout rules |
|
Preview workflow |
Built into Shopify theme editor |
Needs developer workflow |
Needs developer workflow |
|
Analytics and pixels |
Usually easier with Shopify apps |
Requires more QA |
Requires more QA |
|
Team requirement |
Theme developer or Shopify partner |
React, Remix and Shopify API skills |
React, Next.js, API, DevOps and ecommerce architecture skills |
No option is automatically faster or better. A clean Shopify theme can outperform a poor headless build. A well-built Hydrogen or Next.js storefront can outperform a bloated theme. The implementation matters as much as the framework.
What each option really means
Shopify Liquid theme
A Shopify Liquid theme is the standard Shopify storefront. It uses Liquid templates, Online Store 2.0 sections, JSON templates, theme app blocks and Shopify's native hosting.
This option keeps you closest to Shopify's default model. Merchandising, app setup, theme editing, checkout handoff, analytics setup and preview workflows are familiar to most Shopify teams.
It works well when the business model is clear and the storefront does not need unusual architecture. For example, a store selling apparel, cosmetics, home goods or supplements can often scale far with a well-built Shopify theme.
Shopify Hydrogen
Hydrogen is Shopify's headless storefront stack. It is not just a generic React framework. The current Hydrogen stack is based on React and Remix patterns, uses Shopify's Storefront API and is commonly deployed on Shopify Oxygen. Shopify documents Hydrogen as its recommended path for custom headless storefronts.
Hydrogen is useful when you want more frontend control but do not want to design every piece from scratch. It gives a Shopify-aware starting point for cart handling, product data, routing, caching and Storefront API usage.
Next.js storefront
A Next.js storefront is a custom React frontend built outside Shopify's opinionated Hydrogen path. It can still use Shopify as the commerce backend through the Storefront API. It can also connect to CMS, PIM, ERP, search, pricing, subscriptions, loyalty, experimentation and personalization systems.
Next.js offers flexible rendering options, routing, image optimization, caching tools and deployment patterns. These tools are powerful but they are not magic. SEO and performance depend on architecture, hosting, cache invalidation, data fetching and developer discipline.
Useful references:
For details on SEO risks in React storefronts, see Technical SEO for React and Next.js Ecommerce. For broader frontend strategy, see Frontend modernization with React and Next.js.
When to choose a Shopify Liquid theme
A Shopify theme is usually the right choice when speed, budget and app compatibility matter most.
Choose this path if:
- Your product catalog is simple or moderately complex.
- Most merchandising can be handled inside Shopify.
- Your team depends on Shopify apps for reviews, subscriptions, bundles, loyalty, search or upsells.
- Marketing needs to edit pages without developer help.
- You do not have internal React developers.
- Your store does not need a custom CMS or complex localization model.
- You want the lowest total cost of ownership.
Shopify Online Store 2.0 improved theme flexibility. Sections can be used across more templates. Theme app blocks make many app integrations easier. For many merchants, this is enough.
There are limits. A theme can become slow if too many apps inject scripts. Complex theme customizations can become fragile. Content modeling is limited compared with a dedicated CMS. Some checkout behavior remains outside theme control. If your team keeps fighting the theme layer, it may be time to consider headless.
A good Shopify theme is not a "basic" choice. It is often the most commercially sensible choice.
When to choose Hydrogen
Hydrogen is a strong option when Shopify remains the center of commerce but the storefront needs a more custom experience.
Choose Hydrogen if:
- You want a headless storefront built around Shopify conventions.
- Product pages need custom layouts, interactive buying guides or advanced variant logic.
- Content and commerce must blend more tightly than a theme allows.
- You need custom routing for international storefronts.
- You want more control over performance and data loading.
- Your team has React and Remix skills.
- You want to use Shopify Oxygen rather than manage a fully custom hosting setup.
Hydrogen can help with editorial commerce, custom product discovery, international UX and non-standard page structures. It also reduces some setup work because it is designed around Shopify's Storefront API.
The trade-off is app compatibility. Many Shopify apps were built for Liquid themes. Their widgets, scripts or theme app blocks may not work automatically in a Hydrogen storefront. Some vendors provide APIs or headless SDKs. Others require a custom rebuild.
Hydrogen is not a shortcut around ecommerce complexity. It is a better starting point when the store is headless but still Shopify-first.
Smolna 38 is the case in miniature. A Warsaw techno club needed one storefront for event tickets, merch, a members' presale and a DJ programme - none of which is a normal Shopify product - so we designed it from zero and built it on Hydrogen, keeping Shopify for cart, checkout and payments while bending the storefront around the club rather than the other way round.
When to choose Next.js
A custom Next.js storefront offers the highest flexibility. It is often the right choice when Shopify is only one part of a larger commerce system.
Choose Next.js if:
- Product data comes from a PIM.
- Inventory or pricing depends on an ERP.
- B2B pricing requires custom account rules.
- Content is managed in a separate CMS.
- Search and merchandising depend on a dedicated platform.
- You run multiple brands, regions or storefronts from shared services.
- Personalization depends on customer segments or external data.
- Your frontend roadmap extends beyond Shopify's default model.
Next.js can act as the presentation layer over several systems. This is useful when the frontend must compose data from Shopify, Contentful, Sanity, Algolia, Bloomreach, Akeneo, NetSuite, custom APIs or a pricing service.
That does not mean every ERP, PIM or B2B project needs Next.js. Sometimes Shopify Plus, Shopify Markets, B2B on Shopify, middleware or backend integrations are enough. Next.js becomes attractive when the frontend itself needs to coordinate these systems in a controlled way.
The main downside is governance. A custom ecommerce frontend needs clear ownership, monitoring, testing, release processes and experienced developers. If you are hiring a Next.js agency, check whether they understand Shopify APIs, cache strategy, data contracts and conversion-focused ecommerce UX. Our guide on How to Choose a Software House can help reduce vendor risk.
Checkout constraints: what headless can and cannot change
Headless storefronts can change the browsing and buying journey before checkout. They can customize product pages, search, navigation, landing pages, cart UI and content experiences.
They do not give unlimited control over Shopify checkout.
Shopify checkout is governed by Shopify's checkout architecture and extensibility model. Checkout UI extensions, Shopify Functions, branding settings and app-based extensions can change some checkout behavior. Some advanced checkout customizations may require Shopify Plus or specific feature support.
Useful reference:
This distinction matters. If your main problem is checkout payment logic, discounts, subscriptions, B2B rules or post-purchase offers, a headless frontend may not solve it by itself. You may need Shopify Functions, a checkout extension, a Plus plan, a subscription platform or a backend integration.
Before choosing Hydrogen or Next.js, separate storefront needs from checkout needs. They are related but not the same.
App compatibility: the hidden cost of going headless
App compatibility is one of the largest differences between a Shopify theme and a headless storefront.
In a Liquid theme, many apps work through theme app blocks, script tags, snippets or Shopify's native admin workflows. In Hydrogen or Next.js, the frontend is custom. That means the visible part of the app may need a separate implementation.
Common app categories affected by headless builds include:
- Product reviews and ratings
- Loyalty and rewards
- Subscriptions
- Bundles and kits
- Product recommendations
- Search and filtering
- Upsells and cross-sells
- Personalization
- Analytics pixels
- A/B testing
- Size guides
- Back-in-stock alerts
- Merchandising tools
This does not mean headless breaks every app. Some apps have strong APIs, webhooks or headless SDKs. Others still work because they operate in the backend or Shopify admin. The risk is not binary. The question is how much integration work is needed.
Before going headless, create an app inventory. For each app, ask:
- Does it render anything on the storefront?
- Does it support Storefront API, SDKs or webhooks?
- Does it affect cart or checkout?
- Does it inject tracking scripts?
- Does it support preview and staging?
- What happens if the app is removed or replaced?
This step often changes the business case.
SEO and performance: potential is not the same as outcome
Hydrogen and Next.js can give strong SEO and performance control. They allow developers to manage rendering, metadata, structured data, redirects, canonical tags, caching and content delivery more deliberately.
But this control creates responsibility.
A Shopify theme can perform well if it is lean, well-coded and not overloaded with apps. A headless storefront can perform poorly if it fetches too much data, blocks rendering, misses metadata or handles caching badly.
Important SEO and performance checks include:
- Server-rendered or statically generated key pages
- Clean title tags and meta descriptions
- Correct canonical URLs
- Structured data for products, breadcrumbs and reviews
- XML sitemap coverage
- Redirect mapping during migration
- Indexable collection and product pages
- Stable pagination and faceted navigation rules
- Core Web Vitals monitoring
- Image optimization
- JavaScript bundle control
- Cache invalidation for price, inventory and content changes
For ecommerce, performance is commercial. Google's Core Web Vitals are only one part of the picture. Fast search results, fast add-to-cart actions and stable layout during product browsing also affect customer experience.
The practical rule is this: do not choose headless because it "will be faster." Choose it only if your team can design, measure and maintain the performance model.
Cost and effort comparison
Exact budgets vary by market, team and scope. Still, the relative difference is clear.
|
Cost area |
Shopify Liquid theme |
Hydrogen |
Next.js |
|---|---|---|---|
|
Initial build |
Low to medium |
Medium to high |
High |
|
App integration |
Low |
Medium to high |
Medium to high |
|
Hosting setup |
Included in Shopify |
Low to medium |
Medium to high |
|
QA effort |
Low to medium |
Medium |
High |
|
SEO migration effort |
Low for theme redesigns, medium for major changes |
Medium to high |
Medium to high |
|
Analytics setup |
Low to medium |
Medium |
Medium to high |
|
Ongoing development |
Low to medium |
Medium |
High |
|
Operational monitoring |
Low |
Medium |
High |
Indicative project profiles:
- Theme redesign: often 2-8 weeks. Best for visual redesigns, theme cleanup and better merchandising.
- Hydrogen build: often 8-16 weeks. Best for Shopify-first headless builds with custom UX.
- Next.js commerce frontend: often 12-26+ weeks. Best for multi-system architecture and advanced frontend control.
Hidden costs often include:
- Rebuilding app widgets
- Setting up preview environments
- Monitoring API errors
- Managing cache invalidation
- Regression testing cart flows
- Validating analytics and pixels
- Handling SEO migrations
- Maintaining redirects
- Training the marketing team
- Paying an agency retainer or internal frontend team
Total cost of ownership matters more than launch cost. A cheaper build that slows every future campaign can become expensive.
Operational requirements for headless commerce
A Shopify theme needs governance too. Headless needs more of it.
For Hydrogen or Next.js, plan these practices before launch:
- Uptime monitoring
- Error logging
- Core Web Vitals tracking
- Storefront API error monitoring
- Rate-limit awareness
- Automated regression tests
- Cart and checkout smoke tests
- Analytics and pixel QA
- SEO regression checks
- Redirect testing
- Rollback plans
- Staging and preview environments
- Cache invalidation rules
- Release ownership
- Documentation for marketers and support teams
These practices are not optional at scale. A custom storefront becomes part of your revenue infrastructure. Treat it like a product, not a one-off website.
Audience-specific guidance
Small or app-heavy DTC store
Stay with a Shopify Liquid theme in most cases. You will likely get better value from theme cleanup, app rationalization, better product pages and faster checkout handoff.
Going headless may add cost without improving the customer journey enough.
Scaling DTC brand with custom content needs
Consider Hydrogen if Shopify is still your commerce core. It works well when the brand needs stronger storytelling, custom product discovery or localized storefront experiences.
A separate CMS may still be useful. Check editorial workflows before committing.
Shopify Plus merchant
Evaluate all three options. Shopify Plus features may solve some needs without a custom frontend. But Hydrogen or Next.js may make sense if markets, content, B2B rules or frontend experimentation are central to growth.
Checkout requirements deserve special review.
B2B seller
Do not assume headless is required. Shopify B2B features, company profiles, price lists and checkout extensibility may be enough. Consider Next.js when account-specific catalogs, ERP-driven pricing or custom approval workflows shape the storefront experience.
Enterprise commerce team
Next.js is often the strongest fit if the frontend must integrate many systems and support multiple brands or regions. It also requires mature engineering practices. Without them, flexibility becomes fragility.
Mini-scenarios
Scenario 1: App-heavy cosmetics store
The store uses reviews, subscriptions, bundles, loyalty, back-in-stock alerts and influencer landing pages. The team has no internal developers.
Best fit: Shopify Liquid theme.
The main work should be theme performance cleanup, app audit, better templates and conversion optimization.
Scenario 2: Content-led furniture brand expanding internationally
The brand needs buying guides, editorial collections, localized content and custom product discovery. Shopify remains the source of products, cart and checkout.
Best fit: Hydrogen.
The store gets more UX control while staying close to Shopify's headless tooling.
Scenario 3: Enterprise B2B supplier
The storefront needs ERP inventory, customer-specific pricing, PIM product data, custom search, regional catalogs and account-based workflows.
Best fit: Next.js, often with middleware or a backend-for-frontend layer.
Shopify can still handle commerce data and checkout where appropriate. The frontend needs broader orchestration.
Decision checklist
Use this checklist before choosing a frontend.
Choose a Shopify Liquid theme if most answers are yes:
- Do you need to launch quickly?
- Is app compatibility a major priority?
- Is your internal development capacity limited?
- Can Shopify sections handle most content needs?
- Are your products and pricing mostly standard?
- Is predictable maintenance cost important?
- Would headless mainly be a branding preference?
Choose Hydrogen if most answers are yes:
- Is Shopify still the main commerce platform?
- Do you need custom UX beyond theme limits?
- Do you want a Shopify-aligned headless stack?
- Does your team know React and Remix?
- Can you rebuild or replace app widgets where needed?
- Do you need more control over routing, data loading and performance?
- Are you prepared to manage a more technical release process?
Choose Next.js if most answers are yes:
- Does the storefront depend on several backend systems?
- Do you need a custom CMS workflow?
- Do you need advanced localization or multi-brand architecture?
- Are pricing, inventory or product data controlled outside Shopify?
- Do you have strong frontend engineering capacity?
- Do you need full control over rendering and deployment?
- Can you fund ongoing maintenance, QA and monitoring?
Pre-headless audit checklist
Before going headless, run a short architecture audit. It should cover:
- Current performance baseline
- App inventory and replacement plan
- Storefront API requirements
- Checkout requirements
- SEO migration plan
- Redirect strategy
- Analytics and pixel plan
- CMS and content model
- Product data ownership
- Pricing and inventory data flow
- Localization and market rules
- Hosting model
- Cache strategy
- Preview workflow
- QA plan
- Internal ownership
- Maintenance budget
Many headless projects fail not because the technology is wrong but because the business case is unclear. See Why headless commerce fails before committing.
Final recommendation
A practical rule still holds.
Choose a Shopify Liquid theme if speed, budget, app compatibility and operational simplicity matter most.
Choose Hydrogen if you want headless commerce while staying close to Shopify's ecosystem.
Choose Next.js if frontend experience is a competitive advantage and your architecture goes beyond Shopify's default model.
The best frontend is not the newest one. It is the one that supports your current business, improves the customer journey and gives your team room to grow without creating unnecessary complexity.




