MX record lookup
See which servers receive email for a domain, in priority order, and which provider runs them.
What MX records do
MX (mail exchanger) records tell the world which servers accept email for your domain. The lower the priority number, the more preferred the server. If the first one is down, senders try the next.
Microsoft 365 MX records
For Microsoft 365 you normally have a single MX record that looks like yourdomain-com.mail.protection.outlook.com with priority 0. Newer tenants may see a mx.microsoft address instead. The exact value is shown in the Microsoft 365 admin centre under Settings → Domains.
Common MX problems
- Old records left behind after a migration. If you moved from Google Workspace or a cPanel host to Microsoft 365, delete the old MX records or some mail will keep going to the old system.
- An MX pointing at a server with no IP address. Senders can't deliver to it.
- A filtering service in front of Microsoft 365 (Mimecast, Proofpoint and so on). That's fine, but make sure Microsoft 365 only accepts mail from the filter. Otherwise spammers can go around it.
Common questions
Can I have more than one MX record?
Yes. Backup MX records are normal, but they should all deliver to the same mail system. Mixing providers loses mail.
How long do MX changes take?
Senders cache MX records for the TTL shown above. Lower the TTL a day before a migration so the change spreads faster.