All Collections
How to set up MX records for Office 365
How to set up MX records for Office 365
Olga avatar
Written by Olga
Updated over a week ago

Here is a guide on how you can check your MX records and configure them if they are not set.

Note: Important!

If you are not sure how to perform these actions or you don't have access to your hosting website, please, contact your IT person or to someone who managed your domain.

You can also speak to your hosting or mail provider support - they will also help you to configure email authentication settings mentioned below.

Most common issues with MX records

  • they are absent.

  • they route to your old mail provider while you have switched to a new one.

  • they are incorrect or route to two different mail providers.

How to check your MX records

Use any MX lookup online tool, for example:

To double-check and confirm the issue, you can also send an email from any other address to your business email. If you don't receive any emails, this can be a sign of an issue.


It's important to distinguish between terms such as mail provider (service) and hosting provider (service).

Most common hosting providers:

  • Namecheap

  • GoDaddy

  • 1&1 IONOS

  • OVH

  • Cloudflare

  • Google Domains

*Some hosting providers also offer email services.

Most common email providers:

  • Google Workspace

  • Office 365

  • Zoho

  • GoDaddy Mail

  • Namecheap Mail

Setting up Office 365 MX Record Values

  1. Sign in to the Microsoft 365 admin centre and select Show all > Settings > Domains.

Open your domain and check if you have your MX records. Click on MX records to get the detailed information:

If your MX records are not correct or not set, you can now start the configuration.

In a new browser tab, go to your DNS hosting provider, and then find where you manage your DNS settings (e.g., Zone File Settings, Manage Domains, Domain Manager, DNS Manager).

Tip: Office 365 can identify your hosting provider:

Now add values, you have received from Office 365 at the previous step:

If you use Namecheap, go to Advanced settings of your domain -> Mail settings -> and select Custom MX

Enter MX records and hit Save all changes:

you can also use this button to go step-by-step process of domain verification with Microsoft:

GoDaddy users can find the guide here: GoDaddy: Add an MX record

You can use the same guide for any other hosting website since most hosting websites are structured the same way: Domains -> select a domain -> Manage DNS / DNS zone editor -> add MX.

Replacing MX Records

If you have switched your mail providers, please do not forget to remove MX records that belong to your previous mail provider and add MX records that route to your new email provider; otherwise, you will not be able to receive emails.

To do this:

  • remove your previous values by deleting the corresponding records.

  • add new records using the guide above.

Did this answer your question?