Sign in Check my email
Email authentication

SPF check: test your SPF record free

Look up any domain's SPF record, count its DNS lookups against the hard limit of ten, and see exactly which servers are allowed to send as it.

Free, and no account needed. We read public DNS only.
About this tool. SPF is a DNS record listing every service allowed to send email as your domain. Broken or duplicate SPF gets your mail junked. This check validates the record, counts the 10-lookup limit that silently breaks SPF, and names the senders it recognizes.

Ten signals decide whether your mail arrives. You just checked one.

SPF names who may send as you. It cannot say whether the message was altered on the way, and it cannot tell a receiver what to do when the check fails, which is what DKIM and DMARC are for.

Run the full checkup free
No card, and nothing to cancel.

What an SPF check looks at

SPF stands for Sender Policy Framework. It is one TXT record in your domain's DNS that lists every service allowed to send email using your address. When a message arrives, the receiving server compares the server that handed it over against that list.

It matters because anyone can type your address into a From line. A correct SPF record helps Gmail and Outlook tell your real invoices apart from a forgery, and a broken one makes your genuine mail look like the forgery.

A typical SPF record, part by part

v=spf1 include:_spf.google.com ip4:203.0.113.25 ~all
v=spf1
Marks the record as SPF. A TXT record without it is ignored for this purpose.
include:_spf.google.com
Authorises Google Workspace by pulling in Google's own published list. Every include costs at least one of your ten DNS lookups.
ip4:203.0.113.25
Authorises one server by its address, such as an office copier or a website contact form that sends mail. Addresses cost no lookups.
~all
Says what to do with everyone else: a soft fail, so receivers treat unlisted senders as suspicious instead of rejecting them outright. Ending in -all asks for a hard fail.

Includes can contain includes of their own, and those nested ones count toward the ten as well. That is how a record with only four or five includes can still go over the limit, and why this check adds them all up for you.

When the SPF check fails

No record found usually means SPF was never set up, so receivers have nothing to compare your mail against. Publish one that lists your mailbox provider and every tool that sends on your behalf.

Two records is a common leftover from changing provider. SPF allows exactly one per domain, and with two every check returns an error, so merge them into a single line.

Too many lookups means the record is right on paper but too expensive to evaluate. Remove services you no longer use before reaching for flattening, which swaps includes for raw addresses and has to be kept up to date by hand.

How to read your SPF record

Common problems and how to fix them

SPF passes some places and fails others
You likely exceed the 10-lookup limit or have two SPF records. Flatten includes you do not need and merge into one record.
A vendor's mail is being rejected
Add that vendor's include or IP to your single SPF record. Do not create a second SPF record.
MX LookupDKIM CheckDMARC CheckBlacklist CheckSPF GeneratorFull email checkup
Common questions.
What is an SPF record?

A DNS TXT record that lists which mail servers are authorized to send email using your domain.

What is the SPF 10-lookup limit?

SPF may trigger at most 10 DNS lookups while evaluating. Exceeding it causes a permerror and SPF fails, so keep includes lean.

Should I use -all or ~all?

-all (hard fail) is stronger and preferred once you are confident every legitimate sender is listed. ~all (soft fail) is a safer starting point while you verify.

Can I have two SPF records?

No. A domain may publish only one SPF record. With two, receivers return a permanent error and SPF fails for every message, so merge them into one.

Does SPF stop people spoofing my domain?

Not on its own. SPF checks the hidden return address, not the From address people see, so it needs DMARC to connect the two and to say what happens when a check fails.