Quick answer
Salesforce data migration works best as nine steps in order: scope what moves, clean the source, build the target model, map fields and keep the legacy ID, load parents before children, prepare the org, rehearse in a sandbox, load in stages and reconcile before cutover. Pick the tool by volume: Data Import Wizard under 50,000 records, Data Loader up to 150 million, Bulk API 2.0 for large jobs.
Salesforce data migration is the work of moving records from a legacy CRM, spreadsheets or another Salesforce org into your org without losing relationships, history or user trust. This guide shows how to do data migration in Salesforce: which tool fits your volume, the nine steps we would run in order, who owns what and a checklist to pass before cutover.
It is written for US operations leaders, RevOps teams and Salesforce admins who are planning a move or fixing one that went wrong. Every product limit below links to the Salesforce page it came from. I am Ankur Pandey, a Salesforce Business Analyst at Ashapura Softech, and I wrote this the way I would brief a client before kickoff.
Table of Contents
Table of Contents
What Salesforce data migration includes
A complete Salesforce data migration is more than pressing import. It covers deciding what moves, cleaning it, mapping it to the Salesforce data model, loading it in the right order, proving it arrived intact and switching the business over. The load itself is often the shortest part.
The records at stake are usually accounts, contacts, leads, opportunities, cases, activities and attachments, plus the relationships between them. Losing a relationship (a contact that no longer points to its account) is the failure users notice first, so most of the plan below protects those links.
Which tool to use for Salesforce data migration
Pick the tool by record count and complexity before you pick anything else. Salesforce publishes clear thresholds in its Data Loader guide, and the table below pulls them together with the Bulk API 2.0 limits.
| Tool | Use it when (per Salesforce) | Limits to know |
|---|---|---|
| Data Import Wizard | You load fewer than 50,000 records, the object is supported, the target object has fewer than 50 fields and the mapping is simple. It can prevent duplicates by account name and site, contact email or lead email. | Lower volume only. Duplicate removal beyond those matches is manual prep, per the Trailhead unit on importing data. |
| Data Loader | You load an object the wizard does not support, need complex mappings you will repeat, want scheduled loads or need an export for backup. | CSV files up to 150,000,000 records. By default it uses the SOAP-based API; you can switch on Bulk API 2.0 in its settings. |
| Bulk API 2.0 | An operation includes more than 2,000 records, according to the Large Data Volumes guide. Smaller jobs fit synchronous REST or SOAP calls. | Salesforce splits your data into batches of 10,000 records and allows up to 150,000,000 records per rolling 24 hours, per the ingest guide. Keep each upload to 100 MB or less, because the 150 MB limit counts base64-encoded content, per the limits cheat sheet. |
| Partner or AppExchange tool | You are above 150 million records, or the source system needs transformation logic no CSV template can hold. | Salesforce itself recommends this route above 150 million records. |

