Skip to content
Drupal

Headless Drupal: When Decoupling Pays, and When It Doesn’t

· 13 min read · 2,916 words
Shaker Abady

Written by

Shaker Abady

Founder & CEO, Gspikes

I own and run Gspikes, the agency I founded in 2018. Before going all-in, I led SEO at Chain Reaction — one of the region's largest digital agencies — and shipped production code at Orange and Forbes. Everything published here comes from projects I've personally built, migrated, or ranked.

LinkedIn

Last updated · November 2026

Headless Drupal pays when several front ends read the same content, such as a mobile app, a network of brand sites or kiosks, or when a JavaScript team will own the front end for years. For a single website it usually doesn’t. A well-built Drupal theme with Single-Directory Components gives you the same speed with one codebase, previews that work out of the box and Drupal’s own page-building tools.

Drupal’s own case studies agree. We hand-coded all 462 published on drupal.org between October 2024 and October 2026: 58 describe a decoupled front end, and their share fell from 15% of 2025’s case studies to 9% of 2026’s. Below: what those teams built and why, the stack on Drupal 10.3 and 11, what you give up, and a checklist.

Headless Drupal at a glance (November 2026)

  • 58 of 462 drupal.org case studies (12.6%) describe a decoupled front end: 43 fully headless, 13 hybrid and 2 static exports.
  • The share fell from 15% in 2025 (30 of 206) to 9% in January to October 2026 (20 of 214).
  • Front ends named: Vue 16 times (10 of them Nuxt), React without a framework 14, Next.js 11, Angular 3. No case study names Astro or Svelte.
  • The reasons given: design freedom (43%), performance or scale (40%), apps and other channels (19%), several sites from one backend (14%).
  • The Next.js module runs on 4,421 sites, up 44% in a year against 12% for Drupal overall, but still only about 0.7% of reporting sites.

How common is headless Drupal? 58 of 462 case studies

Case studies show off ambitious projects, so if headless were becoming the default for serious builds, it would show here. We counted a case study when its public front end, or part of it, is rendered by something other than a Drupal theme: a JavaScript framework, a mobile app, kiosks or a static export. APIs that only feed back-office integrations did not count.

HEADLESS DRUPAL IN THE CASE STUDIES 58 of 462 Drupal projects took the head off Every case study published on drupal.org from October 2024 to October 2026, one figure each, in publication order. A lifted head marks a front end that is not rendered by a Drupal theme alone. Rendered by a Drupal theme (404 of 462) Fully headless (43) Hybrid: theme plus a decoupled part or channel (13) Static export (2) OCTOBER TO DECEMBER 2024 19% 8 of 42 case studies 6 fully headless, 2 hybrid ALL OF 2025 15% 30 of 206 case studies 24 fully headless, 5 hybrid, 1 static JANUARY TO OCTOBER 2026 9% 20 of 214 case studies 13 fully headless, 6 hybrid, 1 static All years: 58 of 462 (12.6%). Hand-coded from each case study’s text; 2024 covers 19 October to 31 December only. Source: Gspikes analysis of 462 drupal.org case studies, crawled 14 October 2026. gspikes.com — free to reuse with attribution

Fifty-eight of 462 qualify. Forty-three are fully headless: Drupal has no public theme at all. Thirteen are hybrids: Drupal-rendered sites with a React or Vue tool inside (a rent calculator, a legal triage tool, a product configurator), or Drupal sites that also feed an app or kiosks. Two publish static exports.

The share fell each year: 19% in the last ten weeks of 2024 (8 of 42), 15% in 2025 (30 of 206) and 9% in 2026 so far (20 of 214). Fully headless builds dropped from 12% of 2025’s case studies to 6% of 2026’s. Treat the trend with care: case studies arrive in batches from a few agencies (one published 27 of 2026’s 214), and the dates are publication dates, not launch dates.

Headless clusters where content has to travel. Of the case studies tagged Media on drupal.org, 32% are decoupled (8 of 25). E-commerce is at 29% (7 of 24) and Publishing at 25% (6 of 24). Government sits at 9% (11 of 124) and Education at 5% (5 of 92). Our study of which CMS the biggest news publishers run saw the same pull: 8 of the 38 top US news sites we could check render through Next.js. Thirty-eight of the 58 list Drupal 10 and 17 list Drupal 11; our Drupal 11 adoption tracker has the wider picture.

Module installs are growing anyway

Drupal.org’s usage statistics tell a different story. Changes compare 13-week averages to 18 October 2026 with the same weeks a year earlier.

