---
schema_version: "1"
id: d278fab59cbaef55555f21f0cec454d9e52e84f81f97e3a2f65c55c86eeadd34
title: Disable Matching Rules
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/sfdo/264-0-0/eda_disable_matching_rules.md
canonical_url: https://help.salesforce.com/s/articleView?id=sfdo.eda_disable_matching_rules.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f057f1892269820773d8c675744cc998a62d921b34425d85fdd10e32302acf0b
description: Learn why you receive a "Duplicates Detected" error when inserting records and how to prevent it.
products:
  - Education
release: "264"
---
# Disable Matching Rules

Learn why you receive a "Duplicates Detected" error when inserting records and how to prevent it.

When importing or restoring data to Salesforce you may see this error message:

```
Message: "Insert failed. First exception on row 1; first error: DUPLICATES_DETECTED, Duplicate Alert: []"
```

This error is caused by a Matching Rule. In the Salesforce Spring '16 release, Duplicate Management was added to help avoid duplicate records. If this rule is enabled, you will receive this error if duplicates are found when trying to insert records.

To disable Matching Rules in your Salesforce organization:

1. Log into your Salesforce account as the System Administrator.
2. Click ![Setup](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sfdo-education_data_architecture-264-0-0-production-enus/6bcf23e4-1d0f-4cd5-8405-b8e231f03ed0/resources-product/images/setup.png), then click **Setup**.
3. From Setup, enter Matching Rules in the Quick Find box, then click **Matching Rules**.
4. Click **Deactivate** next to the rule that needs to be disabled.
    
    ![Matching Rules setup page](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sfdo-education_data_architecture-264-0-0-production-enus/6bcf23e4-1d0f-4cd5-8405-b8e231f03ed0/education_data_architecture/images/eda_faq_deactivate_match_rules.png)
5. Click **OK**.

Salesforce sends you an email when the rule is successfully deactivated. You should no longer see the duplicate record error message when importing data into Salesforce.

For more information on Duplicate Management, see [Manage Duplicate Records](https://help.salesforce.com/articleview?id=managing_duplicates_overview.htm).