Mail host · SPF

SPF record for Microsoft 365

How to add a SPF record when DNS or mail is at Microsoft 365. Real steps, then a live lookup.

MX will look like yourdomain-com.mail.protection.outlook.com.

include:spf.protection.outlook.com

  1. In DNS, add or merge a TXT record: v=spf1 include:spf.protection.outlook.com -all (or ~all while you test).
  2. Never create a second SPF TXT record — merge includes instead.
  3. Confirm in Microsoft 365 Defender or with an SPF lookup.

Official docs: Microsoft 365. Other records for this provider: SPF · DKIM · DMARC

Check it live

Check the SPF record

Look up the live DNS after you save. This tool does not spend credits.

v=spf1 include:_spf.google.com ~all

Publish as a single TXT record on the apex. Never create two SPF records.

Related