This article explains the default limit for the maximum number of custom indexes per object (entity) in a Salesforce organization, and the available options for creating custom indexes to improve query performance.
Custom indexes are a tool that Salesforce Support can use to help resolve slowness or timeouts on specific fields. For example, if a custom field like Contract_Expiration_Date__c is frequently used in SOQL queries and causing timeouts, a custom index on that field can significantly improve query performance.
Professional, Enterprise, Performance, Unlimited, and Developer
Default Limit: 25 custom indexes per object (entity)
Submit a limit increase request with Salesforce Support
Review Salesforce documentation on custom indexes and query performance before submitting a support request. Be aware that custom indexes, when used improperly, can actually slow query results — reach out to Support to determine the best approach for your specific performance issue.
There are three ways custom indexes are created in Salesforce:
If you've reviewed all relevant documentation and still need assistance with custom indexes or a performance issue, please have a System Administrator create a limit increase request with Support.
When submitting your request, please be specific and include:
000386304

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.