Sandbox License Compliance
When you exceed your sandbox allocations, we lock the appropriate number of sandboxes to restore your license compliance, starting with the least recently used sandboxes. After you meet compliance, locked sandboxes are unlocked.
Required Editions
| Available in: both Salesforce Classic and Lightning Experience |
| Available in: Professional, Enterprise, Performance, Unlimited, and Database.com Editions |
How license compliance is implemented depends on how many sandbox licenses are available in your production org: at least one available license, or no available licenses.
If You Have One or More Available Sandbox Licenses
When you exceed your sandbox allocations, we send users with the Manage Dev Sandboxes (Developer or Developer Pro only) or Manage Sandboxes (all sandbox types) permission an email notification informing them about non-compliance. After 30 days, we lock the appropriate number of sandboxes to restore license compliance, starting with the least recently used sandboxes based on login date. Users with the Manage Dev Sandboxes (Developer or Developer Pro only) or Manage Sandboxes (all sandbox types) permission are sent an email notification that lists the affected sandboxes. Sixty days after a sandbox is locked, it’s deleted and can’t be recovered.
| Days After Sandbox Is Flagged as Non-Compliant | What Happens to the Non-Compliant Sandboxes? |
|---|---|
| From 1 through 30 | Non-compliant sandboxes remain unlocked during this grace period. Delete any unneeded sandboxes to free up sandbox licenses, or purchase additional sandbox licenses to meet compliance. |
| From 31 through 90 | Non-compliant sandboxes are locked. Delete any unneeded sandboxes to free up sandbox licenses, or purchase additional sandbox licenses to meet compliance. |
| From 91 and later | Non-compliant sandboxes are permanently deleted and can’t be recovered. |
If You Have No More Sandbox Licenses
If your sandbox license count goes to zero, the sandbox is immediately locked and no notifications are sent. Delete any unneeded sandboxes to free up sandbox licenses, or purchase additional sandbox licenses to meet compliance.
Do You Want More Sandbox Licenses?
To purchase additional sandbox licenses, contact your Salesforce Account Executive. Be sure to allow provisioning time when purchasing licenses.

