← All insights

How to Update Your MX Records (Without Losing Email)

Quick answer: How to update your MX records when you switch email providers, including Microsoft 365 and Google Workspace settings and how to test.

By Josh · 716 Co., Sumter, SC

Last reviewed: November 5, 2026

How to update your MX records | 716 Co.

Quick answer: To update your MX records, log in to wherever your domain’s DNS is managed, which is usually your domain registrar or web host. Delete or replace the old MX records, add the new ones your email provider gives you with the correct priority numbers, and save. Changes often work within an hour, but can take up to 48 hours.

MX records tell the internet where to deliver email for your domain. If you are switching to Microsoft 365, moving to Google Workspace or changing hosts, your MX records have to point to the new email service, or messages will keep going to the old one.

It is one of those jobs that looks scary but takes about ten minutes once you know where to click.

What MX records are

MX stands for mail exchange. Each MX record has two important parts:

  • The mail server, like yourdomain-com.mail.protection.outlook.com for Microsoft 365.
  • The priority, a number that tells senders which server to try first. Lower numbers go first.

Your email provider tells you exactly what to enter. You don’t need to come up with these yourself.

Before you start

  • Get the new records from your email provider. Microsoft 365 and Google Workspace both show them in their admin setup screens.
  • Write down your current MX records or take a screenshot, so you can switch back if something goes wrong.
  • Pick a quiet time, like an evening or weekend, so a delay doesn’t cost you an important email.
  • Make sure the new mailboxes already exist. Create your users first, then move the mail.

Step 1: Find where your DNS is managed

Your DNS isn’t always where you bought your domain. If your domain’s nameservers point to your web host, you will edit DNS at the host. If they point to your registrar, you will edit it there. Your registrar account will show the current nameservers. Not sure? Our post on who owns your website explains how domains, hosting and DNS fit together.

Step 2: Open the DNS settings

Log in and find the DNS area for your domain. It is often called DNS Management, DNS Zone Editor or Manage DNS. In cPanel, it is Zone Editor in the Domains section.

Step 3: Replace the old MX records

  1. Find the existing records with the type MX.
  2. Delete them, or edit them to the new values. Leaving old MX records in place can send some of your email to the old server.
  3. Add each new MX record exactly as your email provider lists it, including the priority number.
  4. If you are asked for a TTL, one hour is a good choice.
  5. Save your changes.

Common MX settings

  • Microsoft 365: one MX record that looks like yourdomain-com.mail.protection.outlook.com, with priority 0. Your exact value is shown in the Microsoft 365 admin center under domain setup.
  • Google Workspace: one MX record, smtp.google.com, with priority 1.

Always use the exact values from your own admin screen, since they can be specific to your account.

Step 4: Update the other email records

MX records get email to you. A few other DNS records help the email you send reach other people’s inboxes instead of spam:

  • SPF: a TXT record listing which services may send email for your domain.
  • DKIM: a signature that proves your email wasn’t changed along the way.
  • DMARC: a policy that tells other servers what to do with email that fails those checks.

Your email provider gives you all three. Big email services like Gmail and Yahoo now expect them, especially if you send newsletters.

Step 5: Test it

  1. Wait a little while for the change to spread. It often works within an hour, but can take up to 48 hours.
  2. Send an email from an outside account, like a personal Gmail, to your business address.
  3. Reply to it, so you know sending works too.
  4. Use a free MX lookup tool, like MxToolbox, to confirm the new records show up.

Good to know

  • Changing MX records doesn’t move your old emails. Moving old messages to the new service is a separate step.
  • Phones and email apps may need to be set up again with the new account.
  • Don’t delete your old email account right away. Give it a few days to catch any stragglers.

Want us to handle it?

We set up Microsoft 365 business email and handle the DNS changes for you as part of our hosting, domains and email services, so nothing falls through the cracks.

MX records: common questions

How long does it take for MX record changes to work?

Often within an hour, but it can take up to 48 hours for the change to reach every server on the internet.

Will I lose emails when I change MX records?

Usually not. Most email keeps flowing to either the old or new server during the switch. To be safe, make the change at a quiet time and keep your old account open for a few days.

What does MX record priority mean?

It tells sending servers which mail server to try first. Lower numbers are tried first. If you only have one MX record, the number doesn’t matter much.

Where do I change my MX records?

Wherever your domain’s DNS is managed. That is usually your domain registrar or your web host. Check your domain’s nameservers to find out which.

Do I need SPF, DKIM and DMARC too?

Yes, especially if you send newsletters or a lot of email. They help your messages land in the inbox instead of spam.

About the author

Josh runs 716 Co., a web design and SEO studio in Sumter, SC. The studio has helped South Carolina businesses, churches and nonprofits get found online since 2009.

Want this done for your business?

Get a free website audit with a plain-language list of what to fix first.