Module Latest stable release Sites reporting (week of 18 Oct 2026) Change in a year
Next.js (next) 2.1.0, March 2026 4,421 +44%
Decoupled Router 2.0.7, August 2026 11,435 +121%
Simple OAuth 6.1.3, October 2026 30,742 +52%
JSON:API Extras 8.x-3.28, December 2025 33,160 +47%
Subrequests 3.0.12, August 2024 6,254 +32%
GraphQL 5.1.0, September 2026 7,224 +7%
Drupal core (all sites reporting) 618,217 +12%

Both trends can be true. Usage counts every site that reports, including staging copies and modules installed as dependencies: the Next.js module requires Decoupled Router, Subrequests, Simple OAuth and Pathauto, and Simple OAuth also serves API integrations with no front end at all. GraphQL is the one module that lost ground against core. The Next.js module itself sits on about 0.7% of reporting Drupal sites.

Decoupled Drupal: which front ends, which APIs, and why

DECOUPLED DRUPAL, CODED BY HAND What the 58 decoupled builds run on, and why they decoupled As each drupal.org case study states it. One case study can name more than one front end or reason, so the bars do not add up to 58. Both panels use the same scale: each step is one case study. FRONT END NAMED Vue, including Nuxt Nuxt in 10; 7 of 16 by drunomics 16 React, no framework named 8 fully headless, 6 hybrid 14 Next.js all 11 fully headless 11 Not named 6 A mobile app React Native, Flutter, WeChat, 1 unnamed 4 Other Symfony, kiosks, static export 4 Angular 3 Gatsby 1 Astro or Svelte 0 REASON GIVEN Design and UX freedom 25 (43%) Performance or scale 23 (40%) Apps and other channels 11 (19%) Several sites, one backend 8 (14%) Front-end team or skills 5 (9%) Security 4 (7%) No reason stated 4 (7%) Integrations 2 (3%) API NAMED Only 24 of the 58 say which API they use. REST or custom endpoints 9 Lupus Decoupled (JSON) 7 GraphQL 6 JSON:API 5 n = 58 case studies (43 fully headless, 13 hybrid, 2 static exports) published on drupal.org from October 2024 to October 2026. Source: Gspikes analysis of 462 drupal.org case studies, crawled 14 October 2026. gspikes.com — free to reuse with attribution

Front ends. Vue is named most often, 16 times including 10 Nuxt builds, but 7 of those come from drunomics, which maintains the Lupus Decoupled Drupal stack. React appears 14 times without a meta-framework and Next.js 11 times, so with one Gatsby site the React family is named 26 times. Nobody names Astro or Svelte.

APIs. Only 24 of the 58 say which API they use: custom REST endpoints (9), Lupus Decoupled’s component JSON (7), GraphQL (6) and core JSON:API (5). Case studies treat the API layer as plumbing, yet much of the work sits there.

Reasons. Design and UX freedom leads (25 of 58): Aviko’s agency argues that when the API does not dictate layout, designers get more room. Performance or scale is next (23). Stuff in New Zealand describes an API-first, multi-tenant Drupal handling up to 200 million requests a day with a 98% cache offload. Apps and other channels come third (11), such as Selgros’s React Native app with more than 500,000 installs. Several sites from one backend is fourth (8): SFA runs 50 local sites from one Next.js platform, and Hachette Livre reports hosting costs down to a third after moving its publishing houses to a headless site factory.

Team structure is rarely the stated reason (5 of 58), though Laaha is candid that the split let its front-end team work without waiting on scarce backend developers.

The teams that chose not to decouple

Three case studies record the opposite decision. St Paul’s Cathedral assessed coupled, decoupled and headless options and went coupled. A Russell Group university with more than 215,000 pieces of content kept Layout Builder because it gave editors drag-and-drop pages “without needing a decoupled front end“. Foundation Medicine left a decoupled platform with 158 content types for a traditional Drupal 10 site with 30. Its agency considered adding preview to the old build before the business chose to re-couple.

The Drupal headless CMS stack on Drupal 10.3 and 11

If you do go headless, this is what the build involves today, with Next.js as the example.

