Defaults.Exposed

Defaults.Exposed › Setup › SPF

How to set up SPF on Microsoft 365

Add an SPF record so the world knows Microsoft 365's servers are allowed to send email for your domain.

Why this matters to your business

SPF (Sender Policy Framework) is a short note in your domain’s DNS that lists which mail servers are allowed to send email “from” your domain. Without it, scammers can forge your address to send fake invoices, payment requests or quotes to your customers and suppliers — and your own legitimate email is more likely to land in spam. Setting SPF up is free, takes a few minutes, and is one of the strongest, cheapest things you can do to protect your name and keep your email getting delivered.

Important: where this actually gets done

This trips a lot of people up, so it’s worth being clear:

So: Microsoft tells you what the record should contain; you add it where your DNS lives. The mailbox settings inside Microsoft 365 do not hold this record unless Microsoft also runs your DNS.

First: which company runs your DNS?

A DNS record only takes effect if you add it at wherever your domain’s nameservers point. If you’re not sure, check the domain in your registrar account and look at the Nameservers section, or ask whoever set up your website. If the nameservers point somewhere other than Microsoft, add the SPF record in that company’s DNS settings (look for DNS / Records / Advanced DNS). Adding it in the wrong place will do nothing.

What you’ll add

A single TXT record for Microsoft 365. The standard value is:

v=spf1 include:spf.protection.outlook.com -all

You should have only one SPF record (one TXT starting with v=spf1) per domain. If you already have one — for example because you also send through a newsletter tool or a CRM — do not add a second. Edit the existing one and add Microsoft’s part into it, e.g.:

v=spf1 include:spf.protection.outlook.com include:servers.mcsv.net -all

Steps

  1. Sign in to your DNS host (your registrar, web host, or DNS provider — or the Microsoft 365 admin center if Microsoft runs your DNS).
  2. Open the DNS settings for your domain (look for DNS / Records / Advanced DNS).
  3. Add a new record and choose TXT as the type.
  4. In the Name / Host field, enter @ (this means “the domain itself”). Do not put your full domain name here.
  5. In the Value / Data field, paste v=spf1 include:spf.protection.outlook.com -all (or your combined record if you have other senders).
  6. Leave TTL at the default (1 hour is fine).
  7. Save.

Quirks people get wrong

Verify it worked

Once saved, confirm the record is live and correct with the free check on Defaults.Exposed. Enter your domain and it’ll tell you in plain language whether your SPF is set up properly. Your data is processed in the EU.

Done? Check your domain free to confirm it worked — and see your full grade across all 34 checks.