Skip to content

Do you want your business to be found on Google, ChatGPT, Perplexity and Gemini?

Let's talk
Rizwan Strategy
Web Development

Headless Shopify: What It Is, What It Costs You, and Who Actually Needs It

What headless Shopify means, how Hydrogen, Oxygen and the Storefront API fit together, the real benefits and costs, and a decision table to help you work out whether it suits your store.

Muhammad Rizwan Iqbal13 min read

Quick answer

Headless Shopify means building your own storefront and using Shopify only as the commerce backend through its APIs. It gives design and architecture freedom, but costs more to build and maintain, and many apps stop working. Most small and mid-sized stores are better served by a well-built theme.

Services that help with this

Shopify Store Development
A fully branded store, built from scratch.

Shopify Store Development

Custom Shopify store development services from the ground up: theme coding, fully branded design, product and checkout setup, Shopify SEO built into the theme, and the automation that keeps orders, stock and customers running without manual work.

  • Shopify Development Services
  • Custom Shopify Theme Development
  • Liquid & Online Store 2.0
  • Brand-Led Store Design
Fast, credible, built to convert.

Web Development

Website design and website development services for custom websites, e-commerce stores and landing pages, built on the right platform for the job and optimised from day one. You work with the web developer directly, not an agency layer.

  • Web Design
  • Website Development
  • WordPress
  • Shopify

Key facts

  • Headless commerce separates the storefront front end from the backend, with Shopify's APIs supplying products, collections, the cart and customers.
  • Shopify's documentation says a headless storefront costs more to build and run than a theme and needs developers to maintain it after launch.
  • Hydrogen is Shopify's headless toolkit and works with frameworks including Next.js, React Router, Nuxt, Astro and SvelteKit.
  • Oxygen is Shopify's hosting platform for Hydrogen storefronts, and you can deploy a headless storefront to other hosts instead.
  • Checkout stays on Shopify even when the storefront is headless.

Headless Shopify means you build your own storefront, in a framework such as Next.js or Shopify's Hydrogen, and use Shopify as the commerce engine behind it through its APIs. It gives you full control of the front end, and it takes on a full custom software project to get it, with ongoing developer maintenance and apps that may not work. Most small and mid-sized stores do better with a well-built theme, and this guide helps you work out whether you are the exception.

What does headless mean in Shopify?

Headless means the front end (the "head") is separated from the back end. Shopify describes headless commerce as separating the storefront's front end from its back end. You build the storefront, and Shopify's APIs supply products, collections, customers, the cart and international pricing (Shopify.dev, headless).

On a normal Shopify store, a theme written in Liquid renders every page. The theme lives inside Shopify, apps plug into it, and the theme editor lets you change layouts without a developer. In a headless build, Shopify still holds your products, inventory, customers and orders. The storefront is a separate application that asks Shopify for data and displays it however the developers choose.

Think of it as swapping the shop front while keeping the stockroom and the till. The stockroom is Shopify's catalogue and order management. The till is Shopify's checkout, which stays where it is.

What are Hydrogen, Oxygen and the Storefront API?

These three names come up in every headless conversation, and they do different jobs.

Piece What it is Role
Storefront API Shopify's API for products, collections, search and the cart Supplies the data to your custom front end and hands customers to checkout
Customer Account API Shopify's API for sign-in, orders, addresses and profiles Handles the logged-in customer experience
Hydrogen Shopify's headless toolkit Adds commerce features, such as the cart and variant selection, to a JavaScript framework
Oxygen Shopify's hosting platform for Hydrogen storefronts Runs the storefront as a Web Worker, deployed from the Hydrogen sales channel

The descriptions come from Shopify's developer documentation (Hydrogen, Oxygen deployment). Details change quickly. Shopify's own pages note that some Hydrogen versions use different commands, so a developer should work from the current documentation, not from an article or a tutorial from a year ago.

Shopify Hydrogen

Shopify Hydrogen is a toolkit and a set of starter templates. According to Shopify's documentation, its core depends only on fetch and other web platform APIs, and it works with server-capable frameworks including Next.js, React Router, Nuxt, Astro and SvelteKit. It includes a typed client for Storefront API queries. It does not include checkout, and it does not cover the Admin API (Shopify.dev, Hydrogen).

If you read older articles, you may see Hydrogen described as a React framework tied to Oxygen. Shopify's current documentation describes it as a framework-agnostic toolkit that can sit inside a framework you choose. That is one reason to check dates on anything you read.