One warning from the same Data Loader documentation: in Bulk API 2.0 mode you can hard delete records, and hard-deleted records skip the Recycle Bin and cannot be recovered. Keep that operation away from your migration reruns unless you are certain.
How to do data migration in Salesforce: 9 steps
Here is how to do data migration in Salesforce as nine steps in order. Each ends with the mistake we would most want you to avoid, and the four phases are summarized in the graphic after the steps.
Step 1: Scope what moves and who signs off
Start with a written list of objects, record counts and date ranges. Decide what stays behind in an archive. Every record you do not migrate is a record you do not have to clean, load or reconcile, so be strict. Name one business owner who signs off on counts at the end.
Mistake to avoid: migrating ten years of closed activity because nobody wanted to decide. Ask which history users will actually open.
Step 2: Profile and clean the source data
Salesforce’s own guidance on best practices with any data loader is blunt: clean your data before populating the template. The Large Data Volumes guide gives a practical reason. Errors in a Bulk API 2.0 batch trigger single-row processing for that batch, and that heavily hurts performance.
Profile each source table for duplicates, blank required fields, inconsistent picklist values and orphaned child rows. Write the cleaning rules down so the final run applies exactly what the rehearsals did.
Mistake to avoid: cleaning by hand in a spreadsheet. A scripted, repeatable clean lets you rerun it on the final extract.
Step 3: Build the target model first
Create the custom fields, record types, picklist values and any product or pricing structures before you load a single historical record, because that structure is the schema everything maps to. In our 120K-contact Salesforce CPQ migration case study, the catalog had to be fully built before any historical order import for exactly this reason.
Mistake to avoid: loading first and designing fields afterward. Rework on loaded data is the most expensive kind.
Step 4: Map fields and keep the legacy ID
Build a mapping sheet with one row per source field: target object, target field, transformation rule and owner. Store each source record’s original ID in a custom field on the Salesforce record. The Salesforce guidance suggests giving that field the External ID attribute so it is indexed.
That one field pays for itself three times: it lets child records find their parents, it makes reruns safe, and it lets you trace any record back to its origin when a user asks why a number looks wrong.
Mistake to avoid: mapping to the nearest-looking field and moving on. Ask a real user what the field means in the old system.
Want a second opinion on your migration scope?
Our free Salesforce Org Health Check reviews your data, automation and integrations before you commit to a plan. If you would rather hand the work over, see our Salesforce data migration services.
Step 5: Set the load order
Load parents before children. Salesforce’s data loader guidance gives the pattern: users first, then accounts, then opportunities. An older Salesforce engineering post on sequencing load operations (June 2013, so treat the tuning details as dated) makes the same point for master-detail relationships: load the parent, extract its new ID, then load the children that reference it.
A typical order is users and roles, accounts, contacts, opportunities and cases, then activities, notes and files. If your data includes products or pricing, those come before the records that reference them.
Mistake to avoid: loading contacts before accounts and patching the links afterward. It doubles the work and the error surface.
Step 6: Prepare the org for a bulk load
Salesforce’s Large Data Volumes guide says to disable Apex triggers, workflow rules and validations during loads, then process records after the load is complete, for example with batch Apex. It also suggests using Public Read/Write sharing during the initial load, or using the defer sharing calculation permission until all data is loaded.
Our addition: write down every automation you switch off and who switches it back on. Also review duplicate and matching rules, since a rule that blocks inserts will reject legacy duplicates you chose to keep.
Mistake to avoid: forgetting to re-enable automation. Put it on the cutover checklist with a named owner.
Step 7: Rehearse in a sandbox, starting with one record
Salesforce’s guidance is to load one record, check the results, then load all records. Do that first in a full or partial sandbox, then run a complete rehearsal with the cleaned extract and time it. The rehearsal tells you how long the final load takes and which errors you missed.
Ask two or three end users to open migrated records and check what they know well. They catch problems counts cannot, like a contact attached to the wrong account.
Mistake to avoid: treating the first rehearsal as the final run. Plan for at least two.
Step 8: Run the volume load
Choose the operation deliberately. The Large Data Volumes guide says insert is fastest, update is next and upsert is next after that, and suggests splitting an upsert into separate create and update operations where possible. When you update existing records, send only the fields that changed. To limit row-lock conflicts, group child records by ParentId so separate batches do not hit the same parent.
Watch for heavy recalculation. In our CPQ case study, a bulk import of 85,000 multi-line orders risked burning through the org’s daily API limit because every inserted line triggered pricing recalculation. We turned the calculation engine off for the import, then re-enabled it and recalculated in controlled daily batches of 1,000 to 2,000 orders over several weeks, verifying each batch before the next.
Mistake to avoid: one giant job with no checkpoints. Load in stages you can verify and, if needed, reverse by legacy ID.
Step 9: Reconcile, cut over and keep a rollback path
Reconcile before anyone is told the migration is done. For each object, compare source and target record counts, then compare totals on key numeric fields, then spot-check relationships on a sample. Record the results next to the signed-off scope from step 1.
Agree a freeze window in which the legacy system is read-only, run the final delta load, and keep the legacy system available until the business owner signs off. Because every Salesforce record carries its legacy ID, you can identify and remove a bad load by that ID rather than guessing.
Mistake to avoid: switching the old system off on cutover day. Keep it read-only until sign-off.

