Skip to content

Set up MX Records for Microsoft 365

In this guide, you’ll learn how to set up Microsoft 365 mx records so you can send and receive email on a custom domain.

If you haven’t already added your domain, see How to Add a Custom Domain to Microsoft 365.

  1. Sign into the Microsoft 365 Admin Center

  2. Go to Setting > Domains.

  3. Click on your domain.

  4. Click DNS records then click Manage DNS.

    manage dns

  5. Click Continue.

  6. You can either click Download CSV file or copy the MX record settings from the page. I find it easier to leave the page open and copy the values from the page.

    download mx record settings

Add MX Records to your domain’s DNS settings

Section titled “Add MX Records to your domain’s DNS settings”
  1. Access your domains DNS settings, this is typically the same place where you purchased your domain (called domain registrar), for example namecheap, godaddy, cloudflare, etc.

  2. You will need to add 3 DNS records.

    1. MX Record
    2. CNAME Record
    3. TXT Record

    MX Record Example

    add mx record

    CNAME Record Example

    cname record

    TXT Record

    txt record

  3. When the MX records have been added to your domain’s DNS settings, go back to the Microsoft 365 Add DNS Records page and click Continue. Microsoft will verify the DNS records and complete the DNS setup.

    mx record setup complete

  4. If your domain is showing Healthy in 365, you should now be able to send and receive email from your custom domain.