Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Data Quality
Things to Know About Matching Rules

Things to Know About Matching Rules

Find out how matching rules work, review what to know when you customize matching rules, and look at some examples to get started. Or go further: Do a deep-dive on matching criteria, methods, algorithms, match keys, and normalization criteria.

Required Editions

Available in: Lightning Experience and Salesforce Classic
Available in: Essentials, Professional, Enterprise, Performance, Unlimited, and Developer Editions
  • Things to Know Before You Customize Matching Rules
    Review considerations for customizing matching rules.
  • Matching Rule Examples
    Review these examples to understand how records are compared and evaluated as duplicates.
  • Matching Criteria in Matching Rules
    A matching rule applies criteria to determine how closely a field on a new or edited record matches the same field on an existing record. Standard matching rules include predefined criteria. When you create a custom matching rule, you define the criteria.
  • Matching Methods Used in Matching Rules
    The matching method determines how a specific field in a record is compared to the same field in another record. Each matching method is defined by normalization criteria, match key definitions, and matching algorithms.
  • Matching Algorithms Used with Matching Methods
    The matching method and its corresponding matching algorithms are part of the matching rule’s matching criteria. They help determine how a specific field in one record is compared to the same field in another record and whether the fields are considered matches.
  • How Match Keys Are Generated and Used in Matching Rules
    When a matching rule runs, it applies one or more match key formulas before applying a comprehensive matching equation. Match keys help to increase the performance of duplicate rules through a preliminary comparison that narrows the matches to the 100 most likely duplicate records. Then the rule applies the matching equation only to those likely matches.
  • Normalization Criteria for Match Keys
    As part of the process of creating match key values, matching rule field values are normalized. How a field value is normalized depends on several factors, including the matching method for that field as specified in the matching rule. In addition, some commonly used fields are normalized to optimize duplicate detection.
 
Loading
Salesforce Help | Article