Shopify Hydrogen vs Medusa is a choice about who runs your commerce backend. Hydrogen is Shopify's toolkit for building a custom storefront, while Shopify keeps running products, checkout, orders and payments. Medusa is an open-source commerce backend that your team extends and operates. Pick Hydrogen to change the storefront and Medusa to change commerce itself.
Both tools have moved recently. On 14 October 2026 Shopify released Hydrogen 2026-10, which turns Hydrogen from a framework built on React Router into a library you add to the framework you already use. Medusa's current documentation describes a commerce platform with a built-in framework for customisation. The comparison below reflects both, as of October 2026.
Hydrogen works at the storefront layer and Medusa works at the commerce layer. That is why the two are hard to compare head to head: with Hydrogen you still have Shopify behind the storefront, and with Medusa you still have to build a storefront in front of it.
| Criterion | Shopify Hydrogen | Medusa |
|---|---|---|
| What it is | A headless toolkit that adds Shopify cart, variant and collection features to your frontend framework | A commerce platform made of modules (products, pricing, cart, orders, payments, inventory, tax) plus a framework to extend them |
| Commerce backend | Shopify, which you configure but don't run | Medusa, which your team customises and deploys |
| Checkout and orders | Stay in Shopify | Built from Medusa modules and the providers you connect |
| Hosting | Oxygen, included on paid Shopify plans, or a host you choose | Medusa Cloud, or self-hosted with PostgreSQL, Redis, a server and a worker |
| Licence and fees | Shopify plan fees; the toolkit itself is free | MIT-licensed core; Enterprise Edition is commercial; you pay for hosting |
| What you can change | The storefront: design, content, discovery, Arabic layout | The storefront and the commerce logic: pricing rules, order flows, multi-store setups |
| Who fixes the backend at 2 a.m. | Shopify, for its platform | Your team, or Medusa Cloud for the infrastructure it manages |
A headless commerce architecture has at least four layers, and each one needs a named owner. "Headless" only means the storefront is separate from the backend. It says nothing about who owns the other three layers, and that is where Hydrogen and Medusa differ most.
- Storefront: the pages, search, product pages and basket customers use, in Arabic and English.
- Commerce backend: catalogue, pricing, promotions, cart, checkout, orders, payments, returns and tax calculation.
- Integrations: payment providers, shipping carriers, ERP or accounting, e-invoicing, marketing and support tools.
- Operations: hosting, monitoring, security updates, incident response and the changes you ship every month.
Product data usually lives in the commerce backend, while campaign pages and editorial copy often live in a CMS. Before you build, agree which system owns which field and how editors preview both languages. Our guide to a bilingual content model covers that split in detail.
Headless only separates the storefront from the backend. The commerce backend, integrations and operations still need a named owner each, and that is where a storefront toolkit on a hosted platform and an open commerce backend differ most.
Hydrogen changes the storefront and leaves commerce operations with Shopify. You design and build the experience customers see; Shopify keeps the products, inventory, checkout, orders and the admin your team already knows.
Since Hydrogen 2026-10, Shopify ships starters for React Router and Next.js, and says Hydrogen can be hosted anywhere, including Oxygen, which it describes as still free. Shopify's documentation lists Oxygen at no extra charge on its paid plans, but not on Agentic plans. Stores built on the earlier framework version keep working, according to the same release notes.
In practice that split means:
- You own the storefront code: its speed, accessibility, Arabic right-to-left layout and the host it runs on.
- Shopify owns most commerce operations: you configure checkout, shipping and taxes, but you don't run the servers behind them.
- Shopify sets your limits: the APIs, checkout options, apps and payment providers available to your plan and country.
The payment limit matters in Saudi Arabia. As of October 2026, Shopify Payments is available in the United Arab Emirates but not in Saudi Arabia, so a Saudi store connects a third-party provider. Check which methods each provider offers before you plan the checkout; our comparison of which store platform supports mada and BNPL is a useful starting point.
Hydrogen makes sense when the storefront is where you win customers and Shopify's way of handling catalogue, checkout and orders already fits how you sell.
Medusa gives you the commerce logic itself to change, and with it the job of running that logic. Its documentation describes commerce modules for cart and checkout, payments, products, pricing, promotions, orders, inventory and tax, plus a framework for adding your own behaviour on top.
The core is published on GitHub under the MIT licence. Materials marked as Enterprise Edition fall under a separate commercial licence, so check which parts you plan to use.
Deployment is a separate decision. Medusa's deployment guide recommends Medusa Cloud, its managed service, which hosts the server, the admin dashboard, the database and Redis. If you self-host, you run a Node.js server instance for API requests and a worker instance for background jobs, both connected to PostgreSQL and Redis.
What you take on:
- Custom commerce logic: pricing rules, order flows, B2B accounts, multi-store setups or unusual fulfilment, and a storefront to match.
- Infrastructure work if you self-host: database, backups, monitoring, upgrades, security patches and on-call response. Medusa Cloud takes on the parts its service terms cover; read them rather than assume every duty moves.
- Every integration: payments, refunds, shipping and invoicing are yours to select or build, and to keep working as providers change their APIs.
Medusa makes sense when your commerce logic differs from what hosted platforms model, and you have engineers who will run it for years.
The option that looks cheaper on paper can cost more once you count the people needed to run it. Write down an owner for each item, for nights and weekends too.
| Responsibility | Hydrogen on Shopify | Medusa on Medusa Cloud | Medusa self-hosted |
|---|---|---|---|
| Storefront code and its hosting | Your team; Oxygen or your chosen host | Your team | Your team |
| Backend uptime and security | Shopify | Medusa Cloud for infrastructure; your team for your code | Your team |
| Checkout and order logic | Shopify, within its settings and apps | Your team | Your team |
| Payment, shipping and invoicing integrations | Shopify apps or your team | Your team | Your team |
| Upgrades | Storefront and Hydrogen versions | Your application and its modules | Application, modules, database and servers |
| Incidents | Shopify status and support, plus your storefront | Shared with Medusa Cloud | Your team, with your hosting provider |
A Gulf store succeeds or fails on local details, whichever architecture you choose. Test each of these in every country you sell into, in a sandbox first and then with controlled production checks.
- Payments: confirm with each provider which methods it supports for your business, such as mada, Apple Pay and pay-later plans. Test approved payments, declines, 3-D Secure challenges and partial refunds end to end.
- Refunds and returns: check that refunds reach the original payment method, including pay-later plans, and that stock and accounting entries follow.
- Arabic checkout: test forms, Saudi address and phone formats, error messages and emails in Arabic.
- Speed on a phone: a custom storefront is only worth it if it stays fast. Reserve space for images and banners, and read our notes on CLS and layout stability before launch.
- E-invoicing: decide which system issues tax invoices: the commerce backend, an ERP or accounting software. Then test that integration end to end.
The e-invoicing point needs its own check. ZATCA brings taxpayers into the integration phase in waves. As of October 2026, its latest announced wave, Wave 25, covers taxpayers whose VAT-subject revenue exceeded SAR 187,500 in 2022, 2023, 2024 or 2025, with integration with the Fatoora platform due by 1 February 2027. Ask your tax adviser how this applies to you; your storefront choice does not settle it.
A passing sandbox does not prove production works, so check credentials, webhooks, settlement and invoice reporting again before the full launch.
Decide which system issues tax invoices: the commerce backend, an ERP or accounting software, then test that integration end to end. ZATCA brings taxpayers into its integration phase in waves; ask your tax adviser how it applies to you, because the storefront choice does not settle it.
Our headless e-commerce plans start at SAR 6,000 for an architecture blueprint, SAR 25,000 for a headless storefront and SAR 50,000 for a connected storefront, all before VAT. The storefront plans assume a commerce backend that already works, so building or customising a Medusa backend is scoped separately, as are licences, hosting and usage costs.
The blueprint is a planning engagement with no build: one discovery workshop, a map of the catalogue, cart and checkout APIs, wireframes for up to 3 key screens and an itemised estimate. Your proposal confirms the final scope and price. For a wider comparison with Salla storefront design, Shopify theme development and WooCommerce, see our guide to store build prices in riyals.
Choose by what has to change, then by who will run it.
- Choose Hydrogen when a custom storefront is what sets you apart, Shopify's commerce model and the payment providers available in your country fit your business, and you want Shopify to run the backend.
- Choose Medusa when your commerce logic needs changes that hosted platforms don't support, and you can staff its operation for the life of the store.
- Choose neither when a store built on an established platform would serve your customers well. A headless build adds a storefront to build and maintain, so take it on only for a clear reason.
Before either build, work out what one order earns after payment, delivery and returns; our article on the GCC e-commerce opportunity shows the calculation.
When you are ready, bring us your current platform, the checkout you need and the people who will run the store after launch. We'll tell you whether a separate storefront solves a real problem, and if it does, scope the headless commerce development with a named owner for every layer.
- Shopify. Hydrogen 2026-10 now available. 14 October 2026.
- Shopify. Hydrogen and Hydrogen and Oxygen fundamentals: the toolkit, starters and Oxygen plan availability.
- Shopify Help Center. Supported countries and regions for Shopify Payments.
- Zakat, Tax and Customs Authority (ZATCA). Criteria for the 25th wave of the e-invoicing integration phase. 24 July 2026.
Platform features, payment options and tax obligations change and differ by country, so confirm them with providers, ZATCA and your advisers. This article is TecnoStack's planning guidance, not vendor requirements or tax advice. Sources checked in October 2026.






