Next.js + Sanity: Monorepo with /studio folder vs separate frontend/studio repos?

9 repliesLast updated: Nov 29, 2025

For Next & Sanity projects, do folks usually go with the following structure (as Sanity's examples seem to use):
/studio/ folder within a Next.js project
or is there any disadvantage to having something like:
frontend -> nextjs files
studio -> sanity magic ?
AI Update

Both approaches are totally valid, and the choice really comes down to your team's preferences and deployment strategy. There's no major technical disadvantage to either structure.

The /studio folder approach (embedded in Next.js) is what you'll see in most of Sanity's official examples and templates. Here's why it's popular:

The separate repos/folders approach works great too, especially when:

My take: If you're a solo dev or small team building a single website, the embedded /studio approach is usually simpler. If you have multiple frontends or want your Studio completely independent, go with separate projects.

Both structures work identically from a functionality perspective - Sanity Studio is just a React app either way, and your Next.js frontend talks to Sanity's Content Lake via the same APIs regardless of where Studio lives. The Presentation Tool for visual editing works with either setup too.

Show original thread
9 replies

Was this answer helpful?

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Related contributions