Now booking new projects. 2 build slots open this month. Start a project →
E-commerce

Shopify vs Headless: When to Make the Switch

Updated 2026-06 · 8 min read · By the Former CTO and Co-founder

The Shopify vs headless question comes up when merchants feel limited by their current theme or need performance and flexibility that standard Shopify themes cannot deliver. A headless storefront decouples the front-end presentation layer from Shopify's backend, letting you build the customer experience in a framework like Next.js or Shopify's own Hydrogen while using Shopify for cart, checkout, orders, and payments.

Headless is not automatically better. It adds significant engineering overhead and ongoing maintenance costs. This article lays out the concrete cases where headless adds real value, the cases where it does not, and what to evaluate before making the decision in 2026.

Need this on your store?Custom Shopify features and automations, shipped in two weeks.

What Headless Shopify Actually Means in 2026

In a standard Shopify setup, your theme (Liquid-based) renders HTML on Shopify's servers. Customers browse, add to cart, and check out entirely within Shopify's infrastructure. Shopify manages hosting, CDN, and checkout security. In a headless setup, your custom front end (built in React, Next.js, Nuxt, or Hydrogen) is hosted separately and queries Shopify via the Storefront API (GraphQL) to fetch products, collections, and cart data. Checkout still runs on Shopify's hosted checkout, which is required if you want Shop Pay and Shopify Payments.

Shopify Hydrogen is Shopify's own headless framework built on Remix. It provides pre-built components for product pages, carts, and search, and it integrates tightly with Oxygen, Shopify's edge hosting platform. As of 2026, Oxygen is included with Shopify Advanced and Plus plans. Hydrogen lowers the barrier to headless compared to a custom Next.js build, but it still requires React and Remix knowledge to use effectively.

Strong Reasons to Go Headless With Shopify

Headless makes clear sense in four scenarios. First, you need a storefront experience that Liquid themes structurally cannot support, such as a highly interactive product configurator, a 3D viewer embedded in the product page, or a multi-step guided selling tool. Second, you are running a content-heavy site (editorial, blog, or lookbook-style) where you want a CMS like Contentful or Sanity to own the content model and Shopify to own the commerce layer. Third, you need to serve the same catalog across multiple touchpoints, such as a website, a mobile app, and in-store kiosks, from one API. Fourth, your current theme's Time to First Byte and Largest Contentful Paint scores are hurting conversion and you have already exhausted theme-level optimizations.

Page speed alone is a weak reason to go headless. Shopify's Online Store 2.0 themes running on their CDN are fast. A well-optimized Dawn or Prestige theme with compressed images and minimal JavaScript can score in the 90s on Lighthouse. If your scores are poor, audit your theme, apps, and images before assuming headless is the fix. App scripts injected into the page are often the real culprit.

When Headless Shopify Adds Cost Without Enough Value

For most merchants doing under $5 million in annual revenue with a standard product catalog and straightforward checkout flow, headless adds engineering cost without proportional benefit. You will spend $30,000 to $100,000 or more building a headless storefront, and then $2,000 to $8,000 per month in engineering retainer to maintain it, update dependencies, and handle incidents. A well-customized Shopify theme can be built for $5,000 to $20,000 and maintained by a single developer.

Headless also removes you from Shopify's ecosystem in ways that matter. Shopify's built-in analytics, Shopify Markets for international pricing, and many App Store apps are designed to work with Liquid storefronts. Some do not integrate cleanly with headless setups, requiring custom work to reconnect. Review your current and planned app stack before committing to headless, because replacing several apps with custom integrations can easily double your build cost.

Need this on your store?

Custom Shopify features and automations, shipped in two weeks.

See the Shopify Build

Shopify Hydrogen vs a Custom Next.js Headless Build

If you decide headless is right, you next choose between Hydrogen and a custom framework. Hydrogen's advantage is the pre-built Shopify-specific components and the tight integration with Oxygen hosting. If your front end primarily serves commerce (product pages, collections, cart, checkout redirect), Hydrogen is faster to build and easier to keep up to date. The Shopify team maintains the framework and ships updates that track the Storefront API.

A custom Next.js build makes sense if you have a large existing React codebase you want to extend, if you need framework features Hydrogen does not support, or if you have strong opinions about your routing and data-fetching patterns. You will write more boilerplate and own the Shopify API integration entirely, but you get maximum control. Budget 20 to 30 percent more time for a custom build compared to Hydrogen for equivalent functionality.

Making the Decision: a Practical Evaluation Checklist

Before committing to headless, work through these questions. Does your storefront require UI interactions that a Liquid theme cannot support? Do you have a team with React and API experience who will own the front end long-term? Have you measured your current site's performance and confirmed that theme-level optimization cannot close the gap? Do your current apps support headless setups, or will you need to replace or custom-build them? Is your annual revenue high enough to justify the ongoing engineering cost?

If you answered no to two or more of those questions, stay on a Liquid theme for now. Build a fast, well-structured theme, invest in good images and copy, and revisit headless when your revenue and team size justify it. The merchants who benefit most from headless are those with genuine front-end complexity, a dedicated engineering team, and a catalog or content model that a standard theme cannot represent.

Key takeaways

  • Headless Shopify is the right move when you have front-end complexity, multi-channel needs, or a content model that Liquid cannot support.
  • For most stores under $5 million in revenue, a well-optimized Liquid theme is faster to build and cheaper to maintain than headless.
  • Shopify Hydrogen is the lower-risk path to headless for commerce-focused storefronts. Custom Next.js gives more control but requires more build time.
  • Audit your existing apps before going headless. Many App Store integrations do not work cleanly with custom storefronts and require replacement.

Frequently asked questions

Yes. Shopify requires you to use their hosted checkout if you want Shopify Payments and Shop Pay. Your headless storefront handles browsing and cart building, then redirects to Shopify's checkout URL to complete the purchase.

A Hydrogen-based headless build with standard features typically costs $30,000 to $70,000. A fully custom Next.js build with complex integrations can run $80,000 to $150,000 or more. Ongoing maintenance typically adds $2,000 to $8,000 per month.

No. The Storefront API is available on all Shopify plans. However, Shopify Plus and Advanced plans include Oxygen hosting for Hydrogen apps. On lower plans, you host your front end on a third-party platform like Vercel or Netlify.

Some can and some cannot. Apps that inject scripts into Liquid theme files will not work in a headless setup. Apps that operate via the Admin API or expose their own REST or GraphQL API can usually be integrated. Review each app you rely on before committing to headless.

SEO for headless requires server-side rendering (SSR) or static site generation (SSG) so that search engines receive fully rendered HTML. Hydrogen and Next.js both support SSR. A client-side-only React app will have poor SEO. Make sure your headless framework handles meta tags, canonical URLs, and structured data, since Shopify's Liquid theme handles these automatically on standard setups.

Free project plan

Tell us what you are building

Get a plan and a fixed estimate at no cost. A real engineer, not a sales rep, replies within one business day.

No spam, ever. One reply within one business day.

Thank you. Your brief is on its way. We reply within one business day.

Prefer to talk first? Book a 30-minute call or connect on LinkedIn.

SH
Former CTO and Co-founder, Seven Hills

I started Seven Hills to do the work I am proudest of, directly with the people who depend on it. As a CTO and co-founder I led an 18-engineer team and personally shipped the products behind these case studies, from a Fortune 100 shipping system to a SaaS product we built and sold. You work with that experience, not a sales layer on top of it.

Connect on LinkedIn →
Start a projectBook a call