---
schema_version: "1"
id: 54afa679115e6713f6132bea3a0d57e372fb6cc4fa7829cb1780ff0e421f5584
title: Custom Fields Allowed Per Object
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/custom_field_allocations.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.custom_field_allocations.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: d88d8ccf17cdfc66a4ace49544764c30d8a4a3dfc74a5917ccc82b9a31e6481c
description: The number of custom fields allowed per object varies according to your Salesforce edition.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# 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](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_account.htm)
- [AccountContactRelation](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_accountcontactrelation.htm)
- [Asset](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_asset.htm)
- [Campaign](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_campaign.htm)
- [CampaignMember](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_campaignmember.htm)
- [Case](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_case.htm)
- [Contact](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contact.htm)
- [ContentVersion](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contentversion.htm)
- [Contract](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contract.htm)
- Custom Object
- [Individual](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_individual.htm)
- [KnowledgeArticleVersion](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_knowledgearticleversion.htm)
- [Lead](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_lead.htm)
- [Opportunity](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_opportunity.htm)
- [OpportunityLineItem](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_opportunitylineitem.htm)
- [Order](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_order.htm)
- [OrderItems](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_orderitem.htm) (Order Product)
- [Product2](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_product2.htm) (Products)
- [Solution](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_solution.htm)
- [Users](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_user.htm)
- [UserRole](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_role.htm) (Role)

This object has a maximum hard limit of 50 custom fields.

- [PriceBookEntry](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_pricebookentry.htm?q=pricebookentry)

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](https://help.salesforce.com/s/articleView?id=xcloud.pkg_subscriber_before_install.htm&language=en_US).

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](https://www.salesforce.com/platform/data-archiving-solutions/), [Data Cloud](https://www.salesforce.com/ca/data/), or third-party data archiving solutions to archive your activities, and then [delete archived activities](https://help.salesforce.com/s/articleView?id=xcloud.admin_massdelete.htm&language=en_US) 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.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:10%">
          <col style="width:10%">
          <col style="width:10%">
          <col style="width:10%">
          <col style="width:10%">
          <col style="width:10%">
          <col style="width:10%">
          <col style="width:10%">
          <col style="width:10%">
          <col style="width:10%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126897e360">Field Type</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126897e363">Essentials Edition</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126897e366">Starter Edition</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126897e369">Personal Edition</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126897e372">Contact Manager</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126897e376">Group Edition</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126897e379">Professional Edition</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126897e382">Enterprise Edition</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126897e385">Developer Edition</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126897e388">Unlimited and Performance Edition</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Field Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d126897e360 ">Activities</td>

            <td data-label="Essentials Edition" class="slds-cell-wrap" colspan="5" style="vertical-align:top;" headers="d126897e363 d126897e366 d126897e369 d126897e372 d126897e376 ">No additional allocation</td>

            <td data-label="Professional Edition" class="slds-cell-wrap" style="vertical-align:top;" headers="d126897e379 ">20</td>

            <td data-label="Enterprise Edition" class="slds-cell-wrap" colspan="3" style="vertical-align:top;" headers="d126897e382 d126897e385 d126897e388 ">100</td>

          </tr>
          <tr class="">
            <td data-label="Field Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d126897e360 ">Long text area</td>

            <td data-label="Essentials Edition" class="slds-cell-wrap" rowspan="2" colspan="9" style="vertical-align:top;" headers="d126897e363 d126897e366 d126897e369 d126897e372 d126897e376 d126897e379 d126897e382 d126897e385 d126897e388 ">
              <p style="margin-bottom:0;">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.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Field Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d126897e360 ">Rich text area</td>

          </tr>
          <tr class="">
            <td data-label="Field Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d126897e360 ">Relationship</td>

            <td data-label="Essentials Edition" class="slds-cell-wrap" rowspan="2" colspan="2" style="vertical-align:middle;" headers="d126897e363 d126897e366 ">No additional
              allocation</td>

            <td data-label="Personal Edition" class="slds-cell-wrap" colspan="7" style="vertical-align:middle;" headers="d126897e369 d126897e372 d126897e376 d126897e379 d126897e382 d126897e385 d126897e388 ">40</td>

          </tr>
          <tr class="">
            <td data-label="Field Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d126897e360 ">Roll-up summary</td>

            <td data-label="Personal Edition" class="slds-cell-wrap" colspan="7" style="vertical-align:middle;" headers="d126897e369 d126897e372 d126897e376 d126897e379 d126897e382 d126897e385 d126897e388 ">25</td>

          </tr>
        </tbody>
      </table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_note.png)

Note For custom compound fields, each component counts as one custom field toward your org’s limits. Each geolocation field counts as three custom fields: one for latitude, one for longitude, and one for internal use. Similarly, each custom address field counts as nine custom fields: one each for street, city, postal code, country code, state code, geocode accuracy level, longitude, and latitude, plus one for internal use.

#### See Also

- [Salesforce Features and Edition Allocations](https://help.salesforce.com/s/articleView?id=xcloud.overview_limits_general.htm&type=5&language=en_US)
- [_Knowledge Article_: Increase the maximum relationships (master-detail plus lookup) allowed per object](https://help.salesforce.com/s/articleView?id=000386135&type=1&language=en_US)