How the switch works
Your domain's MX records decide where incoming email is delivered. Moving to a new provider comes down to changing those records, and everything else in this guide is about making that change safe:
- Incoming mail follows the MX records. Until every sender's cached copy of the old MX records expires, some mail still goes to the old provider.
- Outgoing mail must pass SPF, DKIM and DMARC from the new provider before people start sending from it, or it will land in spam or be rejected.
- Mailbox content (old messages, contacts, calendars) is moved separately, with the new provider's migration tools.
The examples use example.com; replace it with your domain.
Before you start: take stock
Write down what you have now. It takes ten minutes and prevents most surprises:
- Current DNS records: MX, SPF, DKIM selectors, DMARC, and any
autodiscover,_mta-stsor_smtp._tlsrecords. Run the All Records, SPF, DKIM and DMARC checks and save the results. - Every address: mailboxes, aliases, shared mailboxes, distribution lists and forwarding rules.
- Everything else that sends mail as your domain: website forms, scanners, CRM, billing and newsletter tools. These usually keep working, but some send through your old provider's servers and need reconfiguring.
- Where your DNS is hosted. Changing email providers doesn't require moving DNS, and it's best not to do both at once.
A day or two before: lower the MX TTL
Lower the TTL on your MX records to 300 seconds (five minutes). Do this at least one current-TTL in advance: if the MX TTL is a day, change it a day before the switch. Once the old TTL has passed, every cached copy expires within five minutes of your change. DNS TTL and propagation explained covers why.
Set up the new provider (before switching MX)
- Add and verify your domain with the new provider. Verification is usually a TXT record. It doesn't affect mail flow.
- Create the mailboxes, aliases and groups to match your list.
- Start migrating old mail with the provider's migration tool, if you're bringing history across. Most can run a first pass now and a final top-up after the switch.
- Set up DKIM for your domain at the new provider: publish the records it gives you and turn signing on. New DKIM selectors can sit alongside the old provider's, so this is safe to do early. Provider guides: Microsoft 365, Google Workspace.
- Update SPF so both providers are allowed during the transition: add the new provider's include to your existing record rather than replacing it.
Before: v=spf1 include:old-provider.example ~all
Transition: v=spf1 include:old-provider.example include:new-provider.example ~all
Check that the combined record stays within SPF's 10 DNS lookups with the SPF checker; see fixing too many DNS lookups if it doesn't.
Test before the switch. Most providers let you send from the new mailboxes before the MX records change. Send a message to an outside address, such as a personal Gmail account, and check its headers in the header analyzer: SPF or DKIM should pass for your domain, and DMARC should pass.
Switch day: change the MX records
- Replace the old MX records with the new provider's. Remove the old ones in the same change rather than keeping a mix: senders choose MX hosts by preference, and a leftover record can send some mail to the old provider for as long as it exists.
- Watch the change with the propagation checker (choose MX as the record type) and the MX lookup.
- Keep the old mailboxes running. For a while, senders with cached records still deliver to the old provider. Keep those accounts active and check them, or set up forwarding to the new mailboxes, for at least a few days.
- Send test messages in from outside addresses and confirm they arrive at the new provider.
- Update mail apps and devices to the new provider's settings: phones, Outlook profiles, scanners, website forms and apps that send through SMTP.
After the switch: clean up
Once mail has been arriving only at the new provider for a few days:
- Run the final migration pass to bring across anything that arrived at the old mailboxes.
- Remove the old provider from SPF, if nothing else still sends through it:
After: v=spf1 include:new-provider.example ~all
- Remove the old provider's DKIM records once no mail is being signed with them.
- Update or remove provider-specific records, such as
autodiscoverfor Microsoft 365 and any verification records you no longer need. - Raise the MX TTL back to your usual value, such as an hour.
- Watch your DMARC reports for a week or two: the new provider should appear as passing, and the old one should fade out. See how to read DMARC reports.
- Close the old account only when you're sure nothing depends on it.
Things that are easy to forget
MTA-STS
If your domain publishes an MTA-STS policy, it lists the MX hosts senders may deliver to. Senders that enforce it refuse to deliver to a server that isn't on the list. Before switching, put the policy into testing mode or add the new MX hosts to it, and update the policy ID in the _mta-sts TXT record so senders fetch the new version. The MTA-STS check shows your current policy.
DMARC at quarantine or reject
If your DMARC policy is already enforcing, mail from the new provider must pass from the very first message, which is why DKIM and SPF come before the switch. There's no need to weaken the policy if you've tested; if you're unsure, test mode (t=y) softens it at receivers that support the 2026 DMARC standard, while you check the reports.
Devices and apps that send directly
Scanners, line-of-business apps and websites that sent mail through the old provider's SMTP server will fail once those credentials are closed. Point them at the new provider's sending service, and make sure their mail passes SPF or DKIM.
DNSSEC and DANE
If the domain uses DNSSEC with DANE (TLSA records) for its mail servers, those records name the old servers' certificates. Follow the new provider's instructions for its TLSA records, and remove the old ones after the switch.
A typical timeline
| When | What |
|---|---|
| A week before | Take stock; add and verify the domain at the new provider; create mailboxes; start migrating |
| Two days before | Lower MX TTL to 300; set up DKIM; add the new provider to SPF; test sending |
| Switch day | Replace MX records; watch propagation; test incoming mail; update devices |
| Following days | Keep checking the old mailboxes; final migration pass |
| A week or two after | Remove the old provider from SPF and DKIM; raise MX TTL; review DMARC reports; close the old account |
Frequently asked questions
Will I lose email during the switch?
Not if the old mailboxes stay active while caches expire. Mail sent to the old provider during that window arrives there; check those mailboxes or forward them, and run a final migration pass. Senders also retry if a server is temporarily unavailable.
How long does an MX change take?
Up to the old MX TTL. If you lowered it to five minutes well in advance, most senders follow the new records within minutes. A few may take longer, which is why the old mailboxes should stay active for a few days.
Should I keep the old MX records as a backup?
No. Mixed MX records split incoming mail between the two providers unpredictably. Switch them all at once.
Can I move my DNS hosting at the same time?
You can, but it's safer not to. Changing nameservers takes longer to settle than an MX change, and doing both at once makes problems harder to diagnose. Move one, confirm it's working, then the other.
Do I need to change my DMARC record?
Usually not: DMARC describes your domain, not your provider. You may need to update the report address if it was a mailbox at the old provider, and make sure the new provider passes SPF or DKIM before you switch.