Newer Version Available
Supported Scratch Org Editions and Allocations
Supported Scratch Org Editions
Possible values for the Salesforce edition of the scratch org are:
- Developer
- Enterprise
- Group
- Professional
Scratch orgs have these storage limits:
- 200 MB for data
- 50 MB for files
Entities defined as metadata types aren’t counted as part of storage allocations in scratch orgs. For more information about entities that are counted against storage allocations, see Salesforce Help: Data and File Storage Allocations.
Supported Dev Hub Editions and Associated Scratch Org Allocations
To ensure optimal performance, your Dev Hub org edition determines your scratch org allocations. These allocations determine how many scratch orgs you can create daily, and how many can be active at a given point.
To try out scratch orgs, sign up for a Developer Edition org on Salesforce Developers, then enable Dev Hub.
The active scratch org allocation is the maximum number of scratch orgs you can have at any given time based on the edition type. The allocation becomes available if you delete a scratch org or if a scratch org expires. The daily scratch org allocation is the maximum number of successful scratch org creations you can initiate in a rolling (sliding) 24-hour window. Allocations are determined based on the number of scratch orgs created in the preceding 24 hours.
| Edition | Active Scratch Org Allocation | Daily Scratch Org Allocation |
|---|---|---|
| Developer Edition or trial | 3 | 6 |
| Enterprise Edition | 40 | 80 |
| Unlimited Edition | 100 | 200 |
| Performance Edition | 100 | 200 |
List Active and Daily Scratch Orgs
To view your scratch org allocations and how many are remaining, run this command in a terminal or command window against your Dev Hub org. Only relevant limits (ActiveScratchOrgs and DailyScratchOrgs) are shown.
1sf limits api display --target-org <Dev Hub username or alias>Look for these two limits in the output:
1Name Remaining Max
2─────────────────────────────────────────── ───────── ─────────
3ActiveScratchOrgs 198 200
4DailyScratchOrgs 400 400View Limits for a Scratch Org
To view limits information for a scratch org:
1sf limits api display --target-org <scratch org username or alias>