permerror is SPF's way of saying your record is broken. The receiving server can't evaluate it, so SPF fails for every message you send until it's fixed, and nothing in your inbox tells you. The cause is almost always one of five things, and most of them take a few minutes to fix once you know which one you have.
What permerror means
SPF has a handful of results, and permerror is the one that means “the record itself is broken.” The receiver can't work out whether your sending server is authorized, so SPF doesn't pass for any message, from any server, until the record is fixed. What the receiver then does with the mail is its own choice, which is why the symptom shows up as inconsistent spam-folder delivery rather than a clear error.
The damage reaches DMARC. DMARC passes when SPF or DKIM passes and lines up with your From domain, so a broken SPF record leaves DKIM carrying all the weight. If DKIM is also missing or unaligned for a sending service, DMARC fails. The five causes below account for most of what we see.
Cause 1: two SPF records on the same name
A domain may publish only one SPF record. If a receiver finds two TXT records that both start with v=spf1, RFC 7208 says the result is permerror. This is the most common mistake, and it happens when someone adds a new email provider by creating a second TXT record instead of editing the first.
The fix is to merge them into a single record that carries every include and ends with one all:
Keep in mind that other TXT records on the domain, such as site-verification strings, are fine. Only records starting with v=spf1 count.
Cause 2: more than ten DNS lookups
Each include, a, mx, ptr, exists and redirect costs a lookup, including everything nested inside the providers you include. Past ten, the result is permerror. This one has its own article, with a worked count and four ways to get back under the limit: SPF Too Many DNS Lookups.
Cause 3: a syntax error
A record that can't be parsed is also permerror. The usual culprits are small:
- A bad version tag. The record must begin with exactly
v=spf1.v=spf 1orv=SPF2won't be recognized as an SPF record at all. - A mechanism with no value, such as
include:followed by nothing, orip4:with a malformed address or a missing CIDR prefix. - Typos in a mechanism name, or using
=where:belongs (ip4=203.0.113.5instead ofip4:203.0.113.5). - Stray quotes or smart quotes pasted in from a document, which end up inside the value.
all mechanism, so anything written after all is never evaluated. If you appended a new include to the end of an existing record, it is being ignored."A record that looks fine to a person can be unreadable to a receiver. One missing colon is enough."
Cause 4: too many “void” lookups
A void lookup is a DNS query that comes back empty, for instance an include pointing at a domain that no longer exists. RFC 7208 says implementations should limit these to two, and more than two ends in permerror even when the total number of lookups is well under ten. Old includes for services you cancelled years ago are the typical source. Delete the ones you don't use.
Cause 5: an include or redirect that points at nothing useful
When you write include:some-provider.example, the receiver fetches that domain's SPF record and evaluates it. If the domain has no SPF record at all, RFC 7208 treats that as permerror for the whole check, and a redirect= to a domain without an SPF record does the same. A mistyped domain, a provider that has changed the name of its SPF host, or a service you have stopped paying for can each produce this.
Look up each include target yourself and confirm it returns a record starting with v=spf1. Your provider's documentation will list the exact include name to use.
How to diagnose yours
Start with the raw TXT records on the root of your domain and count how many begin with v=spf1. On Windows, nslookup -type=TXT example.com shows them; on macOS or Linux, dig TXT example.com +short does the same. Then follow each include the same way, checking that every one resolves to a real record.
Our free scanner shows the SPF record it finds for any domain and warns if the lookup count looks too high. It reads a single record, so check for duplicates by hand with one of the commands above.
A fix lasts only until something changes. Providers edit their own records and teams add services, so DeliveryRadar re-scans your domains daily, tracks the SPF lookup count, and logs a change history so you can see when a record changed. The 7-day trial doesn't need a card.
Sources: RFC 7208, Sender Policy Framework (SPF), sections 4.5 (selecting records), 4.6 (evaluation and the lookup limits) and 5.2 (the include mechanism).
Check your email authentication
Free, no-signup scan of your SPF, DKIM, and DMARC setup, with a plain-English fix for each issue.
Scan My Domain