Headless Commerce: When a Custom Storefront Is Worth It
Headless commerce pays off when a theme truly can't do what your revenue needs and you can fund developers for years, not months. Here's the test, the real costs and the break-even math.
Headless commerce is worth it when your store needs something a theme can't do, that gap costs you real revenue, and you can pay developers to run a custom storefront for years. If you can't name the revenue problem, or you'd struggle to fund ongoing development, a fast theme with good apps will make you more money.
Headless is the most oversold idea in e-commerce. Agencies pitch it as speed, freedom and "future-proof." Shopify's own docs are more honest: "A headless storefront costs more to build and run than a theme." That one line should anchor every conversation about it.
Below: what headless means, how it compares to a theme, the real costs, a break-even worked example, the three-part test I use, the options on Shopify, SEO risks and what to do this week.
Key takeaways
- Headless is a cost, not a feature. You trade monthly app fees for a permanent dev budget.
- Name the revenue problem first. If a theme can solve it, a theme is cheaper.
- Do the break-even math. Smaller stores need a big lift to pay back the build and run cost.
- Speed isn't automatic. A good theme can beat a sloppy custom build on Core Web Vitals.
- Treat launch like a replatform. Redirects, canonicals and sitemaps decide whether SEO survives.
What is headless commerce?
Headless commerce splits a store into two parts. The back end handles products, inventory, carts, checkout and orders. The front end, the "head," is what shoppers see and click. In a normal Shopify store, a theme is the head. In a headless store, you build your own and connect it through an API.


On Shopify, that API is the Storefront API, which uses GraphQL. Shopify's Storefront API reference says it "scales with buyer traffic" and that "requests from real buyers aren't subject to a fixed request-per-minute limit." Bots and crawlers are limited, most strictly when requests are unsigned.
How does a headless store compare to a theme?
Here's the honest side-by-side. Neither column is better in general. They fit different stores.
| Factor | Shopify theme | Headless storefront |
|---|---|---|
| Design freedom | High within the theme system | Total |
| Time to launch | Weeks | Months |
| Apps | Most install and work in minutes | Many need custom work to show on the storefront |
| Who changes the site | Marketers, in the theme editor | Developers, through code and deploys |
| Speed | Good on a lean, well-built theme | Very fast if built well, slow if not |
| Ongoing cost | Theme and app fees | Developers, hosting and tooling, for as long as it runs |
| Checkout | Shopify's | Often still Shopify's, so ask |
That last row surprises people. Ask your developer where checkout will live. In many headless Shopify builds, shoppers still finish on Shopify's checkout, so headless changes the browsing experience more than the payment step. The guide to checkout optimization covers what you can change there.
When does Shopify say to go headless?
Shopify's page about headless commerce says to consider it when a store's needs "can't be achieved with Shopify's sales channels, themes, and apps." It names cases like a storefront that existing tools can't support, a web stack that doesn't use Liquid, or a content system you need to plug in.


The same page lists the cost plainly: headless "costs more to build and run than a theme," and you need developers to maintain the storefront. I'd frame it as a test with three parts. You need all three.
- A real gap. A specific experience your theme can't deliver, even with custom sections or apps.
- A revenue reason. That gap costs you money you can estimate, not just pride.
- A dev budget. You can pay for a developer or team for years, not just for the build.
If one part is missing, stay on a theme. If you're unsure about the first part, ask a strong theme developer to quote the feature first. Most "we need headless" briefs turn out to be "we need a better theme developer."
What are good reasons to go headless?
These are the cases where I've seen the test pass:
| Reason | Why a theme struggles | Example |
|---|---|---|
| Content and commerce blended | Rich editorial layouts with shoppable products throughout | A media brand selling products inside long stories |
| Complex configurators | Heavy custom logic and live pricing | Custom furniture with many options |
| One front end, many back ends | Pulling from several systems at once | Products from Shopify, content from a CMS, data from a custom tool |
| Many storefronts from one codebase | Brands or regions sharing components | A group running several brands |
| An existing in-house dev team | The team already works in a modern framework | A company whose engineers already run its main site |
What are bad reasons to go headless?
"It's faster." Speed comes from how a site is built, not which architecture it uses. "It's future-proof." Every custom codebase ages and needs upkeep. "Big brands do it." Big brands have big dev teams. "Our theme looks generic." That's a design problem, and a custom theme solves it for far less.
What does headless commerce cost?
There are three buckets. Most founders budget for the first and get surprised by the other two.
1
Headless storefront on Shopify's Basic, Grow and Advanced plans
Shopify pricing page, Dec 2026
25
Headless storefronts on Shopify Plus
Shopify pricing page, Dec 2026
$2,300
Monthly starting price listed for Shopify Plus
Shopify pricing page, Dec 2026
| Cost bucket | What's in it | What people forget |
|---|---|---|
| Build | Design, front-end development, integrations, content migration | QA on every device, redirects, analytics setup |
| Run | Hosting, CMS, monitoring, search, reviews and other services | Each app's storefront piece now needs custom work |
| Change | Every new feature, campaign page and fix | Marketers can't ship changes without a developer |
Shopify's pricing page listed one headless storefront on the Basic, Grow and Advanced plans and 25 on Plus, as of December 2, 2026. So the platform doesn't block a small store from going headless. The development budget does.
The "change" bucket is the one that hurts. On a theme, a marketer can build a landing page for a sale in an afternoon. On many headless setups, that needs a ticket, a developer and a deploy. If your growth depends on fast campaign pages, that delay has a cost.
Worked example: what lift pays for headless?
Here's the break-even math, with every number labeled as an assumption. Say the build costs $120,000. Running and changing the site costs $6,000 a month for a developer retainer, hosting and tools. That's $72,000 a year, so year one costs $192,000.


