ClickMigrate is coming soon. Sign up for early access and get 20% off one order.Get early access

ClickMigrate

How to change MX records when you switch email providers

Changing the MX record is the moment your email switches to the new provider. Here’s what to change, where to find it at the common registrars, and how to check it worked.

By The ClickMigrate team. Last reviewed November 30, 2026.

What you’re changing

An MX record tells the internet which server accepts email for your domain. Switching providers means replacing the old MX records with the new provider’s. You’ll usually also update:

  • SPF (a TXT record starting v=spf1): lists who’s allowed to send mail for your domain.
  • DKIM (TXT or CNAME records): lets receivers check your mail wasn’t forged.
  • Autodiscover (Microsoft 365, a CNAME): helps Outlook set itself up.

Your new provider’s admin console shows the exact values to use for your domain.

The values you’ll typically see

Provider MX record
Microsoft 365 yourdomain-com.mail.protection.outlook.com (priority 0). Copy the exact value from the Microsoft 365 admin center.
Google Workspace smtp.google.com (priority 1). Older setups use five aspmx records, which also still work.

Before you change anything

  1. Lower the TTL on the existing MX records to 300 seconds, at least a day ahead.
  2. Finish the initial copy of every mailbox.
  3. Find where your DNS is hosted. It’s not always where you bought the domain. The MX record checker shows your current mail provider, and your registrar shows which nameservers the domain uses.

Where to find MX records

Menu names change from time to time, but these are the usual places.

GoDaddy

Sign in, open My Products, choose DNS next to the domain, and find the MX rows in the DNS records table. Edit or delete the existing MX records and add the new ones. If you have Microsoft 365 from GoDaddy, GoDaddy may manage these records for you.

Cloudflare

Open the domain in the Cloudflare dashboard, then DNS, then Records. Edit the MX records. MX records aren’t proxied, so there’s no orange cloud to worry about.

Namecheap

Domain List, then Manage next to the domain, then Advanced DNS. Under Mail Settings, choose Custom MX and enter the new records.

Squarespace Domains (formerly Google Domains)

Open the domain, then DNS, then DNS Settings. Under custom records, replace the MX entries. Squarespace offers presets for Google Workspace.

IONOS

Domains & SSL, choose the domain, then DNS. Edit the MX records. IONOS may ask you to switch off its own mail settings for the domain first.

cPanel

Zone Editor, then Manage next to the domain. Edit or delete the MX records and add the new ones. Then go to Email Routing and choose Remote Mail Exchanger, so the server stops delivering your domain’s mail locally (including mail sent by your own website).

After the change

  1. Check with the MX record checker until it shows the new provider.
  2. Send a test message from an outside account, such as a personal Gmail, and confirm it arrives in the new mailbox.
  3. Once the old TTL has passed, run the final migration pass to collect anything that arrived in the old mailboxes.

Questions people ask

How long does an MX record change take?

As long as the old record’s TTL: often an hour, sometimes up to 24 hours. Lowering the TTL to 300 seconds a day ahead makes the switch take minutes.

Will changing MX records affect my website?

No. MX records only control where email is delivered. Your website uses different records (A, AAAA or CNAME), which you don’t touch.

Do I delete the old MX records?

Yes. Leave only the new provider’s MX records. If the old ones stay, some mail will keep going to the old server.