Oxygen

Oxygen is where a Hydrogen storefront can be hosted. Shopify describes it as its hosting platform for Hydrogen storefronts, running the storefront as a Web Worker rather than a Node server, with deployment environments and preview links. You install the Hydrogen sales channel on your store to use it. Shopify's headless documentation also says Hydrogen storefronts can deploy to other hosts, so Oxygen is an option. Shopify's page on Oxygen deployment does not state whether it is included in a plan or billed separately, so confirm that with Shopify before budgeting.

The Storefront API

The Storefront API is the part every headless build depends on, whether it uses Hydrogen or not. It serves products, collections, search and the cart, and passes the customer to checkout. Shopify says you can also build with your own stack by calling the Storefront API and Customer Account API directly, in any language (Shopify.dev, headless). That is how a custom Next.js storefront connects to a Shopify store.

Can you use Next.js with Shopify?

Yes. Next.js is one of the most common front ends for headless Shopify builds, and Shopify's Hydrogen documentation lists Next.js among supported frameworks and names a Next.js starter template. A Next.js storefront gives you a large developer talent pool, mature hosting options and tools many agencies already know.

Other options Shopify lists include:

  • React Router, Nuxt, Astro and SvelteKit with Hydrogen
  • A mobile app using the Storefront API and Checkout Kit
  • Buy buttons on an existing site, using Storefront Web Components or Buy Button JS
  • The Shopify plugin for WordPress, for content-led sites that want to sell

Not everything labelled "headless" needs a full custom storefront. If your goal is to sell a few products from an existing content site, a buy button may do the job at a fraction of the effort.

What are the real benefits of headless commerce?

The benefits are real but narrow. They apply when you need something a theme cannot give you.

Design and layout freedom. A custom front end can follow any design without working around a theme's structure. That matters for brands whose experience is the product, with unusual navigation, rich editorial layouts or interactive product configurators.

Control over performance. A lean, purpose-built front end can ship less JavaScript than a theme with many apps. This is a possibility, not a promise. Our guide to Shopify speed optimisation shows how many slow stores can be fixed on the theme without a rebuild.

One front end across channels. If you sell through a website, a mobile app and in-store screens, the Storefront API lets one commerce backend feed all of them.

Content and commerce together. Teams with a heavy content operation, run in a separate content management system, can combine that with Shopify's commerce data in one front end.

Custom behaviour at the storefront. Complex logic around products, pricing display or personalisation can live in your own code, though Shopify's native tools and apps handle a lot of this already. See our article on custom Shopify development for what can be built without leaving the theme.

What does headless Shopify cost you?

Headless costs more in build, running and attention. Shopify says so itself: a headless storefront costs more to build and run than a theme, and you need developers to maintain the storefront after launch (Shopify.dev, headless). I will not put figures on it here, because they vary widely by scope and any number from me would be a guess before scoping. What I can say is where the cost comes from.

Cost area What changes compared with a theme
Build Every page type, the cart, search, filtering, account area and SEO output must be built or wired up
Hosting You run or pay for storefront hosting in addition to Shopify's plan
Maintenance Framework updates, API version changes and bug fixes need a developer on call
Apps Apps that rely on a theme may not work, so you replace them with custom code or compatible alternatives
Editing Merchants lose the theme editor unless it is rebuilt through a content system
SEO Metadata, canonical tags, structured data, redirects, sitemaps and rendering must be handled in code
Testing You test the storefront yourself, rather than relying on Shopify's own storefront rendering

App compatibility

This one surprises people. In a theme, an app can add a review widget, a loyalty banner or a size guide by inserting code. A headless storefront has no theme, so an app's front-end features may not appear unless the app offers an API or a headless integration. Shopify advises building headless only when needs cannot be met by its sales channels, themes and apps. Before committing, list every app that touches the storefront and ask each vendor whether it supports headless, and how.

Checkout is still Shopify's

Headless does not give you a custom checkout. Hydrogen includes no checkout interface, and the Storefront API hands customers off to Shopify's checkout. Checkout changes go through Shopify's own checkout tools, which we cover in our article on Shopify Plus development, because checkout extensibility is where Plus matters. If your main reason for going headless is checkout control, headless is not the route.

SEO responsibility moves to your developers

