Black Friday: 60% off yearly plans with code BF2026, until November 30. See the deal

Troubleshooting

DMARC failure: why it happens and how to fix it

A DMARC failure means neither SPF nor DKIM passed in alignment with the domain in the From header. Most cases are a third-party sender signing or sending as its own domain, a misaligned subdomain, a broken SPF record, or forwarding that changed the message.

The short answer
  • DMARC needs one aligned pass. A pass that is not aligned with the From domain does not count.
  • Authentication-Results in the received message says which of SPF, DKIM, DMARC failed.
  • Fix DKIM first. It survives forwarding, SPF usually does not.
Try the dmarc checkerFree, live, no signup

How do you diagnose a DMARC failure?

  1. 01

    Open the headers of a failed message

    Find Authentication-Results and note spf=, dkim= and dmarc= results.

  2. 02

    Compare domains

    Compare the From domain with the SPF MAIL FROM domain and the DKIM d= domain.

  3. 03

    Check both mechanisms

    Run the SPF checker and verify the DKIM record exists at selector._domainkey.

  4. 04

    Look at the reports

    See which sending IPs fail in your aggregate reports.

  5. 05

    Apply the fix for that cause

    Use the table below, then resend and recheck headers.

What causes DMARC to fail?

Cause, symptom, fix
CauseWhat you seeFix
Third-party sender signs as its own domaindkim=pass but d= is the vendor domain, SPF passes for a vendor bounce domainEnable custom domain DKIM at the vendor so d= is your domain
SPF permerrorspf=permerror (two records or over 10 lookups)Merge records and trim lookups, see SPF too many lookups
Strict alignment on subdomainsaspf=s or adkim=s with mail from a subdomainUse relaxed (r), or make the domains match exactly
Message modified in transitdkim=fail, body hash did not verifyStop footers or rewrites after signing, or sign at the last hop
Forwardingspf=fail after a forward, DKIM intactRely on aligned DKIM
DKIM record missing or typodkim=none or key not foundRepublish the key and check the selector

What does alignment mean exactly?

Relaxed (default)

The organizational domains match. mail.example.com aligns with example.com.

Strict

The domains must be identical. mail.example.com does not align with example.com.

Either path is enough

DMARC passes if SPF aligns or DKIM aligns. Only one needs to.

Source: RFC 7489, sections 3.1.1 and 3.1.2.

Before moving to reject

If failures come from a service you use, fix it while the policy is p=none or low pct quarantine. At p=reject, failing mail is refused and never delivered.

What should you verify after the fix?

  • A new test message shows dmarc=pass with the expected header.from domain
  • Aggregate reports show the sending IP passing for a full day
  • The same fix is applied to every service that sends as the domain
  • No second SPF or DMARC record was created while fixing

Common questions

Why does DMARC fail when SPF and DKIM both pass?

Because the passing domains are not aligned with the From domain. SPF may pass for a vendor bounce domain, and DKIM may be signed by the vendor domain. DMARC needs the From domain to match one of them.

How do I fix a DMARC failure from Mailchimp, SendGrid or another bulk sender?

Complete the vendor domain authentication so it signs with your domain as d= and uses your domain in the return path if offered. Follow the vendor DNS instructions exactly, then recheck headers.

Does forwarding cause DMARC failure?

It can. Forwarding changes the sending IP, which breaks SPF, so DMARC then depends on DKIM staying valid. If the forwarder changes the signed content, both fail.

What happens to mail that fails DMARC?

It depends on the published policy: none delivers it, quarantine usually sends it to spam, reject refuses it. Receivers can also apply their own judgment.

Is dmarc=fail the same as the message being rejected?

No. The header shows the result of the check, not the action. Delivery then depends on your published policy and the receiver own rules. A failure at p=none is delivered normally.

How do I find which sender is failing?

Open the aggregate reports and sort by sending IP. Match the IP or its reverse DNS to a service, then compare its SPF and DKIM domains against your From domain.

Watch your domains automatically

Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.