Email security

DMARC Fail: What It Means, Why It Happens and How to Fix It

A DMARC fail is not a mystery error. It means neither SPF nor DKIM proved the message really came from your domain — and the fix depends on which check broke.

Cysoro Security TeamPublished · 9 min read
EMAIL SECURITY DMARC FAIL What it means, why it happens, and how to fix it fast. CYSORO.COM dmarc=fail (p=NONE) spf=fail dkim=fail header.from=you.com ALIGN ONE CHECK. PASS.
Quick answer

A DMARC fail means an email claiming to come from your domain failed DMARC authentication: neither SPF nor DKIM passed and aligned with the domain in the visible From header. The message is then handled according to the policy in your DMARC record: delivered anyway at p=none, sent to spam at p=quarantine, or rejected at p=reject. Most fails come from misconfigured legitimate senders, not attackers.

Key takeaways

  • DMARC passes when SPF or DKIM passes and aligns with the From domain; it fails when neither does.
  • SPF and DKIM can both pass yet DMARC still fails, because they passed for your provider's domain instead of yours.
  • Fix the cause in your DMARC aggregate reports first, then move from p=none to p=quarantine and finally p=reject.

You open a DMARC report and see a wall of failures, or a customer tells you your invoices are landing in spam. A DMARC fail sounds like a single error, but it is really a symptom with several possible causes — and the fix is different for each one.

What does a DMARC fail mean?

A DMARC fail means neither SPF nor DKIM passed and aligned with the domain in the visible From header. DMARC does not run its own authentication check; it takes the SPF and DKIM results and asks one extra question: did either of them pass for the domain your recipient actually sees?

That extra question is called alignment. SPF checks the domain in the return path, also known as the envelope sender. DKIM checks the domain in the signature, the d= value. If neither matches the From domain, DMARC fails — even if both checks passed for some other domain.

DMARC passes when at least one of SPF or DKIM passes and aligns. You do not need both. This is the single most important fact for diagnosing a fail, because it tells you that fixing only one aligned check is enough.

A fail does not by itself mean an attack happened. In practice, most DMARC fails are your own legitimate mail, sent through a platform nobody remembered to authenticate. The reports tell you which it is.

Why does DMARC fail even when SPF and DKIM pass?

DMARC fails in this situation because SPF and DKIM passed for your email provider's domain, not yours. Your provider signs outgoing mail with its own DKIM key and uses its own bounce domain for SPF, so both checks succeed — for the wrong domain.

Here is a typical example. Your company sends mail from Google Workspace. Google signs the message with d=yourdomain.gappssmtp.com until you set up custom DKIM, and SPF passes for Google's return path. Your recipient sees From: [email protected], but nothing authenticated yourdomain.com itself.

The same pattern happens with marketing platforms, CRMs and help desks. They send on your behalf by default, using their own domains for signing and return paths, unless you configure custom DKIM and a custom return path in their settings.

Strict alignment makes this worse. If your DMARC record sets aspf=s or adkim=s, the domains must match exactly instead of just sharing an organizational domain. Mail sent from a subdomain then fails even when it is legitimate.

How DMARC decides pass or failSPF checkReturn-path domainpasses?DKIM checkSignature domain (d=)passes?AlignmentDoes it match thevisible From domain?DMARC PASSAt least one check passesAND aligns with FromDMARC FAILNeither check passesand aligns — policy applies
DMARC passes when SPF or DKIM passes and aligns with the From domain. Both can pass for another domain and still fail. Illustration by Cysoro.

What happens when DMARC fails?

What happens to a failing message is decided by the policy in your DMARC record, not by DMARC itself. The same failure can be delivered, quarantined or rejected depending on the p= tag you published.

At p=none, the receiver delivers the message normally and sends you an aggregate report. Nothing is blocked, which is why p=none is the right starting point. You can see failures without losing mail.

At p=quarantine, the receiver treats failing mail as suspicious, usually by sending it to the spam folder. Your legitimate mail still arrives, but many recipients never look in spam.

At p=reject, the receiver refuses the message outright. It bounces back to the sender and never reaches the inbox. That is the strongest protection against spoofing, and the riskiest policy if your own senders are not yet authenticated.

PolicyWhat the receiver doesRisk to your own mailProtection against spoofing
p=noneDelivers the message, sends you reportsNoneNone — monitoring only
p=quarantineSends failing mail to spamSome mail lands in spamModerate
p=rejectRefuses the message; it bouncesUnauthenticated mail is lostStrongest

The stakes are real. The FBI's Internet Crime Complaint Center recorded 193,407 phishing and spoofing complaints in 2024, and business email compromise — which often starts with a spoofed or look-alike domain — cost victims $2.77 billion across 21,442 complaints, according to Infosecurity Magazine's report on the FBI's 2024 figures. A p=reject policy is one of the few controls that directly stops exact-domain spoofing.

