# Merging Salesforce contacts from different accounts | Dedupely

> Two Salesforce contacts for one person, each under a different account. When to merge, which account the contact keeps and what to check about portal users.

- URL: https://dedupe.ly/blog/salesforce/merge-salesforce-contacts-different-accounts
- Section: blog
- Published: 2026-11-16
- Site index: https://dedupe.ly/llms.txt
- Any page: append `.md` to its URL for this plain-text form

---

Skip to content
[New Dedupely Intelligence Now on every paid plan, monthly or yearly.](https://dedupe.ly/ai-deduplication)
[Blog](https://dedupe.ly/blog)
[Salesforce](https://dedupe.ly/blog/salesforce)

## Merging Salesforce contacts from different accounts

By
[Gaby Salinas](https://www.linkedin.com/in/gbyslns)
Updated November 16, 2026
#
min read
TL;DR
- In Lightning Experience, Salesforce merges contacts with different accounts.
- The exception is a contact associated with a portal user.
- The merged contact keeps one account, so choose the master with that in mind.
- If the accounts are duplicates themselves, merge the accounts first.
- Dedupely merges Salesforce contacts through Salesforce's own merge, with Merge Rules to choose the master.
The same person appears twice in Salesforce: once under "Acme Corp", once under "Acme Holdings". Can you merge them, and where does the merged contact end up? Salesforce allows it in most cases, but the account the contact keeps depends on choices you make before merging.

### What Salesforce allows

| Situation | Can you merge? |
| --- | --- |
| Contacts under different accounts, in Lightning Experience | Yes |
| The same, in Salesforce Classic | No: contacts must share the same account |
| One of the contacts is associated with a portal user | Not across accounts: move the contacts to one account first |
Salesforce's help says you can merge contacts that have different primary accounts unless the contact is associated with a portal user, and that Classic only merges contacts with the same account. For portal contacts, its guidance is to move the contacts into one account, then merge.

### Which account the contact keeps

A contact has one primary account, so the merged contact keeps one. Choose the master record, or the account value during the merge, deliberately:
- **Job change:** keep the current employer.
- **Duplicate accounts:** merge the accounts first, then the contacts end up under one.
- **Parent and subsidiary:** keep the account the person works for.
- **Contacts related to several accounts:** if your org uses Contacts to Multiple Accounts, the other relationship can stay as an indirect one.
Example
Say Anna Kowalski is under "Acme Corp" from a 2023 import and under "Acme Holdings" from a recent form. If Acme Corp and Acme Holdings are the same company entered twice, merge the accounts first, then merge the two Annas under one account. If they're a parent and its subsidiary, keep Anna under the one she works for.

### What else changes

- **Contact roles** on opportunities: the non-master contacts lose primary status on their contact roles.
- **Related records** like activities and cases move to the merged contact.
- **Created By and Created Date** come from the oldest record.
- **The non-master contacts** go to the Recycle Bin for 15 days.
Pro tip
Before merging contacts across accounts, check open opportunities on both accounts. A contact who's the decision maker on one account's deal should stay visible there after the merge.

### How Dedupely merges contacts across accounts

Dedupely merges Salesforce contacts through Salesforce's own merge, so Salesforce's rules apply, including the ones for portal users. The master record keeps its ID, and blank fields never overwrite existing data. Merge Rules decide which contact is the master and which value wins in each field, for example a Primary Record rule that prefers the most recently updated record. Duplicate accounts can be merged first in a separate search, and Merge History keeps every original record's values.
[Merge Salesforce contacts under the right account](https://v2.app.dedupe.ly/signup)

### Decide the account first

Salesforce merges contacts across accounts in Lightning Experience, except for contacts with portal users. The merged contact keeps one account, so merge duplicate accounts first, choose the account the person belongs to, and check contact roles on open opportunities.

### Frequently asked questions

#### Can you merge Salesforce contacts that belong to different accounts?

Yes, in Lightning Experience, unless a contact is associated with a portal user. Classic requires the same account.

#### Which account does the merged contact keep?

One account, from the master record or the value you choose during the merge.

#### What if the two accounts are duplicates?

Merge the accounts first. The contacts then end up under one account.

#### What happens to contact roles on opportunities?

Non-master contacts lose primary status on their contact roles, so check open opportunities after the merge.

#### How do I merge portal contacts under different accounts?

Move the contacts into one account first, then merge them.
Behind the article

### Gaby Salinas

Marketing Assistant at Dedupely
Gaby Salinas came to CRM data from marketing and advertising, so she looks at duplicates from two sides: the match and merge logic behind them, and what they do to the people using the CRM, like the rep who calls a customer twice, the admin who gets blamed and the cleanup nobody wants to start.
As Marketing Assistant at Dedupely, she follows how RevOps teams, end users, consultants and technical teams actually work with their data: the records they stop trusting, the workarounds they build and the moment they finally decide to clean up. What she finds shapes most of what Dedupely publishes.
[Connect with Gaby on LinkedIn](https://www.linkedin.com/in/gbyslns)

### Contact us

We’d be happy to help you get this set up.

#### Write us a message

We probably know the answer to your question already
help@dedupe.ly
Email copied to your clipboard!
[Book a Zoom Whether you’re getting started or getting intense. Get in touch! Book a zoom](https://meetings.dedupe.ly/meetings/gaby-salinas/dedupely-zoom-scheduler)

### Discover Related Blog Posts

Stay updated with our latest articles and insights.
- [Salesforce Duplicate accounts in Salesforce and how to merge them Salesforce merges up to three accounts at a time. See how duplicate accounts form, what a merged account keeps and how to choose the principal account. Gaby Salinas October 19, 2026](https://dedupe.ly/blog/salesforce/salesforce-duplicate-accounts)
- [CRM Organization When a contact changes jobs, is it a duplicate? When a contact changes jobs, merging the old and new records keeps the context. Account-based and person-based teams differ in which values win. Gaby Salinas October 19, 2026](https://dedupe.ly/blog/crm-organization/contact-job-change-duplicates)
- [CRM Organization Is a person with several roles a duplicate record? A customer who's also a job applicant, or an advisor at two companies: one record or two? How to decide, case by case, and keep intended pairs apart. Gaby Salinas October 19, 2026](https://dedupe.ly/blog/crm-organization/one-person-several-roles-duplicate)

### Get started for free

20 free trial merges and as much free support as you need to get your duplicates under control.
[Try for free](https://v2.app.dedupe.ly/signup) [Talk to sales](https://meetings.dedupe.ly/meetings/gaby-salinas/talk-to-sales)
[Or sign up with Google](https://v2.app.dedupe.ly/signup/google)
Running CRM cleanup for clients? [See the Partner Program](https://dedupe.ly/become-a-partner)
