Protect new mailboxesFresh mailboxes burn fast on a dirty list

Verify every lead before the first send and keep bounces low from day one.

Verify 25 emails free →
Product Bulk verificationReal-time APISignup form widget Catch-all detectionRole and disposable flagsFree email checker
Solutions Cold email agenciesSales teams and SDRsDevelopers and SaaS InstantlySmartleadApollolemlistClayHubSpotMailchimpWoodpeckerReply.ioSaleshandyZapierMaken8n All integrations
Mailboxes Google Workspace mailboxesOutlook mailboxesNew cold domain checklist
Compare vs ZeroBouncevs NeverBouncevs Emailable Pricing comparedCredit expiry comparedAll comparisons
Resources GuidesBounce rate benchmarksHow many bounces burn a domain?MX records MX lookupDomain health reportEmail list cleanerAll MX Tools
Pricing
Home / MX records / Microsoft 365

Microsoft 365 MX records

Microsoft 365 uses one MX record per domain, unique to you: your domain key followed by mail.protection.outlook.com. Domains that turn on DNSSEC move to a host under mx.microsoft.

Updated 2026-11-24

Microsoft 365 doesn't publish one MX host for everyone. Each domain gets its own, built from the domain name. That makes copying a neighbour's record a classic mistake. This page shows the format, the newer DNSSEC endpoint, and the authentication records, checked against Microsoft's docs and live DNS on 2026-11-24.

TL;DR

  • MX: <domain-key>.mail.protection.outlook.com, priority "the highest value available, typically 0", TTL 3600 (Microsoft 365 admin docs, checked 2026-11-24).
  • DNSSEC: domains that enable it move to a host like contosotest-com.o-v1.mx.microsoft. Microsoft has "no plans" to sign mail.protection.outlook.com.
  • SPF: v=spf1 include:spf.protection.outlook.com -all. DKIM: two CNAMEs, selector1._domainkey and selector2._domainkey.

The exact Microsoft 365 MX record

TypeHost / nameValue (points to)PriorityTTL
MX@<domain-key>.mail.protection.outlook.com (copy from the admin center)0 (highest available)3600
CNAMEautodiscoverThe value the admin center shows (autodiscover.outlook.com in live DNS)-3600
contoso.com.  3600  IN  MX  0 contoso-com.mail.protection.outlook.com.

