Documentation
CockroachDB Docs
CockroachDB is a distributed SQL database that keeps your application running through node, zone, and region failures. It speaks the PostgreSQL wire protocol and supports most PostgreSQL syntax, so most Postgres drivers and tools work with it. Run it on Cockroach Continuum, the agentic database cloud: fully managed CockroachDB for your applications and AI agents. Or run it on your own infrastructure. The SQL and these docs are the same either way.
PostgreSQL compatibilityHow CockroachDB worksSee it survive a node failure
Current releaseCockroachDB v26.4Support policyAll release notes
Recommended for new projects
Cockroach Continuum
Fully managed CockroachDB that scales with your workload, with no servers to run. The fastest path from first query to production.
Self-hosted
Run CockroachDB yourself
Download the binary, run it in Docker, or deploy with the Kubernetes operator. The same database, on your laptop, in your data center, or in your cloud account.
- Install on macOS, Linux, or Windows
- Deploy on Kubernetes
- Production checklist
Self-hosted clusters need a license key. Enterprise Free covers businesses with less than $10M in annual revenue, and a 30-day Enterprise Trial is available. Both require telemetry. Licensing FAQs
Already on CockroachDB Cloud (Basic, Standard, Advanced, or BYOC)? Nothing changes for your organization. Go to the CockroachDB Cloud docs.
Build with AI
Give your agent CockroachDB
Connect your coding agent to these docs and to CockroachDB’s agent skills, so it builds with current, version-correct guidance.
New
Cockroach Cookbook
Complete workload designs, single patterns, and migrations, each with runnable code in the Cockroach Cookbook repository, failure behavior, and honest trade-offs.
Recommended articles
Browse by topic
Build applications
Deploy and operate
Resilience and multi-region
Reference
All documentation
Everything in the product menu, with the pages people look up most.
Cockroach University
Learn it hands-on, then get certified
Free courses for developers and operators, 15-minute browser labs (including AI with CockroachDB), and certifications that are free for customers.

