Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Root not-found.tsx with multiple root layouts - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
3y ago
•
2 replies
iDarkLightning
Root not-found.tsx with multiple root layouts
Is anyone aware of how to have a global
not-found.tsx
not-found.tsx
with multiple root layouts in Next
's app directory
?
Multiple root layouts are supported as outlined here
:
https://nextjs.org/docs/app/building-your-application/routing/route-groups#creating-multiple-root-layouts
And a global not
-found is outlined here
:
https://nextjs.org/docs/app/api-reference/file-conventions/not-found
However
, if a global not found is created in
app/not-found
app/not-found
then we get
Theo's Typesafe Cult
Join
26,131
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
NextJS "Module not found" error with "loading.tsx"?
TTC
Theo's Typesafe Cult / questions
3y ago
Custom 404 page with multiple layouts
TTC
Theo's Typesafe Cult / questions
3y ago
Link won't navigate to app/not-found.tsx in app dir
TTC
Theo's Typesafe Cult / questions
3y ago