THE HEADLESS DRUPAL STACK, NOVEMBER 2026 One site, two codebases: what a Drupal plus Next.js build wires up Current stable releases from updates.drupal.org and npm. Site counts are drupal.org usage reports for the week of 18 October 2026; they count installs, including staging sites and modules pulled in as dependencies. DRUPAL 10.3+ OR 11 PHP, Composer, its own host JSON:API core, since 8.7 Read-only by default in core GraphQL 5.1 contrib Schema you design; GraphQL Compose generates one 7,224 sites Next.js 2.1 + Next.js JSON:API Draft previews and revalidation calls 4,421 sites Decoupled Router 2.0.7 Front-end path to entity, follows redirects 11,435 sites Simple OAuth 6.1.3 + Consumers Tokens for previews and private content 30,742 sites Subrequests 3.0.12 Several requests in one round trip 6,254 sites JSON:API Extras 3.28 Rename, hide and alias resources and fields 33,160 sites JSON:API Menu Items 1.2.8 Menus at /jsonapi/menu_items/{menu} 5,620 sites Consumer Image Styles 4.0.10 Image style URLs inside JSON:API responses 1,512 sites Metatag 2.2 Computed metatag field travels in the JSON Redirect 1.13 and Purge 3.7 Editor-managed 301s; CDN purge by cache tag NEXT.JS 16 Node.js, npm, its own host next-drupal 2.0.1 npm JSON:API client; fetches and renews OAuth tokens app/[…slug]/page.tsx translatePath(), then getResource() with next.tags app/api/revalidate/route.ts revalidateTag(tag, { expire: 0 }) on each save app/api/draft/route.ts enableDraftMode() sets the preview cookie proxy.ts Answers Drupal redirects before the page renders generateMetadata() Maps the metatag field into the page head next/image + images.remotePatterns Allows images from the Drupal file host Next.js 16.4 runtime Node server or platform, deployed separately 1. Read content JSON:API or GraphQL 2. Resolve a path /router/translate-path 3. Editor saves POST ?tags=node:42 4. Preview iframe plus OAuth token Arrows point at the side that receives the call Two security release streams Drupal: core plus every module above. The Next.js module (2.0.1, Dec 2025) and Simple OAuth (6.1.3, Oct 2026) were security releases. Next.js: scheduled, roughly monthly security releases since July 2026; five from July to mid-October, the next due 3 November 2026. Source: updates.drupal.org, drupal.org project usage, npm, next-drupal.org and nextjs.org docs, checked 2 November 2026. gspikes.com — free to reuse with attribution

The API: JSON:API first, GraphQL when you want a designed schema

JSON:API has been in core since Drupal 8.7. It exposes every entity bundle with filtering, includes and pagination, in read-only mode by default. JSON:API Extras renames resources and aliases fields, so the API stops leaking names like field_tags. The GraphQL module reached 5.0 in June 2026, needs Drupal 10.4 or 11 and leaves schema design to you; GraphQL Compose generates one instead.

Routing, redirects and menus

A front end receives a path, not a node ID. Decoupled Router answers /router/translate-path by following aliases and Redirect module redirects to the entity behind them, and next-drupal’s translatePath() calls it. On multilingual sites, check issue 3111456 on non-default languages: it was still open on 2 November 2026, and next-drupal’s quick start applies its patch. Answer redirects in proxy.ts (Next.js 16’s new name for middleware), because inside a streamed page Next.js may emit a redirect as a client-side meta tag instead of an HTTP status. Menus come from JSON:API Menu Items at /jsonapi/menu_items/{menu}, a module its project page lists as minimally maintained.

Images, metatags and SEO

Consumer Image Styles adds image style URLs to JSON:API responses for each registered consumer, and next/image needs the Drupal file host in images.remotePatterns. Metatag 2.x adds a read-only computed field called metatag to entities that have a canonical URL, so editors’ tags travel in the JSON for generateMetadata() to map. Canonical URLs, hreflang, sitemaps and structured data become front-end work, and our Drupal SEO guide lists what has to survive the move.

Cache invalidation

Drupal knows exactly what changed through cache tags, and the Purge module clears a CDN in front of Drupal by those tags. A Next.js front end keeps its own cache, so Drupal has to tell it. The Next.js module’s revalidator plugins do this per entity type, either by path or, since next-drupal 2.0, by cache tag. You set the revalidate URL and secret at /admin/config/services/next and tag each fetch with Drupal’s own tags, such as node:42. One catch: the next-drupal guide’s route calls revalidateTag(tag) with one argument, a form the Next.js docs now mark as deprecated. For a webhook from Drupal, pass a profile:

// app/api/revalidate/route.ts (Next.js 16)
import { revalidatePath, revalidateTag } from "next/cache"
import type { NextRequest } from "next/server"

async function handler(request: NextRequest) {
  const params = request.nextUrl.searchParams
  const path = params.get("path")
  const tags = params.get("tags")

  if (params.get("secret") !== process.env.DRUPAL_REVALIDATE_SECRET) {
    return new Response("Invalid secret.", { status: 401 })
  }
  if (!path && !tags) {
    return new Response("Missing path or tags.", { status: 400 })
  }
  if (path) revalidatePath(path)
  // { expire: 0 } drops the cached data now; "max" serves stale while it refreshes.
  tags?.split(",").forEach((tag) => revalidateTag(tag, { expire: 0 }))
  return new Response("Revalidated.")
}

export { handler as GET, handler as POST }

Preview and authentication