Say your contribution margin is 35%. To earn back $192,000 in year one, the new storefront has to add about $548,571 in revenue ($192,000 divided by 0.35). Here's what that means at three store sizes:
| Annual revenue | Lift needed in year one | Lift needed in year two (run cost only) |
|---|---|---|
| $2 million | 27.4% | 10.3% |
| $6 million | 9.1% | 3.4% |
| $20 million | 2.7% | 1.0% |
Year two only has the $72,000 run cost, which needs about $205,714 in extra revenue. On a $6 million store, that's a 3.4% lift. On a $2 million store, it's 10.3%, every year, forever.
What does the math tell a founder?
Headless is a scale decision. The same project that's a smart bet at $20 million is a money pit at $2 million. Below the point where the year-one lift looks believable, put the money into conversion rate optimization on your theme, better photos and better offers. The guide to Shopify conversion rate optimization is where I'd start, and the funnel conversion calculator shows where your funnel leaks.
The contribution margin guide explains how to get the margin number right. Use contribution, not gross margin, or the math will flatter the project.
What are your headless options on Shopify?
Shopify's headless page lists several routes. They range from a little custom code to a fully custom front end:
| Option | What it is | Who it fits |
|---|---|---|
| Hydrogen | Shopify's headless toolkit, added to a framework you already use | Teams who want Shopify building blocks |
| Bring your own stack | Call the Storefront API and Customer Account API from any stack | Teams with strong opinions and in-house devs |
| Headless channel | Manages API access for storefronts you host yourself | Anyone running a custom front end |
| Oxygen | Shopify's hosting for Hydrogen storefronts | Hydrogen users who want Shopify to host |
| Web components or Buy Button | Shopify products embedded in another site | Brands adding commerce to a content site |
Shopify's Hydrogen page describes it as "Shopify's headless toolkit" that you add "to the framework you already use." It lists Next.js, React Router, Nuxt, Astro and SvelteKit. A toolkit that fits several frameworks lowers the lock-in worry.
Is there a middle path?
Often, yes. Keep the theme for product, collection and cart pages, where apps and the theme editor save you money. Put a custom-built content site or campaign pages beside it only where you need the freedom. This hybrid gets you most of the design gain with a fraction of the run cost.
The other middle path is a custom theme. A strong theme developer can build sections and layouts that look nothing like a stock theme, and marketers can still edit them. For most stores that "need headless," this is the right answer.
How do you protect SEO when going headless?
Treat it like a replatform, because it is one. The URL patterns, rendering and markup all change at once. The guide to migrating to Shopify without losing SEO has the full runbook, and most of it applies here.
- Render on the server. Product names, prices, descriptions and reviews should be in the HTML, not added later by JavaScript.
- Keep URLs or redirect them. Map every old URL to its new one before launch.
- Set canonicals. Every product and collection page needs a correct canonical tag, especially with filters.
- Generate a sitemap. Shopify built an XML sitemap for your theme store. Now you build one.
- Keep structured data. Product, review and breadcrumb markup must survive the move.
- Track everything. Rebuild analytics and conversion tracking, then test them before launch.
The Shopify technical SEO and Shopify sitemap guides cover what the theme handled for you. If you build in Next.js, the guide to SEO for Next.js on Vercel covers rendering and metadata.
What speed targets should a headless store hit?
The same ones as any site. Google's Web Vitals page says LCP "should occur within 2.5 seconds," that pages should have an INP "of 200 milliseconds or less," and that CLS should be 0.1 or less. It measures them at "the 75th percentile of page loads."
Measure your current theme against those numbers first. If it already passes Core Web Vitals, speed isn't a reason to go headless. If it fails, find out why. Heavy apps and huge images are the usual causes, and both are cheaper to fix than a rebuild. Strong technical SEO starts there.
What breaks after a headless launch?
These are the problems I'd plan for on day one:
| Problem | Why it happens | Prevention |
|---|---|---|
| An app stops working | Its storefront piece expects a theme | List every app and decide build, replace or drop before you start |
| Marketing slows down | Every page change needs a developer | Give marketers a CMS with page blocks |
| Orders and data drift | Custom code misses a sync | Use webhooks for order and inventory events and monitor them |
| Search and filters get worse | The theme's search app no longer renders | Plan site search as its own project |
| Tracking breaks | New pages, new events | Rebuild analytics and test every key event |
The guide to Shopify webhooks covers reliable syncs. The e-commerce site search guide covers search, and e-commerce analytics setup covers tracking. Work in a staging environment and never test changes on the live store.
What should you ask before you sign a headless build?
Ask these questions of any agency or developer who quotes a headless store. Vague answers are a warning sign.
- Which of our current apps will work on day one, and which need custom work?
- How will a marketer launch a new landing page without a developer?
- What's the monthly cost to run and change the site after launch, in writing?
- How will you render product pages, and how will you handle redirects?
- Who fixes it at 9 p.m. on Black Friday, and how fast?
- What happens to the code if we stop working together?
The last question matters most. You should own the code, the hosting account and the deploy setup from day one.
What should a founder do this week?
Don't start with a vendor pitch. Start with the three-part test and your own numbers.
If you're still choosing a platform, the comparison of Shopify vs WooCommerce comes first. Keep your Shopify apps stack lean either way, and keep the content engine running with Shopify blog SEO. We build custom-coded sites and tools, so if the test passes, our website work and custom software teams can scope it with you. If it doesn't, we'll say so. Our page for founders shows how we work.
FAQ
What is headless commerce in simple terms?
Headless commerce splits your store into two parts. The commerce engine handles products, carts, checkout and orders. A separate custom storefront, built in a framework like Next.js, handles what shoppers see. The two talk through an API. You get full control of the front end, and you take on the job of building and maintaining it.
Is headless commerce faster than a Shopify theme?
It can be, but it isn't automatic. A well-built custom storefront can be very fast, and a badly built one can be slower than a good theme. Speed comes from image handling, caching and how much JavaScript ships to the browser. Measure Core Web Vitals on your current theme before you assume headless will fix them.
How much does a headless Shopify store cost?
There's the build, the hosting and the ongoing development. Shopify itself says a headless storefront costs more to build and run than a theme. Many small stores underestimate the ongoing part: every feature a theme app gives you for a monthly fee needs custom work on a headless site. Budget for a developer or team for as long as the site runs.
Can I go headless on a regular Shopify plan?
Yes. Shopify's pricing page in December 2026 listed one headless storefront on the Basic, Grow and Advanced plans and 25 on Plus. Your plan doesn't block you from starting. Your budget for a development team usually decides whether headless makes sense.
Does headless commerce hurt SEO?
It can if the storefront renders content only in the browser, ships broken canonicals or loses redirects during the move. Done well, it's neutral to positive. Render pages on the server, keep URLs stable or redirect them, generate a sitemap and keep structured data in place. Treat the launch like a replatform.
What's the difference between Hydrogen and a custom Next.js storefront?
Shopify describes Hydrogen as its headless toolkit that you add to the framework you already use, including Next.js, React Router, Nuxt, Astro and SvelteKit. A fully custom storefront calls the Storefront API directly without the toolkit. Hydrogen gives you Shopify-specific building blocks, while going fully custom gives you more freedom and more work.