How to Relate a Contact to Multiple Accounts in Salesforce


Yes, you can relate one contact to multiple accounts in Salesforce. Here is how to enable Contacts to Multiple Accounts, how direct and indirect relationships differ, and how to manage them at scale.
Summary
Yes, you can relate one contact to multiple accounts in Salesforce. The feature is called Contacts to Multiple Accounts, sometimes referred to as shared contacts, and an administrator enables it in Setup under Account Settings by ticking "Allow users to relate a contact to multiple accounts".
Once enabled, every contact keeps one primary account and can be related to any number of others through an indirect relationship. This post covers how it works, how to switch it on, the limitations worth knowing before you commit, and how to manage these relationships at scale rather than one record at a time.
Why would you relate a contact to more than one account?
The standard model gives a contact exactly one account, which stops being true the moment your data reflects real life:
- A consultant or contractor who works with several of your client organisations
- A board member or advisor sitting on multiple boards
- An influencer at a parent company who also drives decisions at two subsidiaries
- A broker or agent representing several businesses
- A person who changes employer but whose history with the previous company still matters
Without the feature, teams work around it by duplicating the contact under each account. That breaks reporting, splits activity history across records, and guarantees someone eventually emails the wrong version.
What is the difference between a direct and an indirect relationship?
Understanding this distinction saves a lot of confusion later.
The account in the Account Name field on the contact record is the contact's primary account, and that is a direct relationship. Every other account the contact is related to is an indirect relationship. Both are stored on the AccountContactRelation object, which is the junction object behind the feature and the thing you will point reports, imports and grids at.
Each relationship can carry its own detail, most usefully the Roles field, so the same person can be a Decision Maker at one account and a Technical Buyer at another.
How to enable Contacts to Multiple Accounts
- From Setup, enter Account Settings in the Quick Find box and select it.
- Click Edit.
- In the Contacts to Multiple Accounts section, tick Allow users to relate a contact to multiple accounts.
- Save.
- Add the Related Contacts related list to your Account page layouts, and the Related Accounts related list to your Contact page layouts, so users can actually see and use the relationships.
It is worth adding the Roles field to those related lists at the same time, since a relationship without a role tells you very little.
How to relate a contact to another account
From the contact: open the record, find the Related Accounts related list, choose Add Relationship, pick the account, set the role, and save. From the account: open the record, find Related Contacts, choose Add Relationship, and pick the contact.
Either direction creates the same AccountContactRelation record, so use whichever fits the way your team works.
Limitations worth knowing
- One primary account per contact: the Account Name field still holds a single value, and that relationship behaves differently from the indirect ones.
- Reporting takes thought: relationships live on AccountContactRelation, so standard account and contact reports will not show them without using the right report type.
- Bulk creation is not a UI job: adding relationships one at a time through Add Relationship does not scale. Salesforce's documented route for bulk creation is Data Loader against AccountContactRelation, which means an export, a spreadsheet, and an import.
- Deleting the contact: removing a contact removes its relationships, so think about your data retention before a cleanup.
- Enabling is the easy part: the real work is deciding what counts as a relationship worth recording, and getting the team to record it consistently.
Managing relationships at scale
The feature solves the data model. It does not solve the interface. Maintaining relationships through related lists means opening a record, adding a relationship, saving, and repeating, which is fine for a handful and painful for a hundred.
This is where a grid helps. Grids by RavenApps ships with a sample grid specifically for relating contacts to multiple accounts, so you can view every AccountContactRelation record alongside the account and contact details in one editable view, set or change roles inline, and update many relationships in a single save rather than record by record.
Because Grids supports multi-object views with nested queries, the same grid can show the contact, the accounts they are related to, and the role on each relationship together. Being a native Lightning Web Component, it respects the sharing rules and field-level security you already have, so users only see and edit the relationships they should.
Relationship-heavy data is where this pays off most. SwingSearch, an executive search firm, built grids showing investor relationships alongside associated jobs and job leads, tracking engagement history and linking records within a single dynamic interface rather than across several screens.
There is a short walkthrough of this on the RavenApps YouTube channel, and the sample grid ships in the package so you can try it without building anything.
A sensible rollout
- Enable it in a sandbox first and add the related lists to your layouts.
- Agree your roles picklist before anyone starts entering data, because retrofitting a role taxonomy across thousands of relationships is miserable.
- Migrate existing duplicates: find contacts duplicated across accounts, decide which record survives, and convert the rest into relationships.
- Give users a grid rather than a related list if they will maintain relationships regularly.
- Build the report type your team needs before go-live, so the data is visible from day one.
Useful Links
- Grids on the AppExchange
- How to Edit Related Lists in Salesforce
- How to Mass Update Records in Salesforce
- Book a Call
- RavenApps YouTube
Thank You
Thanks for reading. If you are setting this up and want to see the sample grid running against your own accounts and contacts, Book a Call or Contact Us.
40+ features to power up your workflows

