How to Set Up MX Records for Office 365 - Step-by-Step Guide

If you’re doing email outreach, getting replies is your bread and butter.

Without replies, there are no conversions.

MX records tell email servers where to route replies. Without them, it becomes hard to receive any replies.

Thus, setting up MX records is probably the first part of your technical setup to take care of.

Absent or misconfigured MX records will render even the best outreach campaign utterly useless!

Here’s how to set up MX records for Microsoft Office 365. ⬇️

Setting Up MX Records for Office 365

We’re going to take Office 365’s MX record and add it to your domain’s DNS records.

This is the most common approach, but there are two exceptions:

  1. 👉 If you use a third-party spam filtering service to filter mail before it reaches Exchange Online, you must set up custom DNS records to send the mail to that service first.
  2. 👉 If you have a hybrid exchange employment using an on-premises Exchange server and Exchange online, the default Microsoft MX records will not work.

With that out of the way, here’s how you set up MX records for Microsoft 365:

Step 1: Get the MX record from Office 365

  1. ➡️ Log in to Office 365 and go to the Settings > Domains page
  2. ➡️ The MX record to add is under Required DNS settings. The record follows this format: MX token>

Step 2: Add the MX record to your domain’s DNS settings

Adding an Office 365 record to Namecheap

  1. ➡️ Log in to Namecheap, go to Domain List, and select your domain
  2. ➡️ Click on the Manage button next to your domain
  3. ➡️ Click on Advanced DNS
  4. ➡️ Ensure there’s no CNAME record for your root domain in the Host records section (
  5. ➡️ Create a new record
  6. ➡️ Click on mail settings
  7. ➡️ Select Custom MX from the dropdown menu
  8. ➡️ Add your Office 365 record here
  9. ➡️ Save your record

Configuring an Office 365 MX record on GoDaddy

  1. ➡️ Log in to your GoDaddy account and go to your domain portfolio
  2. ➡️ Select your domain
  3. ➡️ Click DNS
  4. ➡️ Add a new record
  5. ➡️ Choose TXT as the record’s type
  6. ➡️ Enter your Office 365 record
  7. ➡️ Save your record

If you have Domain Protection enabled for your domain, you’ll have to verify your identity through 2-step verification.

Setting up your Office 365 MX record on Cloudflare

  1. ➡️ Log in to Cloudflare
  2. ➡️ Select your domain and go to DNS
  3. ➡️ Click on Add Record
  4. ➡️ Choose MX as the record’s type
  5. ➡️ Add your Office 365 MX record
  6. ➡️ Save.

Adding your Office 365 record to any domain provider

  1. ➡️ Log in to where you manage your domain’s DNS records. This could be your domain registrar, but it could also be your hosting company.
  2. ➡️ Go to your DNS management page
  3. ➡️ Add a new record
  4. ➡️ Choose MX as the record’s type
  5. ➡️ Add your MX record
  6. ➡️ Save it

Congrats on Setting up Your Office 365 MX Record 🎉

DNS changes can take up to 48 hours to propagate fully. Usually, though, they’re active within a couple of hours.

Setting up an MX record is an important part of your technical setup.

You can now set up domain authentication records like SPF, DKIM, and DMARC.

For optimal inbox placement, make sure also to warm up your email.

Email warm-up involves gradually increasing the volume and frequency of your emails to slowly establish a sender reputation.

You could be sending five emails on the first day, seven on the second, and so on.

While sending emails to warm your inbox may sound simple enough, it’s actually a lot of work.

That’s because it’s not just about sending emails.

You also need to get replies to your emails to indicate engagement.

Additionally, should any of your emails land in spam, you need them moved to the inbox.

lemwarm, an email warm-up service, can do all the work for you so you concentrate on other important tasks.

It takes 3 minutes to avoid spam forever

Discover how to apply these tips on lemwarm and avoid spam forever.