On a theme, Shopify outputs sensible defaults for URLs, sitemaps, canonical tags and basic structured data. In a headless build, your team owns all of that. A migration from a theme to a headless front end can lose rankings if redirects, metadata, internal links and rendering are not handled carefully. Server-side rendering and clean HTML matter, so ask any agency how they will test crawlability before launch. Our article on the best ecommerce platform for SEO compares what each platform gives you out of the box.

Who is headless Shopify for, and who is it not for?

Headless is for a small group of stores with a specific need and the budget to maintain a software product. For most small and mid-sized online businesses, it is the wrong tool.

Headless may suit you if:

  • Your design or content requirements cannot be built in a theme, and you have tried
  • You sell across web, app and other screens from one catalogue
  • You already have an in-house development team, or the budget to retain one
  • Your commerce is tied to a content platform that needs a custom front end
  • You have a clear, measurable reason, such as a conversion test that a theme cannot run

Headless probably does not suit you if:

  • You are a small or mid-sized store with a standard catalogue and checkout
  • Your main problem is slow pages caused by apps and scripts
  • You rely on many third-party apps that change the storefront
  • You want to edit pages yourself without a developer
  • You are choosing it because it sounds modern, or a competitor did

The honest answer for most SMEs is that a well-built theme, with a lean app list, gets them most of the result at a fraction of the effort. Our article on Shopify theme development explains when a custom theme is the better step up.

Headless or theme: a decision table

Use this table to test your situation. If most of your answers sit in the right-hand column, a theme is almost certainly the better choice.

Question Points to headless Points to a theme
Can a theme or custom theme build deliver the design? No, after real testing Yes
How many apps change your storefront? Few, or all have headless support Many
Do you have developers available after launch? Yes, retained No
Is page speed your main problem? No, already optimised Yes, apps and scripts are the cause
Do you need non-technical staff to edit layouts? No, or a content system is planned Yes, through the theme editor
Do you sell through several front ends? Yes No, one website
Is checkout the main customisation target? No Yes, and this needs Shopify's checkout tools either way
Can you fund a build plus ongoing maintenance? Yes No

If you are weighing headless against Plus, note that they solve different problems. Plus changes limits, checkout options and store structure, while headless changes the storefront. Our article on Shopify Plus development covers what Plus adds.

Want this done for you? Message me directly on WhatsApp with your store URL and what you are trying to achieve, and I will tell you whether a theme can do it. I work through my Shopify store development service and quote after scoping.

How do you evaluate a headless Shopify agency?

Searching for a headless Shopify agency turns up firms that sell headless as the default answer. Test any proposal with these questions:

  1. What problem does headless solve for us that a theme cannot? Look for a specific answer, not "performance and flexibility".
  2. Which of our current apps will stop working, and what replaces them? They should have audited your app list.
  3. Who edits content, and how? Ask to see the editing experience, not a diagram.
  4. How will you protect our SEO? Expect a redirect map, rendering approach, metadata plan and a crawl test.
  5. Who maintains it after launch, and what does that cost per month? Get this in writing.
  6. Who owns the code and hosting accounts? You should.
  7. What is the exit route? If the relationship ends, can another developer take over?

A good agency will sometimes talk you out of headless. If a proposal never mentions a theme as an option, it is not a fair comparison.

Should you move to headless now, or improve what you have first?

Improve what you have first, in nearly every case. Most stores asking about headless have a slow, cluttered or hard-to-manage theme, and that can often be fixed within the theme. Remove apps you do not use, clean out leftover code, fix image loading, and measure your real-visitor Core Web Vitals. If you still hit a wall that a theme cannot get past, headless is a reasonable next step, and you will have a clearer brief because you know exactly what the theme could not do.

When should you hire help, and when not?

Hire help for a headless project if you have a genuine requirement a theme cannot meet and a budget for maintenance. You need a developer who can build in a modern JavaScript framework, understands the Storefront API and can handle SEO in code. Make sure you can reach them after launch.

Do not hire for headless if your real problem is speed, conversion or product content. Those need a different kind of work, and headless adds cost without addressing them. A review of your current store is cheaper than a rebuild and tells you whether the rebuild is justified.

I work with Shopify merchants directly. I do not publish prices, because they depend on scope, and I quote once I understand what you need. I will also tell you plainly when a theme is the right answer, which for many stores it is. If you do land on a complex build such as headless, I can scope and advise on the requirements before you commit to an agency.

