License options
The table of licenses below refers to options for self-hosted deployments. All Cloud deployments automatically have a valid Enterprise license.| Type | Description |
|---|---|
| Enterprise | This paid license allows usage of all CockroachDB features in accordance with the terms specified in the CockroachDB Software License. License must be renewed annually or as negotiated. Support levels available include Enterprise or Essential. The type of enterprise license may be set to Production, Pre-production, or Development depending on the environment in which CockroachDB is deployed. |
| Free | Same functionality as Enterprise, but free of charge for businesses with less than $10M in annual revenue. Clusters will be throttled after 7 days without sending . License must be renewed annually. Support level available is Community (i.e., , Forum, Slack). |
| Trial | A 30 day self-service trial license. is required during the trial. Clusters will be throttled after 7 days without sending telemetry. Telemetry can be disabled once the cluster is upgraded to a paid Enterprise license. Support level available during trial is Community (i.e., , Forum, Slack). |
| Evaluation | Same functionality as Enterprise, but may be provided by your sales team if needed for an extended evaluation period. Support level is equivalent to a enterprise license. |
Obtain a license
To obtain a paid Enterprise license, contact Sales. Once a license is added to your account, it appears in the CockroachDB Cloud Console on the Organization » Enterprise Licenses page. This page is only accessible by users with Organization Admin permissions. Sign up for a CockroachDB Cloud Console account if you do not already have one.Enterprise licenses generated prior to May 31st 2025 are not visible in the Enterprise Licenses page.
- Point your web browser to the CockroachDB Cloud Console and as an account with Organization Admin permissions.
- Select Organization » Enterprise Licenses from the nav bar dropdown. This will bring you to the Enterprise Licenses page, which shows a (possibly empty) list of licenses and their keys, with information about the status of each.
- Click the Create License button. This will bring you to a page called Get started with CockroachDB Enterprise.
- On this page, you will create an Enterprise Trial license or an Enterprise Free license.
- To create an Enterprise Trial license:
- Fill in the form with the required information.
- Click the Continue button.
- Select the checkbox to agree to the Terms & Conditions of the CockroachDB Software License.
- Click the Generate License Key button. You will be redirected to the Enterprise Licenses page, where you can start using the key.
- To create an Enterprise Free license:
- Fill in the form with the required information.
- Toggle the switch called Find out if my company qualifies for an Enterprise Free license.
- Fill out the additional information.
- Click the Continue button.
- Note that at this stage, you may not qualify for the Enterprise Free license. If so, you will be given an Enterprise Trial license.
- Select the checkbox to agree to the Terms & Conditions of the CockroachDB Software License.
- Click the Generate License Key button. You will be redirected to the Enterprise Licenses page, where you can start using the key.
- To create an Enterprise Trial license:
You will not be able to create more than one Enterprise Trial license per day. If you try, the UI will prevent you from proceeding, and the following message will be displayed:A new Enterprise Trial license cannot be created at this time because one was recently created. Tell us more about your intended use to find out if you qualify for an Enterprise Free license, or create a new one after $.
Set a license
Start the . As the , use the statement to set the license key:Verify a license
To verify a license, open the and use the command to check the license key:cockroach.log on the node where the command is run:
Monitor for license expiry
You can monitor the time until your license expires in the following ways:- : The
seconds_until_enterprise_license_expirymetric reports the number of seconds until the license on a cluster expires. It will report0if there is no license, and a negative number if the license has already expired. For more information, see . - : Several may be displayed, depending on the status of your cluster’s license.
- CockroachDB Cloud Console: If you have an Enterprise Free or Enterprise Trial cluster, you will see notifications in the Enterprise Licenses section, as well as receive notification emails sent to users with Organization Admin permissions.
- CockroachDB emits when a cluster is at risk of being throttled due to license expiration or requirements. The database will also return notices to or that try to execute .
During the transition to the CockroachDB Software License, expiration behavior (including throttling) will work as follows depending on your version of CockroachDB.For v23.1.29, v23.2.15, v24.1.7, v24.2.5, and v24.3.0 and later, clusters will behave as described in this documentation.For versions less than or equal to v23.1.28, v23.2.14, v24.1.6, and v24.2.4, the behavior will be as follows:
- Enterprise Trial and Enterprise Free licenses will work as expected when you set a license.
- However, the expiration behavior will be different. Clusters running these versions won’t be throttled; instead, the Enterprise features will immediately stop working at license expiration.
Renew an expired license
To renew an expired Enterprise license, contact Sales and then set the new license. To renew an expired Enterprise Free license, follow the steps in Obtain a license.FAQs
Can I host CockroachDB as a service for internal use at my organization?
Yes, employees and contractors can use your internal CockroachDB instance as a service, but no people outside of your organization will be able to use it without purchasing a license.What constitutes hosting CockroachDB as a service?
Hosting CockroachDB as a service means creating an offering that allows third parties (other than your employees and contractors) to operate a database. Specifically, third parties cannot modify table schemas.What is throttling and how does it work?
When a cluster is being throttled, the number of concurrent open is limited to 5. This will happen in the following cases:- The cluster is not following requirements.
- There is a 7 day grace period for Enterprise Free and Enterprise Trial clusters to (re)start sending telemetry. This applies when the license is first added, or any time there is an interruption in telemetry.
- The cluster has an expired license key; depending on the type of expired license, the cluster will be throttled after the following time periods:
- Enterprise: Never throttles
- Enterprise Free: Throttles 30 days after expiration
- Enterprise Trial: Throttles 7 days after expiration
- The cluster was running an earlier version of CockroachDB which supported the license known as “CockroachDB Core” and has just been patch upgraded to a version of CockroachDB which is available under the CockroachDB Software License. Such clusters get a 30 day grace period before being throttled to de-risk impact to production environments.
Can I use CockroachDB for academic research?
Cockroach Labs encourages non-commercial academic research involving CockroachDB. For such projects, obtain an Enterprise Free license.Do government entities qualify for a CockroachDB Enterprise Free license?
No, government entities do not qualify for an Enterprise Free license. To obtain an Enterprise Trial license or paid Enterprise license, see Obtain a license.Where can I deploy CockroachDB Enterprise Free licenses? Does it have to be on my own hardware or cloud instance?
When using an Enterprise Free license, an Enterprise Free license can only be used to run CockroachDB on your own on premises hardware or in your own account in the public clouds. If you plan to run CockroachDB in your customer’s environment or public cloud instance, you will need an Enterprise License.Do I need a license key for running a single node cluster?
No license key is required for developers running using the following :Can a company with less than $10 million in annual revenue use the Enterprise Free license if the aggregate revenue of its parent company and affiliates exceeds this threshold?
No, the Enterprise Free license is intended solely for organizations whose combined annual revenue, including the parent company and all affiliates, is under $10 million. If total annual revenues exceed this limit, the affiliate does not qualify for the Enterprise Free license.See also
- CockroachDB Software License
- Enterprise support
- Contact Sales

