function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Anu Singh 40Anu Singh 40 

how many lookup relationship can created on an object?

Hi All

Can Anyone tell me maximum nuber of lookup relations on an object.
Are there 25 or 38 or 40?
Thanks in Advance
SwethaSwetha (Salesforce Developers) 
HI Anu,
Based on https://www.salesforceben.com/relationships-in-salesforce/#:~:text=You%20can%20have%20a%20maximum,master%20details%20on%20an%20object which is dated July 27, 2021, You can have a maximum of 40 lookups on an object.

I'd also recommend reviewing https://salesforce.stackexchange.com/questions/232005/the-number-of-lookup-relationship-that-an-object-can-have-are-as-in-today

If this information helps, please mark the answer as best. Thank you
Sanu kumar ModiSanu kumar Modi
Hi Anu,
Based on https://help.salesforce.com/s/articleView?id=000386135&type=1 , you can have maximum 40 lookup field on an object .