Unlock a Sandbox

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.

Required Editions

Available in: both Salesforce Classic and Lightning Experience
Available in: Professional, Enterprise, Performance, Unlimited, and Database.com Editions

If your current license count is lower than the number of your provisioned sandbox orgs, Salesforce removes sandbox services, such as Sandbox org accessibility or Login.

Important
Important When you exceed your sandbox allocations, the appropriate number of sandboxes are locked to restore your license compliance, starting with the least recently used sandboxes. If you do nothing, sandboxes locked for more than 60 days are deleted and can’t be recovered. For more information about license compliance, see Sandbox License Compliance.

Here are some scenarios and solutions, based on licensing and usage.

Scenario Cause Example Effect Resolution
Unable to refresh a particular type of sandbox Your org is using more sandboxes than its sandbox licenses permit. Your org has three Partial Copy sandboxes but only two Partial Copy sandbox licenses. You can’t refresh any sandbox. When you’re over your limit on any type of sandbox, your org isn’t allowed to refresh any sandboxes. Delete sandboxes to comply with the number allowed by your org’s sandbox licenses, or purchase more sandbox licenses.
All or some sandboxes of a particular type are locked Your org is using more sandboxes than its sandbox licenses permit. Your org has three Partial Copy sandboxes but only two Partial Copy sandbox licenses. You don’t have access to the sandboxes. Delete sandboxes to comply with the number allowed by your org’s sandbox licenses, or purchase more sandbox licenses.
All sandboxes are locked Your production org is locked. Your org has one Full sandbox and one Developer sandbox, but you can't log in to either sandbox. If your production org is locked, all sandboxes associated with the org are locked. Contact your Salesforce representative to unlock your org. When your production org is unlocked, the sandboxes are unlocked as well.