Cloudflare D1 now offers a “us” jurisdiction flag that forces the database engine and its persisted data to run exclusively within United States data centers. Engineers who need to satisfy regional residency mandates or who prefer to limit legal exposure can now enforce location at creation time.
Enabling US Jurisdiction
When provisioning a new D1 instance, add the --jurisdiction=us option to the Wrangler command. For example:
npx wrangler@latest d1 create db-with-us-jurisdiction --jurisdiction=us
The flag is part of the creation request; after the database exists, its location cannot be changed.
Architectural Implications
- All read/write traffic is routed to US‑based edge locations, which may affect latency for clients outside the United States.
- Cross‑region replication or backup strategies must account for the fact that the primary store cannot be moved to another region without recreating the database.
- Designs that previously assumed a globally distributed D1 store need to incorporate region‑specific routing or fallback mechanisms.
Operational and Compliance Considerations
- Compliance checks can now reference the jurisdiction flag as evidence of data residency.
- Disaster‑recovery plans should verify that any secondary storage or snapshot service also respects the US‑only constraint.
- Monitoring dashboards should label the database as “US‑only” to avoid accidental inclusion in multi‑region capacity forecasts.
Security Perspective
Data remaining in the United States subjects it to U.S. legal frameworks, which may simplify or complicate contractual obligations depending on the organization’s policy. The jurisdiction flag does not add cryptographic controls; existing D1 security features still apply.
Related CloudNinjas coverage: hands-on guides.
What This Means For Practitioners
Adopt the --jurisdiction=us flag for any D1 workload that must stay within U.S. borders, and update architecture diagrams, CI/CD pipelines, and compliance documentation accordingly. Verify that monitoring, backup, and failover processes respect the location constraint, and reassess latency expectations for non‑U.S. clients.

