Microsoft 365 / Outlook SPF record
Updated 2026-11-18. Lookup counts measured live from public DNS on that date.
The SPF record for Microsoft 365 / Outlook is include:spf.protection.outlook.com. If Microsoft 365 / Outlook is the only service that sends email as your domain, publish exactly this:
| Type | Host | Value |
|---|---|---|
| TXT | @ | v=spf1 include:spf.protection.outlook.com ~all |
Lookup cost: include:spf.protection.outlook.com uses 1 of the 10 DNS lookups SPF allows (measured 2026-11-18).
Already have an SPF record?
Do not add a second v=spf1 record. Add include:spf.protection.outlook.com to the existing one, before the ~all. Example with Google Workspace: v=spf1 include:_spf.google.com include:spf.protection.outlook.com ~all
Don't forget DKIM
SPF alone is not enough for Gmail, Yahoo, Microsoft or Spamhaus. Microsoft Defender portal > Email & collaboration > Policies & rules > Threat policies > Email authentication settings > DKIM tab > click your domain > copy the two CNAME records (selector1._domainkey and selector2._domainkey) > publish them > toggle 'Sign messages for this domain with DKIM signatures' to Enabled. Official Microsoft 365 / Outlook guide.
Check your own domain in 5 seconds
Free SPF, DKIM and DMARC check. If something is broken, get the exact records for your setup (€29 one-time).
FAQ
Can I have two SPF records?
No. A domain must publish exactly one TXT record starting with v=spf1. Two records cause a permanent error and SPF fails for every email. Merge all include: entries into one record.
Should I use ~all or -all?
Use ~all (softfail) while you are setting things up and reading DMARC reports. Once every legitimate sender passes, -all is stricter. DMARC policy matters more than the SPF qualifier for most receivers.
How do I check that Microsoft 365 / Outlook passes?
Send an email to a Gmail address, open it, click the three dots and choose Show original. You want SPF: PASS, DKIM: PASS and DMARC: PASS.
How long do DNS changes take?
Usually 5 to 60 minutes, depending on the TTL of the old record. Some registrars take a few hours.