Loading

Increase the maximum relationships (master-detail plus lookup) allowed per object

Publish Date: Feb 6, 2025
Description

The maximum relationships per object equals the total number of lookup and master-detail Relationship fields allowed on a single object.

  • You can request to increase the number of lookup fields allowed per object.
  • Two (2) master-detail relationships is the maximum allowed.

Default Limit: 40
Maximum Hard Limit: 50

=====

How to check your current limits:

In Salesforce Classic

  1. Click Setup.
  2. Enter the object of your choice in the Quick Find box.
  3. Click Limits.
  4. Check the limit on the Custom Relationship Fields row.

In Lightning Experience

  1. Click the gear icon.
  2. Click Setup.
  3. Click Object Manager.
  4. Select the object of your choice.
  5. Click Object Limits.
  6. Check the limit on the Custom Relationship Fields row.
Resolution

To request an increase for production or sandbox orgs:

Notes:

  • Increasing the limit may impact performance.
  • The hard-coded maximum value for this limit is 50. It can’t be increased further than this.
  • This increase isn’t available for Developer Editions.


Additional Considerations:

  • These requests may take a few days to be reviewed and processed.
Knowledge Article Number

000386135

 
Loading
Salesforce Help | Article