Next steps

Write down the single thing you want from headless that a theme cannot give you. If you can name it and test it, you have a case. If you cannot, spend the money on theme work, app clean-up and speed first.

Want this done for you? Message me directly on WhatsApp or use the contact page, and tell me about your store, your apps and what you need the storefront to do. I will give you a straight view on whether headless Shopify makes sense, and a quote if you want help with the build. Learn more about my custom Shopify development approach, or see the Shopify store development service.

FAQ

Frequently asked questions

What is headless Shopify?

Headless Shopify separates the storefront your customers see from the Shopify backend. You build the front end yourself, and Shopify's APIs supply products, collections, customers and the cart, then hand shoppers to Shopify's checkout. The usual alternative is a standard theme, where Shopify renders the storefront for you.

Is headless Shopify faster than a normal theme?

Not automatically. A well-built headless storefront can be very fast, and a poorly built one can be slower than a good theme. Speed depends on the code, the images, the third-party scripts and the hosting. Many stores that feel slow on a theme have app and script problems that headless would not fix.

What is Shopify Hydrogen?

Hydrogen is Shopify's toolkit for building headless storefronts. It adds commerce features such as the cart, variant selection and collection filtering to a JavaScript framework you already use. Shopify's documentation lists Next.js, React Router, Nuxt, Astro and SvelteKit as frameworks it works with, and it ships starter templates.

What is Oxygen in Shopify?

Oxygen is Shopify's hosting platform for Hydrogen storefronts. It runs your storefront as a Web Worker rather than a Node server, and you deploy to it from the Hydrogen sales channel. You can also host a headless storefront elsewhere, such as on a platform that suits your framework.

Does headless Shopify work with my apps?

Often not out of the box. Many Shopify apps add features by injecting code into a theme, and a custom storefront has no theme to inject into. Shopify advises going headless only when your needs cannot be met by its sales channels, themes and apps. Check every app you depend on before committing.

Does headless Shopify change checkout?

No. Checkout stays on Shopify. The Storefront API hands customers off to Shopify's checkout, and Hydrogen includes no checkout interface of its own. Headless changes the pages before checkout, not the checkout itself, so extending checkout still relies on Shopify's own tools.

Is headless Shopify worth it for a small business?

Usually not. Shopify says a headless storefront costs more to build and run than a theme, and it needs developers after launch. Most small and mid-sized stores get better value from a well-built theme, fewer apps and sensible optimisation. Headless suits unusual design, content or channel requirements that a theme cannot meet.

Related reading

More on this topic

All 163 articles →
Web Development12 min read

Shopify Plus Development: What Plus Adds Technically

What Shopify Plus developers can build that other plans cannot: checkout extensibility, Shopify Functions, B2B, expansion stores, Flow, Launchpad and API limits, plus the current status of Scripts.

Muhammad Rizwan Iqbal
Web Development14 min read

Shopify Speed Optimization: How to Diagnose a Slow Store and Fix It in the Right Order

How to find out why your Shopify store is slow, which fixes pay off first, what to leave alone, and how to brief a developer so the work is measured against real-user data.

Muhammad Rizwan Iqbal
Web Development13 min read

Shopify Plus Agency: A UK Buyer's Guide to Hiring the Right Help

What Shopify Plus is, what it costs on Shopify's own pricing page, what a Shopify Plus agency does, how Shopify's partner programme works, and how to choose between an agency and a consultant.

Muhammad Rizwan Iqbal
Web Development13 min read

Custom Shopify Development: What You Can Build and How

Custom Shopify development explained: theme code, metafields, theme app extensions, custom apps, Shopify Functions, checkout extensions and Flow, and when an app is the better choice.

Muhammad Rizwan Iqbal
Web Development12 min read

Shopify Theme Development: Premium, Customised or Fully Custom?

Shopify theme development explained: how premium, customised and fully custom themes compare, what a custom build involves, how to brief a developer, and when not to go custom.

Muhammad Rizwan Iqbal
Web Development10 min read

How to Hire Shopify Developers: A Practical Guide

How to hire Shopify developers: define the job, find candidates in the Shopify Partner Directory, vet code and references, ask the right questions, spot red flags and agree handover terms.

Muhammad Rizwan Iqbal

Have a decision to make? Let's talk it through.

A short message is enough to know if there's a fit — and if there isn't, I'll tell you directly.