The Salesforce Data Import Wizard is a native tool that lets you quickly import records like Leads, Contacts, Accounts, and other standard objects from CSV files into your org. It’s designed for small- to medium-sized imports (up to 50,000 records per session) and handles basic field mapping and deduplication automatically. Before starting, ensure you have a CSV file with correctly formatted data, appropriate user permissions (like ‘Import Personal Library’ and ‘Import Leads’), and that the target objects are enabled for import in your org’s settings.
What You’ll Need
- A CSV file with headers matching Salesforce field API names or labels (e.g., “FirstName”, “LastName”, “Email”)
- CSV file size under 50,000 rows per import session
- User profile with required permissions: typically ‘Import Personal Library’, ‘Import Leads’, and object-specific create/edit permissions
- Access to Salesforce Classic or Lightning Experience (steps differ slightly)
- For deduplication: a unique identifier like Email or External ID field populated in your CSV
Step-by-Step
- Prepare your CSV file: Open your data in Excel or Google Sheets, ensure column headers match Salesforce field names exactly (e.g., use “Email” not “Email Address”), remove blank rows, and save as a UTF-8 encoded CSV. Avoid special characters (like commas or quotes) in values unless properly escaped with double quotes.
- Navigate to the Data Import Wizard: In Lightning Experience, click the App Launcher (nine-dot icon), type “Data Import Wizard”, and select it. In Salesforce Classic, go to the ‘Tools’ menu > ‘Data Import Wizard’.
- Choose the record type: On the first screen, select the object you want to import (e.g., Leads, Contacts, Accounts, Opportunities, or Custom Objects). If your org uses Person Accounts, select ‘Person Accounts’ separately.
- Upload your CSV file: Click the ‘Choose File’ button, browse to your CSV, and open it. The wizard will validate the file structure and preview the first few rows.
- Map your fields: Review the automatic field mapping. For each column in your CSV, ensure the correct Salesforce field is selected (e.g., column “Email” → “Email” field). Click ‘Edit’ next to any mapping to change it. For lookup fields (like Account), ensure the value exists or use an External ID if configured.
- Set duplicates handling: Under ‘Duplicate Handling’, choose whether to skip duplicates, allow them, or stop on duplicate. If skipping, select a matching rule (e.g., ‘Lead Duplicate Rule’). This prevents overwriting existing records unintentionally.
- Run the import: Click ‘Next’, review your summary, then click ‘Start Import’. You’ll receive an import job ID and a confirmation email once complete.
- Check results: After completion, click ‘View Results’ or go to Setup > Data Import History to see success/failure counts. Download the error report to fix and re-import failed rows.
Common Mistakes
Many users skip verifying field name alignment between their CSV and Salesforce—this causes silent failures or blank fields. Another frequent error is importing more than 50,000 records in one file. The wizard will reject oversized files, so split large datasets into chunks. Users also forget to include required fields (like Account Name for Contacts), leading to partial failures. Additionally, using commas inside unquoted text values (e.g., “Sales, Marketing”) corrupts the CSV structure, so always wrap such entries in double quotes. Finally, not selecting a matching rule during deduplication can result in duplicate records being created unnecessarily.
Tips
Always run a test import with 5–10 rows first to validate mapping and permissions before committing a full batch. Use External ID fields for reliable deduplication across systems—create a unique column like “Customer_ID__c” in Salesforce and map it consistently. If you’re importing Opportunities, ensure Stage is populated with valid values from your picklist, or the record will fail. For time-sensitive imports (e.g., campaign members), check that related records (like Campaigns) exist first. Lastly, keep a backup of your CSV before each import—mistakes are easier to recover from if you can revert to the original file.
Troubleshooting
If the import fails with a ‘File too large’ error, reduce your CSV to under 50,000 rows and try again. For ‘Field not found’ errors, double-check header spelling and casing—Salesforce is case-sensitive for API names in some contexts, though label mapping is more forgiving. If records fail silently (e.g., only 80% imported), download the error report: it lists each failed row with a reason like ‘required field missing’ or ‘invalid picklist value’. If you see ‘Duplicate External ID’ errors, ensure your External ID values are unique across the import set. If the wizard won’t start, verify your user profile has the ‘Import Personal Library’ permission—contact your admin if needed. For persistent issues, try clearing browser cache or switching to a different browser (Chrome or Firefox are most reliable). In Lightning, ensure you’re not using a custom app that restricts access to Setup tools.
Frequently Asked Questions
Can I import data into custom objects?
Yes—any custom object with the ‘Allow Reports’, ‘Allow Chatter Field Tracking’, and ‘Allow Data Import’ checkboxes enabled in its settings can be imported. Your user must also have create/edit permissions on that object.
What happens if I import the same file twice?
It depends on your duplicate handling setting. If set to ‘Skip Duplicates’ and your matching rule finds matches, the wizard will skip existing records and only create new ones. If set to ‘Allow Duplicates’, it will create duplicate records. Always verify your matching rule before re-importing.
Can I import files larger than 50,000 records?
No—the Data Import Wizard has a hard 50,000-record limit per session. For larger imports, split your CSV into multiple files or use Salesforce Data Loader (for up to 5 million records) or the Bulk API.
Why are some fields empty after import?
Common causes include: column headers not matching Salesforce field names (check for extra spaces or symbols), required fields missing, or picklist values not matching your org’s active values (e.g., importing “Active” instead of “Active – Current”). Review the error report for clues.
Does the wizard support date formats?
Yes—but only specific formats: MM/DD/YYYY or YYYY-MM-DD (ISO 8601). Avoid regional formats like DD/MM/YYYY unless your browser and org locale match; otherwise dates may convert incorrectly (e.g., 03/04/2024 could become April 3 instead of March 4).
Can I undo an import?
No, Salesforce does not support undoing imports. If you import incorrect data, use the ‘Delete Records’ feature in Data Import Wizard (for Leads only) or manually delete and re-import. For critical errors, restore from a backup or use the Recycle Bin for soft-deleted records (within 15 days).