CockroachDB licence explained: Enterprise Free, limits and alternatives
Since release 24.3, self-hosted CockroachDB has one licence, the CockroachDB Software License, with free use for smaller companies and a paid Enterprise licence for the rest. This page sets out who qualifies, what the telemetry rule does, and what a company over the limit can do.
45 minutes with an engineer: we review your workload and sketch the design.
- ✓Cockroach Labs pages read 4 Dec 2026
- ✓Source-available, not open source
From CockroachDB 24.3 (November 2024) self-hosted CockroachDB is offered under one source-available licence, the CockroachDB Software License. Enterprise Free is for businesses under $10 million in annual revenue, needs yearly renewal and sends telemetry; larger companies need a paid Enterprise licence. Cloud is unchanged. Read from Cockroach Labs' pages on 4 December 2026.
Customers
Partners
What did CockroachDB change in its licence?
Cockroach Labs announced on 15 August 2024 that it would retire the free Core edition and offer one Enterprise licence for self-hosted use. The change took effect with version 24.3 on 18 November 2024. Cockroach Labs applied it to new patch releases of versions 23.1 and later too. Its cloud platform was not affected.
The announcement says the company saw two trends: small businesses wanted Enterprise features that Core lacked, and a growing number of larger businesses were running Core for free in production. Its answer was to give everyone the full feature set and to ask scaled businesses to pay (Cockroach Labs blog, 15 Aug 2024, checked 4 Dec 2026). The code stays source available. Its licence is the CockroachDB Software License (licence text, checked 4 Dec 2026), which allows use under a licence key rather than permitting unrestricted free use.
The documentation states the timing precisely: all versions from the release date of 24.3.0 onward, including patch fixes for versions 23.1 to 24.2 from that date, are made available under the CockroachDB Software License (licensing FAQs, checked 4 Dec 2026).
What is Enterprise Free and who qualifies?
Enterprise Free has the same functionality as Enterprise and costs nothing for businesses with under $10 million in annual revenue. Individual developers, students and non-commercial academic researchers also qualify. It renews yearly, and the only support is community support. Government entities do not qualify.
| Licence | Who it is for | Support | Telemetry |
|---|---|---|---|
| Enterprise | Businesses over $10M in annual revenue, and government use | Enterprise or Essential support | Not required for paid use |
| Enterprise Free | Individuals, and businesses under $10M annual revenue; renewed each year | Community: docs, forum, Slack | Required, except for ephemeral clusters of 7 days or less |
| Enterprise Trial | A 30-day self-service trial | Community | Required during the trial |
Sources: Cockroach Labs licence update page and licensing FAQs, checked 4 Dec 2026.
Three details change who qualifies in practice. The revenue test is on the combined revenue of the company, its parent and its affiliates, so a small subsidiary of a large group does not qualify. Enterprise Free may only run on your own hardware or in your own public cloud account, not in a customer's environment. And hosting CockroachDB as a service for third parties is outside the free use: employees and contractors may use an internal service, but outside users may not without a licence (licensing FAQs, checked 4 Dec 2026).
What does required telemetry mean?
Enterprise Free and Trial clusters must send usage telemetry. If a cluster stops sending it, there is a 7-day grace period, after which the cluster is throttled to 5 concurrent open SQL transactions. That is a hard limit on production use, so the telemetry path must be allowed out of your network.
Throttling also follows licence expiry: an expired Enterprise Free key throttles 30 days after expiry, a Trial key after 7 days, and a paid Enterprise key never throttles. A cluster with no key is throttled 7 days after initialization, and clusters that were on Core and patch-upgraded get a 30-day grace period (licensing FAQs, checked 4 Dec 2026). Single-node development clusters started with the single-node or demo commands need no key and are not throttled.
The licence update page says businesses that cannot send telemetry can contact sales to request an exception (page, checked 4 Dec 2026). Air-gapped and tightly controlled environments should raise this before adopting the free tier, not after the first renewal.
What changes from v24.3 for a team already running CockroachDB?
If you run a patch release from 24.3 onward, or a later patch of 23.1 to 24.2, you are on the CockroachDB Software License and need a licence key. The route depends on size: under $10M revenue, get an Enterprise Free key; otherwise buy Enterprise, move to Cloud, or move to another database.
Find your patch version on every cluster
Record each cluster's exact version, because the licence applies by release date and patch.
Check eligibility
Add up revenue for the company and its parent and affiliates. Government use does not qualify for the free tier.
Check telemetry
Confirm each cluster can reach Cockroach Labs' telemetry endpoint, or request an exception.
Set the key and monitor expiry
The documentation shows setting the key with a cluster setting and a Prometheus metric for time to expiry. Alert on it.
Decide the over-limit path early
A throttled production cluster is an outage. Have the decision made before the grace period runs out.
This page does not say which licence earlier releases remain under. Read the licence file shipped with the exact version you run.
What PostgreSQL-compatible alternatives exist?
The closest drop-in is PostgreSQL itself, with replication and failover from an operator or a managed service. CockroachDB speaks the PostgreSQL wire protocol but is not PostgreSQL, and its own documentation lists unsupported features such as range types. Moving to PostgreSQL gives up CockroachDB's multi-region write distribution.
| CockroachDB | PostgreSQL with high availability | |
|---|---|---|
| Licence | CockroachDB Software License, source available; key required | PostgreSQL licence; no key, no telemetry |
| Writes across regions | Built for distributed writes with consensus replication | One writable primary with replicas; cross-region writes need an extra design |
| Compatibility | PostgreSQL wire protocol 3.0 and most syntax; reports PostgreSQL 18; range types and some other features unsupported | Full PostgreSQL feature set and extensions |
| Failover | Built into the cluster | Provided by an operator or tooling; see high availability |
| Cost shape | Free under $10M revenue; paid Enterprise above it | No licence fee; you pay for operations |
CockroachDB column from the compatibility page and licensing FAQs, checked 4 Dec 2026. Porting an application can require changing SQL that behaves differently, as that page says.
If your workload fits on one writable primary with fast failover, PostgreSQL is usually simpler and cheaper to run. For a worked example of replacing a clustered commercial database that way, read Oracle RAC alternatives on PostgreSQL, and see managed PostgreSQL for how OSStend runs it.
What should a company over the revenue limit do?
Choose between paying, moving to a managed cloud service, or moving engines. If you need CockroachDB's multi-region distributed writes, the paid Enterprise licence is the intended route, and it is the right choice. If you do not need them, price a PostgreSQL design before you renew.
- Buy Enterprise.
- Right when distributed writes or CockroachDB's resilience features are the reason you chose it. Ask for the term, the unit and the support level in writing.
- Use CockroachDB Cloud.
- The announcement says there is no change for cloud customers. Check Cockroach Labs pricing for the current plans.
- Move to PostgreSQL.
- Plan a data move and an application test pass; start with a list of every feature in use.
- Keep the free tier only if you qualify.
- Do not rely on a subsidiary structure; the FAQ is explicit about parent and affiliate revenue.
Who the free tier fits, and who it does not
Enterprise Free suits a small independent company that wants full CockroachDB features, can allow telemetry and is content with community support. It does not suit group subsidiaries, government bodies, service providers hosting for customers, or air-gapped sites that cannot send telemetry.
Contact us if
- ✓Your combined group revenue is under $10 million and will stay there.
- ✓Your clusters run on your own hardware or in your own cloud account.
- ✓Community support is enough for your risk level.
Not a fit if
- ✕You are a government entity, or part of a group over the revenue limit.
- ✕You host databases for customers or run clusters in a customer's environment.
- ✕Your network blocks outbound telemetry and you have no exception.
- ✕You need a vendor SLA. Paid Enterprise or Essential support is the route.
Questions about the CockroachDB licence
Is CockroachDB still open source?
Cockroach Labs describes it as source available and licenses it under the CockroachDB Software License (blog, checked 4 Dec 2026). That is not an open source licence in the usual sense, and it requires a licence key for production use.
Is CockroachDB free for self-hosted use?
Only under Enterprise Free: businesses with annual revenue under $10 million, individuals and non-commercial academic research. Larger companies need a paid Enterprise licence.
Does CockroachDB Enterprise Free require telemetry?
Yes, except for ephemeral clusters of 7 days or less. Without telemetry the cluster is throttled to 5 concurrent open SQL transactions after a 7-day grace period.
Can I run CockroachDB for my customers?
Not on Enterprise Free. Running it in a customer's environment needs an Enterprise licence, and hosting it as a service for third parties is outside the free use.
What is a good CockroachDB alternative?
PostgreSQL with a high-availability operator is the common alternative when you do not need multi-region distributed writes. See PostgreSQL high availability.
Does a license key apply to a single-node development cluster?
No. The documentation says no key is needed for single-node development clusters started with the single-node or demo commands.
Related pages
- GuidePostgreSQL high availability: the complete guide (2026)PostgreSQL high availability explained: synchronous_commit, failover, Patroni, pg_rewind, WAL slots, pgBackRest and cloud HA, from docs read 19 Nov 2026.
- Learn · PostgreSQL operationsOracle RAC alternative for PostgreSQL: what replaces itOracle RAC alternative on PostgreSQL: what RAC gives you, what a primary with standbys gives instead, and where PostgreSQL does not match. Docs read 3 Dec 2026.
- PostgreSQLManaged PostgreSQL service and Postgres hostingManaged PostgreSQL service, compared: how to choose between RDS, Aiven, Crunchy Bridge, Neon and a tailored cluster run 24/7 in your cloud or ours.
Price a PostgreSQL design beside your CockroachDB renewal
45 minutes: an engineer reviews which CockroachDB features you use and outlines a PostgreSQL high-availability design, so you can compare it with your renewal.
- ✓A design sketch for your workload, not a plan menu
- ✓A zero-downtime cutover path for what you run today
- ✓A price for that design, after the review





