---
schema_version: "1"
id: fde5f694f73795a9432097c8149d54c582bbc3f344eb4046e7a3eaf6316ed552
title: Sandbox License Compliance
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/data_sandbox_license_compliance.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.data_sandbox_license_compliance.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 7244b90b675b51632b8f13850af6903f94c8eb4d170d9f8df1b772272b0541f9
description: 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.
products:
  - Salesforce Platform
release: "264"
---
# 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

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Database.com</strong> Editions</td></tr></tbody></table>

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.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-deploy_sandboxes-264-0-0-production-enus/654e51d1-6795-49fe-bd43-b5385950cf4a/images/icon_note.png)

Note When you exceed your sandbox allocation limits, you can’t perform sandbox operations such as refresh for any of your sandboxes regardless of sandbox type. After you meet compliance, the locked sandboxes are unlocked and you once again can perform sandbox operations.

 
| 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. |

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-deploy_sandboxes-264-0-0-production-enus/654e51d1-6795-49fe-bd43-b5385950cf4a/images/icon_note.png)

Note The timeline for non-compliance is different for courtesy sandboxes. See [Frequently Asked Questions for Salesforce Courtesy Sandboxes](https://help.salesforce.com/s/articleView?id=005318699&type=1&language=en_US) for more information.

## 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.

#### See Also

- [Unlock a Sandbox](https://help.salesforce.com/s/articleView?id=platform.data_sandbox_licenses.htm&release=264.0.0&type=5 "Sandboxes are licensed separately from the Salesforce service and are subject to restrictions. When your sandbox licenses expire, Salesforce decreases the count of available sandbox licenses for the selected sandbox type.")