A real Salesforce data migration: 120K contacts and 85K orders
We migrated 120K contacts, 85K custom orders, 200K+ email activities and 40K support tickets for a home furnishings retailer, as described in our CPQ and Agentforce case study. Three decisions from that project apply to almost every Salesforce data migration: build the target catalog before loading history, control recalculation during bulk loads, and use a purpose-built script where the standard loader cannot carry the data. For the email history, a two-pass script first imported headers, timestamps and relationships, then attached the body content while preserving original send dates.
That project involved CPQ, which is a heavier case than a typical CRM move. Your scale and tooling will differ, so use it as an illustration of the planning, not a benchmark.
Who owns what in a Salesforce data migration
Most delays come from unclear ownership, not from tools. Assign each row below to a named person before kickoff.
| Role | Owns |
|---|---|
| Business sponsor | Scope, freeze window and final sign-off |
| Data owner or analyst | Cleaning rules, field mapping and reconciliation results |
| Salesforce admin | Target model, sandbox setup and load execution |
| Developer or integration lead | Scripts, transformations and error handling |
| End-user testers | Checking migrated records they know well |
This split is our recommended starting point, not a Salesforce standard. Smaller teams will combine roles, and that is fine as long as every row has an owner.
Salesforce data migration mistakes to avoid
- Migrating everything. Archive what users will not open.
- Skipping the legacy ID. Without it, reruns and rollbacks become guesswork.
- Loading children before parents. Relationships break and repairs cost more than the load.
- Leaving automation off. Triggers and validations disabled for the load must come back on.
- Running one rehearsal. The first rehearsal finds the errors; the second proves the fixes.
- Using hard delete casually. It bypasses the Recycle Bin.
Salesforce data migration checklist before cutover
Use this table as a final gate. If you cannot tick a row, the cutover date moves, not the row.
| Area | Done when |
|---|---|
| Scope | Objects, counts and date ranges signed off by the business owner |
| Cleaning | Scripted clean applied to the final extract; duplicates resolved |
| Mapping | Every source field mapped or deliberately dropped; legacy ID field in place |
| Rehearsal | At least two sandbox runs timed; errors fixed and rerun clean |
| Org settings | Automation and validations off for the load, with an owner to switch them back on |
| Reconciliation | Counts and key totals match per object; relationships spot-checked |
| Rollback | Legacy system read-only and available; bad loads removable by legacy ID |
| Users | Testers signed off on records they know; training complete |
When to bring in a Salesforce data migration partner
You can run a small Salesforce data migration in-house if you have an admin who has done a load before and a sponsor who decides quickly. Bring in help when you have several source systems, millions of records, relationships that need transformation, a hard cutover date or no time to rehearse twice.
Ashapura Softech delivers Salesforce data migration services for US teams, as part of wider Salesforce implementation services. If you are comparing vendors, our guide on how to choose a Salesforce implementation partner lists the questions to ask, and our Salesforce implementation checklist covers the wider go-live work around your data.
Where to start with your Salesforce data migration
Start with step 1 this week: list the objects, record counts and date ranges, and name the person who will sign off. That one page decides which tool you need and how long the rehearsals will take.
Planning a move to Salesforce?
Tell us your source systems and record counts and we will tell you plainly what the migration involves for your org.
Frequently asked questions
What is Salesforce data migration?
It is the process of moving data from a legacy CRM, spreadsheets or another Salesforce org into Salesforce: scoping, cleaning, mapping, loading, validating and cutting over, while keeping the relationships between records intact.
How do you do data migration in Salesforce?
Scope what moves, clean the source, build the target model, map fields and store the legacy ID, load parents before children, prepare the org, rehearse in a sandbox, run the load and reconcile before cutover. The nine steps above cover each stage.
Data Import Wizard or Data Loader: which should I use?
Salesforce points you to the Data Import Wizard for fewer than 50,000 records on a supported object with simple mappings. It points you to Data Loader for objects the wizard does not support, complex or repeated mappings, scheduled loads and volumes up to 150 million records.
How do you test a Salesforce data migration?
Load one record and check it, run a full rehearsal in a sandbox, compare record counts and key totals per object, spot-check relationships, and have end users review records they know. Repeat until a rehearsal runs clean.
How long does a Salesforce data migration take?
Salesforce does not publish a standard duration. It depends on record volume, data quality, the number of source systems and how many rehearsals you run. Ask for a scoped plan with dated milestones rather than a single headline number.
Can I undo a Salesforce data migration?
Only if you planned for it. Storing each record’s legacy ID lets you identify and remove a bad load, and keeping the old system read-only until sign-off gives you a fallback. Remember that hard-deleted records cannot be recovered from the Recycle Bin.
Last updated: December 4, 2026. Limits and product details come from the Salesforce pages linked above and can change, so confirm them with Salesforce before you plan.
About the author
Ankur Pandey, Salesforce Business Analyst at Ashapura Softech. He writes about Salesforce implementation, data and Agentforce for US buyers. Ready to scope your migration? Talk to our team.
