DMARC Fail: What It Means and How to Fix It (Plus DKIM Fail)
dmarc=fail means a receiving server couldn't tie your email to your own domain. Find which of the six common causes it is from the email headers, and fix it, including DKIM fail.
Open the Email Header AnalyzerFree, no sign-up
A DMARC fail means the receiving server couldn’t confirm that your email came from the domain in its From line. It checked SPF and DKIM, and neither passed for your domain. What happens next depends on your DMARC policy: delivered anyway, sent to spam, or refused.
The good news is that the email itself records exactly why it failed.
How to find the cause of a DMARC fail
- Get a failing email. Send one to a Gmail address you own, or ask the person who received it to forward the original as an attachment.
- Copy its full headers. In Gmail, open it, click the three dots and choose Show original.
- Paste them into the email header analyzer. Nothing you paste leaves your browser.
- Compare three domains: the one in the From line, the one SPF checked, and the one DKIM signed with (
d=). DMARC passes only when SPF or DKIM passes for a domain that matches the From domain. - Match what you see to one of the causes below.
In raw headers, the line to look for starts with Authentication-Results. A failing one reads something like:
dkim=pass [email protected]
spf=pass smtp.mailfrom=bounces.mailservice.net
dmarc=fail (p=NONE) header.from=yourbusiness.com
Both checks passed here, but for mailservice.net, not for yourbusiness.com. That’s cause number one.
1. A sending service signs with its own domain
This is the most common cause. Newsletter tools, CRMs, invoicing apps and shop platforms send on your behalf, and until you set them up, they sign with their own DKIM key. Everything passes except the part that matters.
Fix: in that service’s settings, find “domain authentication”, “custom DKIM” or “sending domain”. It gives you two or three DNS records, usually CNAMEs. Add them, wait for the service to confirm, and send a new test.
2. The sending service isn’t in your SPF record
If the service doesn’t sign with DKIM for you, SPF has to carry DMARC, and the service’s servers must be listed in your SPF record. Look for spf=fail or spf=softfail in the headers.
Fix: add the service’s include: to your single SPF record. Don’t create a second SPF record. Two SPF records make both invalid.
3. SPF has too many lookups
SPF allows at most 10 DNS lookups. Each include:, a and mx counts, and includes inside includes count too. Go over and SPF returns permerror, which counts as a fail.
Fix: remove services you no longer use. Prefer DKIM for each service, so that it doesn’t need to be in SPF at all. Avoid “SPF flattening” services unless you’ll keep them maintained, because providers change their addresses.
4. The email was forwarded
When someone forwards your email, or it goes through a forwarding address, the forwarder’s server delivers it. SPF then checks the forwarder’s servers, not yours, and fails. DKIM usually survives forwarding, so if DKIM passes for your domain, DMARC still passes.
Fix: make sure DKIM signs with your domain. That is the only fix you control. Many forwarders also add ARC headers, which some inboxes trust in place of the broken SPF.
5. The email was changed after it was signed
Mailing lists add footers and change subject lines. Some company security systems rewrite links. Either change breaks the DKIM signature, and you’ll see dkim=fail (body hash did not verify).
Fix: there isn’t one on your side for mailing lists, which is why most lists now rewrite the From address. If your own systems change mail after signing, have the signing happen last.
6. You send from Gmail or another personal account as your domain
Gmail’s “Send mail as” and similar features send through the provider’s servers, signed as that provider. Nothing in the email belongs to your domain, so DMARC fails every time.
Fix: send from a mailbox hosted on your domain, or through a service that signs with your domain.
DKIM fail, on its own
A DKIM fail can come from three places, and the headers usually say which:
- body hash did not verify: the message was changed after signing (cause 5 above).
- no key for signature: the DNS record for the selector in the signature, at
selector._domainkey.yourbusiness.com, is missing. Someone deleted it, or the service rotated keys and the new record was never added. - key too short or invalid: keys under 1024 bits are rejected by Gmail. Use 2048-bit keys where your provider offers them.
After the fix
Send a fresh test and check it again. Old emails won’t change, because their results were recorded when they arrived. Once your own mail passes, check your record with the DMARC checker, and if it’s still at p=none, plan the move to a stricter policy so forgeries stop too.
Questions people ask
Why does DMARC fail when SPF and DKIM pass?
Because DMARC also needs alignment. SPF and DKIM can pass for the sending service's own domain, like mailgun.org, while your From address says yourbusiness.com. DMARC only passes when a passing check is for your domain.
Does DMARC need both SPF and DKIM to pass?
No. One is enough, as long as it passes for a domain that matches your From address. DKIM is the safer one to rely on, because it survives forwarding.
Is a DMARC fail always a problem?
Not always. Some fails are forgeries, which is DMARC doing its job. A fail only needs fixing when it's your own genuine mail failing.
What does dkim=fail body hash did not verify mean?
The email was changed after it was signed. A mailing list footer, a security gateway or an email forwarder rewrote part of it, so the signature no longer matches.
Will DMARC fail mean my email bounces?
Only if your policy says so. With p=none the email is delivered as usual. With p=quarantine it goes to spam, and with p=reject it is refused.
Use these tools
Related guides
SPF, DKIM and DMARC Explained in Plain English
SPF lists who may send your email, DKIM signs each message, and DMARC says what to do when both fail. What each record looks like, how they fit together, and how to check yours.
How to Set Up DMARC in 5 Steps (and When to Move to Reject)
Set up DMARC for your domain in five steps: check SPF and DKIM, add one TXT record, read the reports, then move from p=none to quarantine and reject. With copy-ready records.
Why Are My Emails Going to Spam? How to Find the Cause and Fix It
Your emails land in spam for a reason you can find in two minutes. Test one email, read its headers, and fix the cause: missing DMARC, a new domain, list habits or the content.