You are here:
Custom Fields Allowed Per Object
The number of custom fields allowed per object varies according to your Salesforce edition.
| Personal Edition | Contact Manager | Group Edition | Essentials Edition | Starter Edition | Professional Edition | Enterprise Edition | Unlimited and Performance Edition | Developer Edition |
|---|---|---|---|---|---|---|---|---|
| 5 | 25 | 100 | 100 | 25 | 100 | 500 | 800 | 500 |
To enable installation of AppExchange apps on all Salesforce editions, you can install additional fields beyond the edition limits if those fields come from an AppExchange certified managed package. You can install additional fields up to the maximum hard limit allowed per object.
- The objects in the following list have a maximum hard limit of 900 custom fields.
- All other objects have a maximum hard limit of 800 custom fields.
Let’s look at a few examples using the objects in the list. For Enterprise Edition, you can create 500 custom fields on an object and install an additional 400 fields from an AppExchange certified managed package. For Unlimited Edition, you can create 800 custom fields on an object and install an additional 100 fields from an AppExchange certified managed package.
These objects have a maximum hard limit of 900 custom fields.
- Account
- AccountContactRelation
- Asset
- Campaign
- CampaignMember
- Case
- Contact
- ContentVersion
- Contract
- Custom Object
- Individual
- KnowledgeArticleVersion
- Lead
- Opportunity
- OpportunityLineItem
- Order
- OrderItems (Order Product)
- Product2 (Products)
- Solution
- Users
- UserRole (Role)
This object has a maximum hard limit of 50 custom fields.
If you have an AppExchange certified managed package installed in your org and that package expires, the custom fields in that package count against the edition custom field limit regardless of whether the Don't Count towards Apps, Tabs, and Objects Org Limits field is selected. For more information about AppExchange packages and limits, see the edition and org limits in Before You Install an AppExchange Package.
You can create up to 300 custom fields for activities, as long as your Salesforce org has fewer than 700 million tasks and events. If your org has more than 100 custom fields and now has more than 700 million tasks and events, you can’t create any more custom fields. However, your preexisting fields are retained to prevent data loss. To regain the ability to create up to 300 custom fields, use Salesforce Archive, Data Cloud, or third-party data archiving solutions to archive your activities, and then delete archived activities to reduce the number of activities in your org.
Custom Field Type Allocations
The maximum number of activities, long text area fields, rich text area fields, relationship fields, and roll-up summary fields varies according your Salesforce edition.
| Field Type | Essentials Edition | Starter Edition | Personal Edition | Contact Manager | Group Edition | Professional Edition | Enterprise Edition | Developer Edition | Unlimited and Performance Edition |
|---|---|---|---|---|---|---|---|---|---|
| Activities | No additional allocation | 20 | 100 | ||||||
| Long text area | An object can contain unlimited rich text area and long text area fields, although your edition’s allocation for total custom fields allowed on an object, regardless of field type, applies. Each object can contain 1,638,400 characters across long text area and rich text area fields. When you create a long text area or rich text area field, you set a character limit for the field—the maximum length of the text that can be entered. The default character limit for long text area and rich text area fields is 32,768 (32 KB). The maximum character limit for long text area and rich text area fields is 131,072 (128 KB). The minimum character limit is 256. The maximum size of an image that can be uploaded in a rich text area field is 1 MB. |
||||||||
| Rich text area | |||||||||
| Relationship | No additional allocation | 40 | |||||||
| Roll-up summary | 25 | ||||||||