Google also now enforces authentication. Since February 1, 2024, senders to Gmail must set up SPF or DKIM, and bulk senders sending more than 5,000 messages a day to Gmail accounts must have SPF, DKIM and DMARC in place, under Google's email sender guidelines. Unauthenticated mail can be rejected with a 5.7.26 error.

The 6 most common causes of a DMARC fail

Most DMARC failures trace back to one of six causes. Work through them in order, because the fix for each one is different and fixing the wrong one wastes a reporting cycle.

  1. DKIM signed with the provider's domain. Your email provider signs with its own domain by default. Fix it by setting up custom DKIM in the provider's dashboard and publishing the CNAME or TXT records it gives you.
  2. A third-party sender was never authorized. A CRM, newsletter tool or help desk sends mail from your domain, but you never added its SPF include: or enabled its DKIM signing. Fix it by authorizing each service you actually use.
  3. SPF passes for the provider's bounce domain. SPF passed, but for the return path your provider uses, not your domain. Fix it by configuring a custom return path on a subdomain of yours, such as bounce.yourdomain.com.
  4. Strict alignment with a subdomain. Your record sets aspf=s or adkim=s, so mail from a subdomain fails. Fix it by removing the strict tags and using relaxed alignment, the default.
  5. Email forwarding or mailing lists. Forwarding breaks SPF because the forwarder's IP is not in your record, and can break DKIM if content changes. Fix it by making sure DKIM is enabled everywhere, since an unmodified DKIM signature survives forwarding.
  6. DNS mistakes. A missing, duplicated or mistyped record, an SPF record with too many DNS lookups, or a DKIM key that expired. Fix it by checking every record with a checker and removing services you no longer use.

One cause deserves a warning of its own: an SPF record that exceeds 10 DNS lookups fails permanently. Every include: adds lookups, and services you stopped using still count. Audit your SPF record at least once a year.

How to find out why your DMARC failed

Start with the evidence, not with a guess. DMARC aggregate reports, sent daily to the address in your rua= tag, show exactly which sending sources failed and whether the problem was SPF, DKIM or alignment.

First, read a real message header. Send a test email to yourself and look for the Authentication-Results header. A line like dmarc=fail (p=NONE) header.from=yourdomain.com confirms the failure, and the spf= and dkim= results beside it show which check broke.

Second, check the DKIM signature. The d= value in the DKIM-Signature header tells you which domain signed the message. If it is your provider's domain instead of yours, you have found the problem.

Third, map every failing IP address in your aggregate reports to a sending service. A reverse DNS lookup on the IP usually names the provider. Then ask one question per source: is this a service we use, and did we authorize it?

Fourth, run your domain through a checker. Cysoro's DMARC checker shows whether your record is published and what policy it sets.

Check the SPF record with the SPF checker.

Check the DKIM record with the DKIM checker.

If you are still learning the three protocols, read our guide to what DMARC is first.

Diagnose a DMARC fail in four steps1Read headersFind dmarc=fail andthe spf and dkimresults beside it2Check DKIM d=Is the signingdomain yours oryour provider's?3Map failing IPsReverse DNS oneach failing IP inaggregate reports4Verify DNSCheck SPF, DKIMand DMARC recordsare published
Work from evidence: headers first, then reports, then DNS. Illustration by Cysoro.

How do I fix a DMARC fail?

Fix the root cause for each failing source, one at a time, and verify with the next day's reports. Changing your policy before your legitimate mail passes only turns a warning into lost mail.

Start by listing every service that sends email from your domain: your main mail provider, marketing platform, CRM, help desk, invoicing tool, website forms and any transactional mail service. Most small businesses find at least one they forgot.

For each service, do two things. First, enable its custom DKIM signing and publish the records it gives you. Second, add its include: to your SPF record or set up a custom return path, so SPF aligns too. One aligned check is enough, but having both gives you resilience when forwarding breaks one of them.

Then publish a monitoring record if you do not have one yet: v=DMARC1; p=none; rua=mailto:[email protected] at _dmarc.yourdomain.com. Wait for a full reporting cycle, usually 24 to 48 hours, and check whether each source now passes.

If a failing source is one you do not recognize, do not authorize it. That is the pattern of a spoofing attempt or a forgotten service. Investigate first, and tighten your policy once you are sure it is not legitimate.

Do not edit DNS by guessing. Copy each record exactly as the sending service provides it. A single mistyped character in a DKIM key or SPF include creates a new failure that looks identical to the old one in your reports.

How to move safely to p=quarantine and p=reject

Move in stages, and let the reports prove each stage before you take the next one. A safe rollout takes weeks, not hours, and that is normal.

Stay at p=none until your aggregate reports show every legitimate source passing DMARC for at least two weeks. That includes the services that send rarely, such as quarterly invoices or annual renewal reminders, which will not appear in a single week's reports.

