ribbon

VitaMail V5 is now live! Create campaigns and run outreach from one place.

VitaMail

Menu

SPF Checker

Free SPF Checker: Instantly Find & Fix Your Errors

Instantly check your SPF record for critical errors, security vulnerabilities, and the issues that send your emails straight to spam.

Select your SPF Tool

Check, create, or validate your record to stop spoofing and boost deliverability.

Check your SPF Records

Instantly find errors that send your emails to spam and put your domain at risk.

100% Free instant results. No sign up required.

Your All-in-One Domain Health Dashboard

A single &quote;Pass&quote; on one record isn't enough. Our all-in-one dashboard gives you a 360-degree view of your domain's health, analyzing every critical protocol that determines whether you land in the inbox or the spam folder.

DMARC Checker

Enforces your email security policy

DKIM Checker

Proves your email is untampered.

MX Checker

Receives your inbound mail

BIMI Checker

Puts your logo in inboxes

Blacklist Checker

Checks your sender reputation score.

Domain Age

Verifies your domain's trust history

Domain Suffix

Ensures DMARC policy compliance

DKIM Validator

Confirm your email signatures are working right.

SPF Checker

What Is an SPF Record, and How Does It Actually Work?

An SPF (Sender Policy Framework) record is a single line of text published in your domain's DNS that tells receiving mail servers exactly which sources are allowed to send email on your behalf.

When an email arrives claiming to be from your domain, the receiving server looks up your SPF record and checks whether the sending server's IP address is on that approved list.

If it isn't, the message can be flagged, quarantined, or rejected outright — which is exactly what stops someone else from spoofing your domain.

Domain Health

A single SPF error can break your email delivery

A hidden error in your SPF record is more than a technical problem, it's a business vulnerability.

Hidden Deliverability Issues

Blacklist or DNS errors can quietly damage your deliverability and lower open rates. These issues hurt your reputation.

Hidden Deliverability Issues

Your Emails Land in Spam

Mail servers (like Gmail, Outlook, and Yahoo) treat a broken SPF record as a high-risk signal.

Your Emails Land in Spam

You Hit a 'PermError' Wall

The most common and cryptic error is exceeding the 10 DNS lookup limit. This invalidates your entire record.

You Hit a 'PermError' Wall

What an SPF record looks like

Here's a real, working example:

TXT RECORD

v=spf1 include:_spf.google.com include:sendgrid.net ~all
v=spf1 - declares this as an SPF version 1 record
include:_spf.google.com - trusts Google Workspace's sending servers
include: sendgrid.net - trusts SendGrid's sending servers
~all - soft-fails anything not listed above

The 10 DNS lookup limit

Every SPF record has a hard ceiling: 10 DNS lookups, 2 of which can be &quote;void.&quote;

Each include, a, mx, ptr, and exists mechanism counts as one DNS lookup — and lookups nested inside a third-party's own SPF record count too. Cross 10 total lookups, or rack up more than 2 lookups that return nothing (void lookups), and receiving servers stop trusting your record entirely. This failure is called a PermError, and it doesn't just block the sender that pushed you over the limit — it invalidates the entire record, so every legitimate email from your domain can start failing SPF at once.

  • A domain using Google Workspace + a CRM + an email marketing tool + a help desk can hit 10 lookups without anyone noticing, since each include often triggers several lookups on its own.
  • The fix isn't removing senders — it's usually consolidating or &quote;flattening&quote; nested includes into direct IP addresses so they stop counting against the limit.
  • Run a fresh check any time you add a new sending tool. The limit is easy to cross quietly as your stack grows.

~all vs. -all vs. ?all vs. +all

The final all mechanism decides what happens to mail from a source that isn't listed in your record.
This one tag has an outsized effect on your deliverability and your exposure to spoofing.

-all

HARD FAIL

Tells receivers to reject unauthorized mail outright. The strictest, most protective setting — use this once you're confident every legitimate sender is listed.

~all

SOFT FAIL

