SPF records are limited to 10 DNS lookups. Go over, and SPF fails for every email your domain sends, often without any visible warning.
Free, no sign-up. Checks SPF, DKIM, DMARC, mail servers and blacklists in one go.
Why the limit exists
When a mail system checks your SPF record, it may have to look up other records to finish the job: each include: points to another company’s list, which may point to more lists. To stop a single check from triggering endless lookups, the SPF standard caps the total at 10. If evaluating your record would need an 11th, the result is “permerror,” and receiving systems treat SPF as failed.
What counts toward the 10
| Part of the record | Counts as a lookup? |
|---|---|
include: | Yes, plus every lookup inside the included record |
a | Yes |
mx | Yes |
exists: and redirect= | Yes |
ip4: and ip6: | No |
all | No |
The nested lookups are what catch people out. A single include: for one email service can use two, three or four lookups on its own, depending on how that service built its record.
How businesses hit the limit
It usually happens over years. A business starts with its email provider, then adds a newsletter tool, a CRM, an invoicing system, a help desk and a website form service. Each one says “add our include to your SPF record.” Six or seven includes later, the total quietly passes 10.
How to get back under 10
- Count what you have. The check above shows your total lookup count.
- Remove services you no longer use. This is the easiest win. An include for a tool you cancelled two years ago is pure cost.
- Remove
aandmxif you don’t need them. If your email provider is Google or Microsoft, your web server and mail records usually don’t need to be in SPF at all. Confirm before removing. - Move bulk email to a subdomain. Many newsletter and marketing tools let you send from a subdomain such as news.yourcompany.com, which has its own SPF record and its own 10 lookups.
- Flatten as a last resort. Replacing an include with the fixed
ip4:addresses it contains saves lookups, but if the provider changes its servers, your record silently goes stale. Only do this with monitoring in place.
Common questions
Is there also a limit on “void” lookups?
Yes. The SPF standard also allows mail systems to fail SPF after two lookups that return nothing, which usually means an include points to a domain that no longer exists. Remove includes for services that have shut down or changed names.
Does the 10-lookup limit apply to my subdomains too?
Each domain and subdomain has its own SPF record and its own limit of 10.
Can I just make two SPF records to split the lookups?
No. Two SPF records on the same domain is a separate error that also breaks SPF. See how to fix multiple SPF records.
After fixing SPF, make sure DKIM and DMARC are in place too. Our SPF checker, DKIM checker and DMARC checker explain each one.
Records break without anyone noticing
A website move, a new email tool or a DNS change can quietly undo this setup. MailWatchman checks your domain every day and emails you the moment something changes, with the fix. Plans start at $6 a month.