Draft previews need an OAuth client. The next-drupal draft mode guide uses Simple OAuth 6.x with the client credentials grant and a scope tied to a role, and it gives that role “Bypass content access control” so the front end can read unpublished revisions. Treat that secret like a database password: keep it in a server-only variable, never one prefixed NEXT_PUBLIC_. Simple OAuth’s latest release, 6.1.3 on 21 October 2026, was itself a security update. The Drupal side starts with:

composer require drupal/next drupal/jsonapi_menu_items drupal/metatag drupal/redirect
drush pm:install next next_jsonapi jsonapi_menu_items metatag redirect

Composer adds Decoupled Router, Subrequests, Simple OAuth, Consumers and Pathauto as dependencies.

What you give up with headless Drupal

  • Layout Builder as it ships. It renders through the Drupal theme, so a headless front end needs a layer that serializes layouts. The Official Charts kept Layout Builder on a Nuxt front end through Lupus Decoupled; GraphQL Compose calls its Layout Builder support experimental. Drupal Canvas, which needs Drupal 11.3, says it works in headless and coupled contexts.
  • Editing in place. Quick Edit left core in Drupal 10, and on a separate front end contextual links and the toolbar go too. Editors work in the admin and check pages in a preview iframe.
  • Simple previews. Draft routes, an OAuth client and per-content-type settings replace the Preview button. One commerce build for the Chinese market needed custom preview code on top of Content Moderation.
  • A single codebase to host, patch and secure. You run Composer and npm, two pipelines and two hosts. Next.js moved to roughly monthly security releases in July 2026 and shipped five from July to mid-October, two out of band. The Drupal-side Next.js module’s 2.0.1 release in December 2025 was also a security fix. Our Drupal hosting comparison covers the Drupal half of the bill, and Drupal security best practices the patching routine you now need twice.
  • Familiar skills. The Oris case study lists the team’s unfamiliarity with a decoupled setup as an early challenge. Plan for people who know both halves, or for the integration and DevOps support two stacks need.

When headless Drupal pays: a decision checklist

Decouple when at least two of these are true:

  • More than one front end reads the same content: an iOS or Android app, kiosks or screens, partner sites, or a network of brand sites with different designs.
  • You have, or will hire, a front-end team that will own a JavaScript codebase for years, not just for the launch.
  • The front end is really an application: logged-in dashboards, configurators, booking flows or offline use.
  • You can budget for two hosts and two release streams, plus the wiring for preview, redirects, metatags and sitemaps.

Keep a Drupal theme built with Single-Directory Components when:

  • It is one website, or several sites that share one design system.
  • Editors need to build and rearrange pages themselves with Layout Builder, Canvas or Paragraphs, and preview them without extra setup.
  • Speed is the main goal. Page cache, dynamic page cache and BigPipe, with a CDN purged by cache tags, make a themed site fast, as our Drupal performance benchmarks show.
  • Only parts of the site need to be interactive. Build those as React or Vue islands inside the theme, as 9 of the 13 hybrids in our set did.
  • A small in-house team or an agency on a support contract will maintain it.

Since Drupal 10.3, Single-Directory Components have been part of core’s render system. Each component keeps its Twig, YAML schema, CSS and JavaScript in one folder, which gives a theme the component discipline teams often go headless to get, without the second codebase.

Methodology and data

Case studies. All 462 case studies published on drupal.org from 19 October 2024 to 13 October 2026, collected on 14 October 2026. A search for about 30 terms (decoupled, headless, Next.js, Nuxt, React, Vue, Angular, GraphQL, JSON:API, PWA, mobile app, kiosk and others) gave 94 candidates, and we read each one. Front end, API and reasons are coded only when the text states them; a case study can carry several. Sector shares use drupal.org’s own overlapping tags and leave out one tool tagged with every sector. Six counted cases rest on a weaker reading and are marked medium confidence, and 11 borderline or opposite cases are listed as not counted. Case studies describe a project when written, not what a site runs today.

Module usage and releases. Weekly counts from drupal.org project usage pages, fetched with a plain request on 2 November 2026; none returned a bot check. We compare 13-week averages because single weeks swing: core jumped from 531,499 to 646,992 sites between two October weeks. Releases come from updates.drupal.org, and module and framework behavior was checked in drupal.org, next-drupal.org and nextjs.org documentation the same day.

Data. Download the coded case studies (with the sentence behind each coding) as a CSV file, and the module usage and release figures as a second CSV. Both are free to reuse with attribution to Gspikes.

Weighing a decoupled rebuild, or unsure your headless build earns its second codebase? Our Drupal development team builds coupled and decoupled Drupal and will tell you which your content needs. Ask us for a free architecture review.

Put senior Drupal engineers on it

Migrations, custom modules, integrations, and support with real SLAs — with a fixed-price quote from a senior engineer within 3 days.

Want this applied to your business?

A senior strategist reviews your situation and sends an honest plan within one business day.

Get a Free Quote