How to merge HubSpot contacts in Salesforce

How to merge without losing data or breaking the sync

If you merge contacts in Salesforce, will the corresponding HubSpot contacts merge automatically?

No, they won’t.

Salesforce might merge two records beautifully on its side, but HubSpot won’t touch its corresponding contacts unless you merge them manually.

This is why duplicate management becomes a real operational risk the moment the Salesforce integration is turned on. 

Even disciplined teams eventually end up with multiple versions of the same person floating around both CRMs.

The steps below walk you through the safest, most predictable way to merge records without breaking the sync or losing data.

How HubSpot identifies duplicate Salesforce contacts

First you need to understand how HubSpot treats Salesforce Leads and Contacts as the same object: the HubSpot Contact.

When Salesforce-synced contacts arrive in HubSpot, HubSpot deduplicates them by email address only for the Salesforce integration pathway.

It has other internal dedupe rules, but they do not apply to Salesforce records.

This means HubSpot will not compare:

  • Phone numbers
  • Names
  • Company matches
  • Salesforce duplicate rules
  • Custom matching logic

If two Salesforce records have different emails, HubSpot will never consider them duplicates.

How HubSpot chooses which Salesforce record to sync with

When a new contact enters HubSpot and matches multiple Salesforce records by email, Salesforce doesn’t guarantee the order those records return. 

HubSpot can attach itself to any matching record the first time a sync occurs.

After HubSpot is attached:

  • It keeps syncing with the Salesforce ID it linked to originally
  • Unless the sync relationship is reset
  • If reset and multiple Salesforce records still share the same email, HubSpot may attach to the most recently updated Salesforce record

This is why your master record in Salesforce must always be the one HubSpot already syncs with.

The correct way to merge leads or contacts in Salesforce

Follow this exact flow to avoid sync breakage or accidental data loss:

Step 1: Identify duplicates in Salesforce

Pull up the leads or contacts you plan to merge.

Step 2: Open the matching record(s) in HubSpot

Each Salesforce record should have a linked HubSpot contact.

Confirm the associations.

Step 3: Confirm which Salesforce ID HubSpot is linked to

Use that Salesforce record as the master.

Step 4: Perform the merge in Salesforce

Merge the non-master record into the HubSpot-linked master.

 If you choose the wrong record as master, you’ll likely get the classic HubSpot sync error:

“This contact is no longer syncing with Salesforce.”

What happens in HubSpot after a Salesforce merge

Before anything else, check your deletion settings.

Go to: Settings → Integrations → Connected Apps → Salesforce → Sync Settings → Salesforce → HubSpot

Find the option: “Delete the contact in HubSpot when deleted in Salesforce.”

If this is ON, then:

  • Salesforce will delete the merged-out record.
  • HubSpot will also delete the matched HubSpot contact.
  • You may lose email engagement, page views, and submission history unless you merge in HubSpot first.

HubSpot’s sync cycles run roughly every 10–15 minutes, so cleanup happens fast.

How to merge contacts in HubSpot (after merging in Salesforce)

Once Salesforce finishes the merge:

  1. Open the master HubSpot contact
  2. Click Actions → Merge
  3. Search for the merged-out record
  4. Merge to preserve form activity, email engagement, and web history

If you accidentally chose the wrong master in Salesforce and HubSpot stops syncing, use Resync to re-establish the relationship. 

What if the Salesforce records have different emails?

HubSpot will not merge them automatically.

Email must match for dedupe to fire.

You have two safe options:

1. Merge manually inside HubSpot

Do this when the secondary HubSpot contact contains valuable activity.

2. Let HubSpot delete the record automatically

Only if:

  • The secondary record has no relevant history
  • Your deletion settings allow Salesforce to remove HubSpot contacts

Need help cleaning up duplicates the safe way?

Managing duplicates across Salesforce and HubSpot is tricky because each system uses different logic. 

If you need help cleaning up your database or designing a safe deduplication process, our team specializes in the HubSpot Salesforce integration and can support you.

Book a call with us today. 

Guides

Don't miss these

Get started with revblack today

Ready to see these results for your business?

Fill out form