Email Migration to Cloud: Step-by-Step Guide
In this article
Moving email to the cloud means copying your existing mail, contacts and calendars from a local server or desktop client into a hosted service such as Microsoft 365 or Google Workspace, then pointing your domain's mail records at the new provider. The shortest working path is: inventory every mailbox, create matching accounts in the cloud, copy the data with the provider's own migration tool, switch the domain's mail records, and keep the old system read-only for a short overlap period. Do not delete anything on the old side until you have verified that new mail is arriving and old mail is readable in the cloud.
What You'll Need
- Administrator access to the current mail system (server console, hosting panel or admin portal) and to the cloud tenant.
- A full list of mailboxes, aliases, shared mailboxes, distribution groups and resource calendars, with current storage sizes.
- Admin credentials or app passwords for each mailbox being migrated, or a service account with impersonation rights if the migration tool supports it.
- Access to your domain registrar or DNS host to change MX, SPF, DKIM and DMARC records.
- Enough cloud storage to hold every mailbox plus headroom for growth.
- A maintenance window and a way to tell users what will change and when.
Step-by-Step
- Inventory before you touch anything. Export a list of every mailbox, its size, aliases, forwarding rules and shared mailboxes. Note any mailbox over the cloud plan's per-user storage limit so you can archive or buy extra storage first. Record which users have delegates and shared calendar permissions, because these often do not migrate automatically.
- Create the cloud accounts. Add your domain to the cloud service and create one user per mailbox, matching the existing email addresses exactly. Create shared mailboxes and groups separately. Do not change MX records yet, or new mail will start flowing to empty cloud mailboxes before the old data has been copied.
- Verify domain ownership. The provider will give you a TXT record to add at your DNS host. Add it, wait for it to propagate, then confirm verification in the admin console. Labels and menu names differ slightly between providers and app versions, so follow the exact record values shown in your console rather than copying a guide.
- Run a test migration on one small mailbox. Use the provider's built-in migration tool (for example the Microsoft 365 admin center's migration section, or Google Workspace's data import tool) to copy a single low-risk mailbox. Check that the inbox, sent items, subfolders, attachments and calendar events all arrived. This surfaces credential or throttling problems before you commit to the full batch.
- Start the full migration. Queue all mailboxes in the migration tool and let it run. Large mailboxes can take hours or days depending on size and the provider's throttling limits, so start early and monitor progress. Keep the old server running and receiving mail throughout.
- Do a second pass for delta items. Most migration tools can re-sync a mailbox to pick up mail that arrived after the first copy. Run this pass close to the switchover so the gap is small.
- Switch the MX records. Change the MX records at your DNS host to the values the cloud provider specifies. Lower the TTL on your existing MX records a day or two beforehand so the change propagates quickly. Add or update SPF, DKIM and DMARC records at the same time to keep deliverability intact.
- Confirm mail flow in both directions. Send test messages from an external account to each migrated address and from each migrated address outward. Check spam folders and the admin console's mail flow reports.
- Reconnect clients. On each phone and computer, remove the old account and add the new one using the provider's recommended settings (usually autodiscover or the provider's app). Recreate any local rules, signatures and shared calendar subscriptions.
- Keep the old system read-only for a short overlap. Leave the old server or host running but stop it accepting new mail once MX has switched. Keep it available for a week or two as a reference, then back it up and decommission it. Deleting the old mailboxes is irreversible, so take a full backup first.
Common Mistakes
- Changing MX records before the data copy finishes, so new mail lands in empty cloud mailboxes.
- Forgetting aliases, shared mailboxes and distribution groups, which usually need to be recreated manually.
- Migrating with a user's normal password when the provider requires an app password or OAuth, causing repeated authentication failures.
- Ignoring per-mailbox storage limits and having large mailboxes fail partway through.
- Skipping SPF, DKIM and DMARC updates, which can send legitimate mail to spam after the switch.
- Deleting the old mailboxes immediately, before anyone has confirmed the cloud copy is complete.
Tips
- Lower DNS TTLs at least a day before the switch so the MX change takes effect quickly.
- Migrate in batches by department so you can spot problems early without blocking everyone.
- Tell users to expect a short period where old mail is read-only and new mail arrives in the cloud.
- Keep a written record of every DNS record before and after the change so you can roll back.
- Schedule the cutover outside peak hours and have the DNS login ready before you start.
Troubleshooting
If a mailbox fails to migrate, check the migration report first: the most common causes are wrong credentials, two-factor authentication blocking the connection, or the mailbox being too large. Fix the credential or app-password issue and re-run that mailbox only. If mail is not arriving after the MX switch, confirm the new MX values are live using a public DNS lookup tool, then check the provider's mail flow or quarantine report. If messages are going to spam, verify SPF, DKIM and DMARC are published and aligned with the new provider. If a client cannot connect, remove and re-add the account rather than editing server settings by hand. If the migration tool is throttled, pause and resume later rather than restarting from scratch.
Frequently Asked Questions
How long does an email migration take?
It depends on total mailbox size and the provider's throttling. Small accounts can finish in hours; large mailboxes can take days. Plan a maintenance window and run the copy in advance of the MX switch.
Will users lose email during the switch?
Not if you keep the old server receiving mail until MX changes and run a delta sync just before cutover. Mail sent during propagation may be delayed but is not normally lost.
Do I need to recreate shared mailboxes?
Usually yes. Shared mailboxes, distribution groups and resource calendars often have to be created in the cloud and their members re-added manually.
Can I migrate mailboxes without admin passwords?
Some tools support admin impersonation or OAuth, which avoids storing individual passwords. Otherwise you need an app password or delegated credentials per mailbox.
What happens to my old email after migration?
It stays on the old system until you delete it. Keep the old system read-only for a short period, take a backup, then decommission it.
Do I have to change DNS records myself?
Yes, unless your DNS is managed by the cloud provider. You or your DNS host must update MX, SPF, DKIM and DMARC records.