An SPF record is a TXT record on your domain that lists the services allowed to send email as you. Without one, your email is much more likely to land in spam. It takes about ten minutes to add.
Work out what goes in it
An SPF record starts with v=spf1, lists your senders, and ends with ~all.
| You send through | Add this |
|---|---|
| Google Workspace | include:_spf.google.com |
| Microsoft 365 | include:spf.protection.outlook.com |
Other services that send as you, such as accounting software, newsletter tools or booking systems, publish their own value. Search their help pages for "SPF". For a business on Google Workspace only, the full record is:
v=spf1 include:_spf.google.com ~all
For Microsoft 365 only, use v=spf1 include:spf.protection.outlook.com ~all.
Add it at your DNS provider
Your SPF record goes wherever your domain's DNS is managed. Look up your nameservers with any nameserver lookup tool. If they have your registrar's name in them (1st Domains, Freeparking, Crazy Domains and so on), it's there. If they end in cloudflare.com, it's Cloudflare. Otherwise it's usually your web host.
- Log in and open your domain.
- Find the DNS section. It may be called DNS, DNS records, Manage DNS or Zone editor.
- Add a TXT record (or edit the existing SPF one). Host is
@(some providers want it blank, or your full domain). Value is your SPF record. Leave the TTL as it is. - Save, then run the SPF lookup again. Changes usually show within an hour.

Common mistakes
| Mistake | What goes wrong | Fix |
|---|---|---|
| Two SPF records | Both count as broken | Combine them into one |
| More than 10 lookups | Every include: counts, including those inside it, and the record fails |
Most SPF lookup tools count them for you |
Ending in +all |
Allows anyone to send as you | Use ~all or -all |
| A service left out | Its emails, often invoices, still land in spam | Add that service |
SPF is one of three settings. Switch on DKIM in your email provider and add a DMARC record to finish the job.
When to get help
If you can't find where your DNS is managed, already have several services sending as you, or are near the 10-lookup limit, it's worth handing over. A mistake here can send all your email to spam. Start with our free website check.