SPF Record
What is an SPF record?
An SPF record is a line of text in your domain's DNS settings that lists which servers and services are allowed to send email for your domain. SPF stands for Sender Policy Framework. When an email arrives claiming to be from your domain, the receiving inbox checks your SPF record to see if it came from a sender you approved.
How SPF works
- You add an SPF record to your domain at your DNS provider (often the company you bought the domain from).
- You send an email, for example a booking confirmation from
[email protected]. - The receiving server, such as Gmail, looks up the SPF record for the domain that sent the message.
- It checks whether the sending server is on your list. If it is, SPF passes. If not, SPF fails, and the inbox is more likely to send the email to spam or reject it.
SPF on its own doesn't stop every kind of fake email, because it checks the technical "envelope" sender rather than the From address people see. That is why it works alongside DKIM and DMARC. Together, the three are called email authentication.
What an SPF record looks like
An SPF record is a TXT record on your main domain. A typical one reads:
v=spf1 include:_spf.google.com include:sendingservice.example ~all
| Part | Meaning |
|---|---|
v=spf1 |
This is an SPF record (version 1). Every SPF record starts this way. |
include: |
Approves another company's servers, such as your mailbox provider or your email marketing tool. Each service gives you the exact value to use. |
ip4: / ip6: |
Approves a specific server address. Rarely needed by small businesses. |
~all |
Soft fail: mail from anyone else is suspicious but not refused outright. |
-all |
Hard fail: mail from anyone else should be rejected. |
Some services ask you to put their SPF record on a subdomain (like send.yourbusiness.com) instead of your main domain. Follow the exact name and value the service shows you.
Examples for real businesses
- A salon using Google Workspace for email and a booking app that sends reminders. Its SPF record needs an
include:for Google and another for the booking app, in one record. - A landscaper who only uses Microsoft 365. One
include:for Microsoft, then~allor-all. - An online course seller who sends a newsletter and receipts. The email marketing tool and the checkout provider both need to be covered if both send as the seller's domain.
Common mistakes
- Two SPF records on one domain. You can only have one. If you add a second for a new tool, both can fail. Merge them into a single record with several
include:entries. - Too many lookups. SPF allows at most 10 DNS lookups, and each
include:can use one or more. Piling on tools can push you past the limit, which makes SPF fail. Remove services you no longer use. - Forgetting a tool. If your invoicing app sends as your domain but isn't in your SPF record, those invoices are more likely to land in spam.
- Typos. One missing space or colon breaks the record. Copy values exactly.
- Using
-allbefore you know every sender. A hard fail can block legitimate mail from a tool you forgot. Many businesses start with~all.
How to check your SPF record
Free lookup tools such as MXToolbox show your current record and flag errors. You can also send an email to a Gmail account, open it, and choose Show original: Gmail shows whether SPF passed. DNS changes can take from a few minutes to 48 hours to show up everywhere.
SPF is one part of good email deliverability, and it only makes sense once you send from your own email domain.
How Crevio handles SPF
When you connect your own email domain, Crevio shows the SPF record (along with DKIM and DMARC) to add at your DNS provider and checks it automatically. Your domain is marked verified once SPF and DKIM are confirmed, and if a record later fails, Crevio falls back to its default address instead of failing to send. See Email domain.
Your business,on autopilot.
An AI employee that handles your website, marketing and operations.


