Unauthorized mail is accepted but marked suspicious, often routed to spam. A common, safer stepping stone before moving to -all.

+all

NEUTRAL

Authorizes literally any server to send as your domain. This defeats the purpose of SPF entirely and should never be used.

?all

PASS ALL

Takes no position — mail is neither passed nor failed. Offers essentially no protection and is rarely worth using intentionally.

Most actively sending domains land on ~all paired with a DMARC policy at p=quarantine or p=reject for full protection. Reserve -all alone for domains that never send email at all.

SPF tags, explained

Tag
What it does
VRequired

Marks the record as SPF version 1. Must be the very first thing in the record, exactly v=spf1, or the whole record is ignored.

include

Authorizes a third party's sending infrastructure, like your email marketing tool, CRM, or help desk, by pulling in that provider's own SPF record.

ip4 / ip6

Directly authorizes a specific IPv4 or IPv6 address or range - useful for a mail server you run yourself.

a

Authorizes the server(s) pointed to by your domain's A record. Defaults to your own domain if no value is given.

mx

Authorizes the mail servers listed in your domain's MX records. Also defaults to your own domain if unspecified.

ptr

Checks whether the sender's reverse-DNS hostname matches your domain. Rarely used today - it's slow and considered unreliable.

redirect

Points to another domain's SPF record to reuse instead of listing sources directly. Limits your flexibility, so most senders avoid it.

allRequired

The catch-all mechanism that must sit at the very end of the record. It decides what happens to any sender not explicitly authorized above.

Get a Complete Diagnosis in Seconds

Stop guessing. Our SPF Checker gives you a clear, actionable report to take back control of your email. We don't just tell you "Pass" or "Fail", we show you why.

See Your Live Record

We perform a real-time analysis of the exact TXT record mail servers see right now.

Find Common Syntax Errors

Instantly spot typos, invalid mechanisms, or incorrect syntax that breaks your record.

Get Plain-English Recommendations

Our built-in AI assistant translates complex errors into simple, step-by-step instructions, guiding you to the perfect fix.

AI Doctor

Ask Domain Doctor

Don't just find the error. Get told exactly how to fix it.

Every other SPF checker hands you a red "Fail" and leaves you to Google the rest. Domain Doctor is built into VitaMail's SPF Checker to close that gap - it reads your specific error, translates it out of DNS jargon, and gives you the exact change to make in plain English.

  • ✓ Explains why your record failed, not just that it did
  • ✓ Gives you the corrected record to paste into your DNS
  • ✓ Flags PermErrors, syntax mistakes, and lookup-limit issues automatically
  • ✓ No DNS expertise required - built for marketers, not sysadmins
Ask Domain Doctor
AI Doctor

Go beyond a simple SPF check

Supercharge your email performance with our full toolkit - from authentication checks to deep deliverability insights.

DMARC Checker

DKIM is your email's "digital signature." It proves that the email came from your domain and that its content hasn't been tampered with in transit.

Enforcement Policy: Checks your policy tag (p=) to see if you are at none (monitoring), quarantine (spam), or reject (block).

Reporting: Validates your rua= and ruf= tags to ensure you are set up to receive vital security reports.

Alignment: Confirms your SPF/DKIM alignment (adkim=, aspf=) is set to "strict" or "relaxed."

Try DMARC Checker
DMARC Checker

Explore Other Free Tools

Write subject lines that encourage opens.

AI Subject Line Generator
Email Content Checker

Generate full email drafts you can review and edit.

AI Email Generator
Email Content Checker
Have Questions? We`ve Got Answers.

If you can`t find what you`re looking for, our team is always ready to assist you.

What is an SPF record?
How do I check if my SPF record is valid?
Why is my SPF record failing?
What's the difference between -all, ~all, and ?all?
Why do my emails still go to spam if SPF passes?
How do I create or fix an SPF record?
Stay Ahead inEmail Marketing

Join marketers who get fresh strategies, growth ideas, and new feature updates — only the useful stuff, no spam.

keyboard