Multiple SPF records: how to merge them into one
Updated November 26, 2026
Your domain must have exactly one SPF record. If it has two or more, email providers don't pick one or combine them. Under the SPF standard, the check stops with a "permanent error", meaning your records can't be used. Because the error comes from the records themselves, it happens on every email you send.
That doesn't mean your email stops arriving. Providers decide for themselves what to do with a permanent error, and email signed with DKIM can still pass DMARC without SPF. That's why domains with two SPF records often seem to work fine. But any service that relies on SPF alone fails DMARC, and its email is more likely to land in spam or, with a stricter DMARC policy, be blocked.
This usually happens by accident. Each new service's setup guide says "add this SPF record", so a second record gets added alongside the first instead of being merged into it.
How to spot it
An SPF record is a TXT record on your main domain that starts with v=spf1.
The free check lists every SPF record it finds and, if there's
more than one, gives you a combined record to copy.
How to merge them
Say your domain has these two records:
v=spf1 include:_spf.google.com ~all
v=spf1 include:servers.mcsv.net ~all
Combine them into one by keeping a single v=spf1 at the start, listing every
include: (and any ip4:, ip6:, a or mx) once,
and keeping a single ending at the end:
v=spf1 include:_spf.google.com include:servers.mcsv.net ~all
Step by step
- Sign in wherever your domain's DNS is managed (often your domain registrar, or a service like Cloudflare).
- Find the TXT records on your main domain that start with
v=spf1. - Edit one of them to contain the combined record.
- Delete the others.
- Wait a few minutes, then run the free check again to confirm there's one record.
Which ending should I keep?
The ending tells providers what to do with email from servers not on your list:
~all("soft fail"): treat it as suspicious. The most common choice, and a safe one.-all("fail"): treat it as not allowed. Stricter.
If your records had different endings, keep ~all unless you're sure every service that sends
your email is listed. With DMARC in place, either works well, because DMARC decides what happens to failing
email. Never use +all: it allows anyone in the world to send as you.
Watch the lookup limit
Merging records adds their includes together, and SPF allows at most 10 DNS lookups in total. If the combined record is over the limit, see how to fix "too many DNS lookups".
Records that aren't SPF
Your domain can have other TXT records too, for example ones that start with
google-site-verification= or MS=. Those are fine and aren't part of SPF. Only records
starting with v=spf1 count. Also note that a DMARC record (v=DMARC1) lives on
_dmarc.yourbusiness.com, not on your main domain.
Check your domain for free
Our free check reads your domain's SPF, DKIM and DMARC records and tells you in plain English what's wrong and how to fix it. No account needed, and we don't save what you check.