DMARC fail: why it happens and how to fix it
DMARC ties the two technical checks, SPF and DKIM, to the address people actually see in the From line. A message passes DMARC when at least one of them passes for a domain that matches the From address: the same domain or, under the default relaxed setting, one that shares its main registered domain. "DMARC fail" means neither did, even if one of them passed for some other domain.
What happens to a failing message depends on your policy. With p=none DMARC asks the receiver to take no action, so its own spam filtering decides, with p=quarantine it usually goes to spam, and with p=reject the receiver can refuse it outright. Run the check below to see your policy and whether SPF and DKIM are set up for your domain.
DNS Mail Check is a service for owners of business and organization domains. The checks on this page are free for any domain.
Find the failing sender, then the reason
Pin down which source is failing, then check whether it signs with your domain, whose domain SPF passes for, and whether your record demands strict alignment.
Read moreShow less: Find the failing sender, then the reason
- Which mail is failing? DMARC failures usually come from one or two sending sources, not your whole domain. Your aggregate reports (the
ruaaddress in your record) list the servers each reporting receiver saw sending as you, and whether they passed. For a single message, paste its headers into the header analyzer and compare three domains:header.from(the From address),smtp.mailfrom(used by SPF) andheader.d(used by DKIM). - Does that sender sign with your domain? Use the DKIM lookup with the selector from the message's
s=value. If the signature'sd=is the sending service's domain, DKIM can pass and still not count for DMARC. - Does SPF pass for your domain or for theirs? The SPF checker shows whether your record covers the service, but the deciding question is whose domain sits in the envelope sender. Many services use their own, so SPF passes for them, not for you.
- Is your record stricter than you think? The DMARC lookup shows
adkimandaspf. Withs(strict), a subdomain no longer counts as a match for the main domain.
Causes of DMARC failure, most common first
Six causes, from a service signing with its own domain to real forgery that DMARC is right to fail.
Read moreShow less: Causes of DMARC failure, most common first
1. A sending service signs with its own domain
Newsletter tools, CRMs, helpdesks and invoicing systems often sign with a domain of their own until you complete their domain setup. The message is signed and the signature verifies, but for the wrong name.
- Confirm it: in the header analyzer,
dkim=passsits next to aheader.d=that isn't yours. - Fix it: complete the service's domain authentication. It gives you CNAME or TXT records that let it sign as your domain.
2. SPF passes, but for the service's bounce address
The envelope sender, also called the Return-Path, is where bounces go, and many services set it to an address at their own domain so they can process the bounces. SPF then checks their record and passes, which DMARC ignores because it doesn't match your From domain.
- Confirm it:
smtp.mailfrom=in the headers names the service's domain. - Fix it: if the service offers a custom return path or custom MAIL FROM domain, set it to a subdomain of yours such as
bounces.yourdomain.com. Otherwise rely on DKIM, which is enough on its own.
3. Microsoft 365 or Google Workspace without your own DKIM
Both providers send your users' mail with your domain as the envelope sender, so SPF normally aligns and DMARC passes. Until you turn DKIM on, though, Microsoft 365 doesn't DKIM-sign mail from your custom domain at all, and Google doesn't sign with your domain either. That works until the message is forwarded: SPF then fails at the next server, nothing aligned is left, and DMARC fails.
- Confirm it: the DKIM part of the health check finds no key for your provider's selector.
- Fix it: turn on DKIM for your domain, using the provider steps below.
4. Forwarding and mailing lists
A forwarder resends your message from its own server, so SPF fails there. DKIM normally survives plain forwarding, but a mailing list that adds a footer or tags the subject line changes the signed content and breaks it. Mail that passed at the first hop can fail DMARC at the last one.
- Confirm it: your reports show failures from servers that belong to universities, list hosts or forwarding services rather than spammers, and the same messages passed elsewhere.
- Fix it: make sure every message is DKIM-signed for your domain, since that's what survives forwarding. Some lists rewrite the From address to their own domain for DMARC-protected senders, and some forwarders add ARC headers that record the original results for the final receiver.
5. Strict alignment
adkim=s or aspf=s demands an exact match. A service signing as mail.yourdomain.com passes DMARC for yourdomain.com under the default relaxed setting but fails under strict.
- Confirm it: the DMARC lookup shows
adkim=soraspf=s. - Fix it: sign with the exact From domain, or remove the strict tags if you didn't set them deliberately.
6. Real forgery
Some failures are DMARC working. Spammers and phishers use well-known domains in the From line, and their mail fails because they can't sign as you.
- Confirm it: the failing IP addresses in your reports belong to networks you've never used.
- Fix it: nothing to repair. Once your own senders pass, move to
p=quarantineand thenp=reject, unless your users post to mailing lists: the current DMARC standard advises such domains not to publishp=reject.
Provider fixes
Where Google Workspace, Microsoft 365 and SendGrid let you turn on DKIM for your own domain, and the DNS records each one asks you to publish.
Read moreShow less: Provider fixes
Google Workspace
Turn on DKIM in the Admin console under Apps, Google Workspace, Gmail, Authenticate email: generate the record, publish it as a TXT record at google._domainkey, then click Start authentication. Check that SPF includes _spf.google.com. For the policy itself, Google suggests starting at p=none and tightening gradually while you read the reports.
Microsoft 365
Turn on DKIM in the Microsoft Defender portal under Email & collaboration, Policies & rules, Threat policies, Email authentication settings, on the DKIM tab: publish the two CNAME records it shows for your domain and switch signing on. SPF needs include:spf.protection.outlook.com. Microsoft's DMARC guide lists auto-forwarded mail as a common cause of DMARC failure and recommends DKIM for your domain as the fix.
SendGrid
SendGrid's domain authentication (under Settings, Sender Authentication), with its automated security setting on, gives you four records: three CNAMEs, one for a subdomain such as em1234.yourdomain.com that becomes the bounce address plus s1._domainkey and s2._domainkey for DKIM, and a DMARC TXT record. The numbers and target hostnames are specific to your account. Once SendGrid shows the domain as verified, DKIM aligns with your domain, and SPF does too under the default relaxed setting, because the bounce address is a subdomain of yours.
Worked example: gov.uk, checked 21 October 2026
The gov.uk record passes as valid and enforcing at p=reject, but its strict alignment lets a message pass only with a d=gov.uk signature or an envelope sender at exactly gov.uk.
Read moreShow less: Worked example: gov.uk, checked 21 October 2026
We ran the DMARC lookup on gov.uk, the UK government's domain. It found:
v=DMARC1;p=reject;sp=none;np=reject;adkim=s;aspf=s;fo=1;rua=mailto:dmarc-rua@dmarc.service.gov.uk
The result line was "DMARC is set to p=reject, so receivers are asked to refuse forged mail using this domain." That's a pass: the record is valid and enforcing, and its report address at dmarc.service.gov.uk is authorised to receive reports.
It's also a record under which DMARC failures are easy to cause. p=reject asks receivers to refuse failing mail from gov.uk. adkim=s and aspf=s require an exact match, so only a DKIM signature with d=gov.uk, or an envelope sender at exactly gov.uk, can make a message pass. np=reject covers subdomains that don't exist in DNS, while sp=none only monitors subdomains that do exist and have no record of their own. In practice gov.uk also publishes a wildcard DMARC record with p=reject, which gives most of its subdomains a record of their own.
An illustrative case (not a real message or service): mail with the From address alerts@gov.uk is signed with a subdomain, say d=alerts.gov.uk. Under the default relaxed alignment that would pass, because both names share the organisational domain gov.uk. Under this record it fails, and the receiver is asked to reject it. The exact fix is to sign with d=gov.uk itself, using a key published under gov.uk, or to send from an address at the signing subdomain, alerts@alerts.gov.uk, so the two match exactly. Relaxing the record to adkim=r would also work, but strict alignment here looks deliberate.
When to get help
Ask a service's support when it can't send as your domain, and account for every sender before moving to quarantine or reject.
Read moreShow less: When to get help
If the failing source is a service you pay for and its settings don't offer domain authentication, ask its support how to send as your domain; that's a question for them, not your DNS. If your reports show failures you can't put a name to, find out who sends mail for your organisation before you tighten anything. Moving to quarantine or reject with a sender unaccounted for will send that sender's mail to spam or bounce it.
DMARC failure questions
Answers on failing with both checks passing, whether a fail means rejection, display names, and failures from servers you don't recognise.
Can DMARC fail when SPF and DKIM both pass?
Yes, and it's the most confusing case. SPF can pass for the service's bounce domain and DKIM for the service's signing domain, while neither is your From domain. DMARC only counts a pass for a domain that aligns with the From address, so both passes are ignored.
Does "DMARC fail" mean my email was rejected?
Not necessarily. The receiver checks your policy: with p=none DMARC asks it to take no action and its own filtering decides, with p=quarantine it usually files the message as spam, and with p=reject it may refuse it. Receivers can also apply their own judgement, so the policy is a request rather than a guarantee.
Does DMARC look at the sender's name or the email address?
Only the domain in the From address, the part after the @. The display name, such as "Accounts Team", isn't checked at all, which is why phishers often put a trusted name in front of an unrelated address.
Why do my reports show DMARC failures from servers I don't recognise?
Usually forwarding services, mailing lists or spoofers. Forwarders and lists resend genuine messages from their own servers; spoofers send fake ones. Look up who owns the IP addresses: universities and list hosts are forwarding, unknown hosting networks sending in bulk are usually forgery.
Related problems and tools
Guides: DMARC from none to reject, Reading DMARC reports and Reading email headers.