Skip to main content

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.4Regular releaseSupport policyAll release notes

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.

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.

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.