Then move to p=quarantine with a low percentage, for example p=quarantine; pct=25, and raise the percentage over two to four weeks until it reaches 100. Watch for complaints about missing mail at each step, especially from customers using strict spam filters.

Only then move to p=reject, again starting at a low percentage if you want extra caution. Once you are at full p=reject, keep the rua= reporting address in place. New services, acquisitions and staff experiments will create new failures, and the reports are how you catch them early.

Google's bulk sender rules accept a DMARC policy of p=none as the minimum, so there is no deadline forcing you to rush. The protection is worth having, but only after your own mail is clean. If you send bulk mail, also read our guide to DKIM so your signing is solid before you enforce.

Common mistakes that keep DMARC failing

A few mistakes cause most repeat failures, and they are easy to avoid once you know them. Check for these before you assume the problem is complicated.

  • Two DMARC records. Publishing a second TXT record at _dmarc instead of editing the first one makes receivers ignore both. There must be exactly one.
  • SPF with too many lookups. The 10-lookup limit counts every include:, and nested includes count too. Remove dead services before adding new ones.
  • Forgetting subdomains. Mail from mail.yourdomain.com needs its own authentication or a DMARC record that covers it. The sp= tag sets the policy for subdomains.
  • DKIM keys that were never published. Enabling DKIM in a provider's dashboard is only half the job. Until the public key is in your DNS, verification fails.
  • Stopping at p=none. A monitoring policy tells you about spoofing but does nothing to stop it. It is a starting point, not a finished deployment.
  • Ignoring the reports. Aggregate reports are the only way to see new senders and new failures. Set a monthly reminder to review them, or use a reporting tool that flags changes.

DMARC also does not protect look-alike domains on its own. An attacker registering yourdoma1n.com passes DMARC for that domain, because it is a different domain. Pair enforcement with look-alike domain monitoring and staff training, as covered in our spear phishing guide.

The bottom line

A DMARC fail means neither SPF nor DKIM proved the message came from the domain in the From header. In most cases the sender is legitimate and misconfigured, so the fix is to find the failing source in your reports, align one check for it, and verify the next day.

Once every legitimate source passes, move to p=quarantine and then p=reject in stages. Run your domain through Cysoro's free DMARC checker to confirm your record is published and your policy is what you think it is.

Frequently asked questions

What does dmarc=fail mean in an email header?

It means the message failed the DMARC check for the domain in the From header. Neither SPF nor DKIM produced a passing, aligned result for that domain, so the receiving server applied the policy published in the domain's DMARC record.

Why does DMARC fail when SPF and DKIM both pass?

Because DMARC also checks alignment. SPF may have passed for your provider's bounce domain and DKIM may have passed for your provider's domain, while neither matched the domain your recipients see in the From header. Alignment, not just passing, is what DMARC requires.

Does a DMARC fail mean my domain was spoofed?

Not always. Most DMARC fails are legitimate mail sent through a service that was never authorized or configured correctly, such as a marketing platform or help desk. A fail from an unknown IP address or sending service you do not recognize is the pattern that points to spoofing.

What happens to an email when DMARC fails?

It depends on your published policy. At p=none the message is delivered and you get reports. At p=quarantine the receiver usually sends it to spam. At p=reject the receiver refuses the message, so it bounces and never reaches the inbox.

How long does it take to fix a DMARC fail?

A single DNS fix, such as adding an SPF include or enabling custom DKIM, usually takes effect within a few hours once DNS propagates. Confirming the fix takes longer: DMARC aggregate reports arrive daily, so allow 24 to 48 hours to see the failing source pass.

Can email forwarding cause a DMARC fail?

Yes. Forwarding often breaks SPF because the forwarding server's IP address is not in your SPF record, and it can break DKIM if the forwarder changes the message content. DKIM-signed mail that is forwarded without modification usually still passes, which is one reason DKIM matters.

Should I set my DMARC policy to p=reject right away?

No. Start at p=none and read your aggregate reports until every legitimate sending service passes. Then move to p=quarantine for a few weeks, and only then to p=reject. Jumping straight to reject can block your own invoices, password resets and marketing mail.

Does DMARC stop all phishing from my domain?

No. DMARC at p=reject stops attackers from sending mail that uses your exact domain, but it cannot stop look-alike domains, display-name tricks, or mail sent from a genuinely compromised account. It is one layer, not a complete defense.

Sources

  1. EasyDMARC — DMARC Fail: Causes, Implications, and Solutions
  2. Valimail — DMARC fail? Here's what it means and how to fix it
  3. DMARC Report — Why DMARC Fails: Complete Troubleshooting Guide (2026)
  4. Google — Email sender guidelines
  5. Infosecurity Magazine — FBI Reveals $16.6bn Lost to Cybercrime in 2024
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against RFC 7489, Google's email sender guidelines and the DMARC failure guides from EasyDMARC, Valimail and DMARC Report.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free