The domain key (Microsoft's docs call it the MX token) is usually your domain with dots turned into dashes: Microsoft's own example is contosotest-com for contosotest.com, and microsoft.com itself publishes microsoft-com.mail.protection.outlook.com. But in live DNS some long-standing tenants have tokens that don't follow the pattern, so copy the value instead of building it.

Microsoft notes that Exchange Online only supports TTL values below 6 hours (21,600 seconds). Autodiscover is optional but "highly recommended", because it lets Outlook configure itself.

With DNSSEC turned on, the same token moves under mx.microsoft, for example contosotest-com.o-v1.mx.microsoft.

The DNSSEC endpoint: mx.microsoft

Microsoft built a DNSSEC-signed zone for Exchange Online. A domain that turns on inbound SMTP DANE with DNSSEC gets a new MX value in the form <MX token>.<subdomain>.mx.microsoft, for example contosotest-com.o-v1.mx.microsoft (Microsoft: how SMTP DANE works, checked 2026-11-24). The subdomain varies: in live DNS we saw o-v1, q-v1 and v-v1.

In an April 23, 2026 update, Microsoft said there are "no plans to enable DNSSEC on the mail flow domain mail.protection.outlook.com", that automatic provisioning of new domains under mx.microsoft was delayed, and that a DNSSEC wizard for the Exchange admin center was planned for Q3 2026 (Exchange Team Blog, checked 2026-11-24). Until your tenant hands you an mx.microsoft value, the mail.protection.outlook.com record is correct.

Microsoft's documented switch, in short:

  1. Lower the TTL of the current MX to the lowest your host allows (not below 30 seconds) and wait out the old TTL.
  2. Run Enable-DnssecForVerifiedDomain -DomainName contoso.com in Exchange Online PowerShell. It returns the new MX value.
  3. Add that value as a second MX record at priority 20, then test it with Microsoft's Remote Connectivity Analyzer inbound SMTP test.
  4. Move the old record to priority 30 and the new one to 0, then delete the record ending in mail.protection.outlook.com and set the new record's TTL to 3,600 seconds.

If you publish an MTA-STS policy, set it to testing and add the new host before you switch, as Microsoft's guide warns.

Microsoft's documented order. Both records stay published until the new host has been tested, so mail never has nowhere to go.

How to set up the Microsoft 365 MX record

  1. Add users first. Microsoft says to add users and set up mailboxes for everyone on the domain before updating the MX record, so mail keeps flowing during the move.
  2. Copy your MX value. In the Microsoft 365 admin center, go to Settings, Domains, select the domain, then DNS records and Manage DNS. Copy the MX value shown for Exchange and Exchange Online Protection.
  3. Add the MX record. At your DNS host add an MX record: host @, points to the value you copied, priority the highest available (typically 0), TTL 3600.
  4. Deal with the old MX records. Remove MX records that point to your previous provider, or give them a higher number than the Microsoft 365 record. Lower numbers win.
  5. Add the supporting records. Add the autodiscover CNAME and the SPF TXT record, plus the two DKIM CNAMEs if you selected DKIM, then select Continue so the admin center verifies them.

If your registrar supports Domain Connect, the admin center can add these records for you and may offer to delete the old MX record. Add them by hand if you want to keep the old record during a staged move. Our MX change guide covers TTLs and rollback.

SPF, DKIM and DMARC for Microsoft 365

RecordTypeHostValue
SPFTXT@v=spf1 include:spf.protection.outlook.com -all
DKIM 1CNAMEselector1._domainkeyFirst DKIM value from the admin center
DKIM 2CNAMEselector2._domainkeySecond DKIM value from the admin center
  • SPF. If an SPF record exists, don't create another; Microsoft says to add its value to the current record so there is "a single SPF TXT record" covering both senders.
  • DKIM. The CNAME targets come in two formats (Microsoft: DKIM for custom domains, checked 2026-11-24). Existing custom domains use selector1-contoso-com._domainkey.contoso.onmicrosoft.com. Custom domains added since May 2025 get the newer format, selector1-contoso-com._domainkey.contoso.n-v1.dkim.mail.microsoft, where the letter before -v1 varies. Copy both values from the admin center or from Get-DkimSigningConfig, then enable signing on the DKIM tab of the Defender portal's Email authentication settings. Mail from your *.onmicrosoft.com domain is signed automatically.
  • DMARC. Publish a TXT record at _dmarc, starting with p=none and a reporting address, then tighten. See Microsoft's DMARC guide and our explainer, What is DMARC?

How to check the Microsoft 365 MX record

Check yours with our MX lookup, or run:

$ dig MX contoso.com +short
0 contoso-com.mail.protection.outlook.com.

PS> Resolve-DnsName contoso.com -Type MX

You want one line, and it should match the admin center exactly. For a deeper test, Microsoft's Remote Connectivity Analyzer runs an inbound SMTP test against your domain. Use our authentication checker for SPF, DKIM and DMARC, and the header analyzer to see whether a received message passed.

Moving mail is a good moment to clean the contact lists that go with it. If you send to a list, verify it with Mail Exchange first: the free trial covers 25 checks, plans start at $49 a month for 10,000 verifications and daily checks on 10 sending domains, and unknown results are refunded.

Common Microsoft 365 MX mistakes

  • Old MX at a lower number. If the previous host stays at 0 and Microsoft 365 is at 10, mail keeps going to the old host. Microsoft's own example: "priority 0 is higher than priority 10".
  • Guessed MX value. A typo in the token, or a token copied from another domain, sends mail to a tenant that rejects it.
  • TTL of a day or more. Exchange Online only supports TTLs under 6 hours.
  • DKIM host with the domain appended twice. Enter selector1._domainkey, not the full name, in panels that add the domain for you.
  • Switching MX before mailboxes exist. Mail for users who don't exist yet bounces with 550 5.1.1.

Microsoft 365 and list verification

Unlike Google Workspace, Microsoft 365 rejects unknown recipients by default. In Mail Exchange's checks of 779,784 unique business addresses across 200,799 domains (17 Oct to 22 Nov 2026, mostly B2B contact lists), 0.1% of the 51,853 Microsoft 365 domains where our catch-all test reached a verdict accepted mail for any address. More in Is Microsoft 365 a catch-all? and Outlook mailboxes.

Common questions

What is the MX record for Microsoft 365?

It is unique to your domain: a domain key followed by mail.protection.outlook.com, for example contoso-com.mail.protection.outlook.com. Copy the exact value from the Microsoft 365 admin center and set the priority to the highest available, typically 0, with a TTL of 3600.

What is mx.microsoft?

It is the newer DNSSEC-signed home for Exchange Online MX hosts. When you enable DNSSEC for a domain, Microsoft gives you an MX value like contosotest-com.o-v1.mx.microsoft. Microsoft says it has no plans to enable DNSSEC on mail.protection.outlook.com.

What is the SPF record for Microsoft 365?

v=spf1 include:spf.protection.outlook.com -all. If the domain already has an SPF record, add include:spf.protection.outlook.com to it so the domain keeps a single SPF record.

Can I guess my Microsoft 365 MX value from the domain name?

Often, but don't rely on it. Most domains follow the pattern of replacing dots with dashes, but some tokens differ, and DNSSEC hosts include a subdomain you can't predict. Always copy the value from the admin center.

What TTL should the Microsoft 365 MX record have?

Microsoft lists 3600 seconds (1 hour) and says Exchange Online only supports TTL values less than 6 hours (21,600 seconds).

Start your free trial →