Multiple SPF records found: why it fails and how to merge them
Updated 10 November 2026 · 4 min read
Short answer
A domain may publish only one TXT record that starts with v=spf1. When receivers find two or more, RFC 7208 says the result is permerror, so SPF fails for every message no matter which servers sent it. Merge them: keep one v=spf1, put every include:, ip4: and ip6: term from both records into it, keep a single ~all or -all at the end, and delete the other record.
How to merge, with an example
Before (broken):
acme.com. TXT "v=spf1 include:_spf.google.com ~all"
acme.com. TXT "v=spf1 include:secureserver.net -all"After (one record):
acme.com. TXT "v=spf1 include:_spf.google.com include:secureserver.net ~all"- Keep
v=spf1once, at the very start. - Copy every mechanism except the
allterms. Drop duplicates. - End with exactly one
all. If the two records disagreed (~alland-all), pick one;~allis the safer choice while you confirm every sender is listed. - Leave other TXT records alone: Google or Microsoft verification strings on the same name are fine.
Where the second record usually comes from
| Source | Typical value | What to do |
|---|---|---|
| Web host or registrar email | include:secureserver.net, Hostinger or cPanel includes | Keep only if that host still sends mail (contact forms) |
| Email forwarding (Cloudflare, Namecheap, Porkbun) | forwarder's include | Remove if a real mailbox provider now handles mail |
| A marketing tool's setup wizard | its own v=spf1 … | Fold its include into your record, or skip if it aligns via DKIM |
An old SPF-type DNS record | same text, record type SPF | Delete; SPF must be TXT only |
Things that are not duplicates
One SPF record on acme.com and another on news.acme.com is correct: each name is checked separately, and Microsoft's guidance says each subdomain that sends needs its own. Also, one record split into several quoted strings ("v=spf1 include:a …" "include:b ~all") is still one record; receivers join the strings.
Find every SPF record on a name
dig +short TXT acme.com | grep -i spf1
nslookup -type=txt acme.comIf you see two lines starting with v=spf1, you have the problem. Some DNS panels hide records that a product manages (email forwarding, presets), so trust the DNS answer over the panel.
Check the result
The SPF line will say how many SPF records were found; it should be exactly one. Run the domain through the free ReplyDak deliverability check: it reads MX, SPF, DKIM and DMARC live from public DNS, counts SPF lookups and checks the main blocklists, with no sign-up. If your DKIM selector is not a common one, type it into the optional selector box.
More setups and errors: SPF, DKIM and DMARC by provider, DNS host and error.
FAQ
Can I have two SPF records if one is for Google and one for Microsoft?
No. Put both includes in one record: v=spf1 include:_spf.google.com include:spf.protection.outlook.com ~all.
What happens to my mail with two SPF records?
SPF returns permerror for every message. With DMARC, mail then depends entirely on DKIM passing and aligning.
Is a TXT record split into two strings a duplicate?
No, that is one record. Duplicates are two separate TXT records that both start with v=spf1.