English · IndiaLog in
Rackwave Technologies
Request quote Free consultation
SalesforceUpdated 21 Nov 2026

Salesforce Duplicate Rules

Duplicate rules detect when a user is about to create or edit a record that closely matches an existing one, based on matching rules you define, and can either block the save, warn the user, or simply log it.

Written by Priya Sharma
  • Published31 Jan 2026
  • Read time2 min
  • Length253 words
Share this guide

What Is Duplicate Rules?

Duplicate rules detect when a user is about to create or edit a record that closely matches an existing one, based on matching rules you define, and can either block the save, warn the user, or simply log it.


Why It Matters

Duplicate records are one of the most common data quality problems in any CRM -- two reps creating the same lead independently, or a contact re-entered with a slightly different email format. Left unchecked, duplicates fragment activity history and skew reporting.


How to Set It Up

  1. First create a matching rule (Setup -> Duplicate Rules -> Matching Rules) that defines what counts as a likely duplicate -- exact match on email, fuzzy match on name, etc.

  2. Activate the matching rule once it's configured and tested.

  3. Create the duplicate rule itself, selecting the matching rule to use and the object it applies to.

  4. Choose the action: Block prevents the save entirely, Allow with alert lets the user proceed but warns them, and you can scope this differently for different user profiles.

  5. Activate the duplicate rule and test by attempting to create an intentional near-duplicate record.


Common Mistakes to Avoid

Setting every duplicate rule to Block without an override path frustrates users in genuinely valid edge cases (two different people who happen to share a name and company). Most mature implementations use Allow with alert for borderline matches and reserve Block only for exact-match scenarios like duplicate email addresses.


Next Step

👉 Read: Salesforce Data Migration Services

Read next: Salesforce Agentforce: What It Is and How It Works · Salesforce Integration: Patterns, APIs and Best Practices · Salesforce Apex: What It Is, Triggers, Limits and Best Practices

Was this guide helpful?Your answer helps us decide what to improve. It is not linked to you.
About the author

Priya Sharma

Senior Salesforce Consultant

Priya has spent over eight years implementing and administering Salesforce for mid-market and enterprise clients, with particular depth in data model design, security architecture, and Flow-based automation.

Salesforce Administration & Architecture

Ready to put AI and data to work?

Book a free consultation and leave with a plan, not a pitch.

Get a free consultationRequest quote