
A troubleshooting guide for when a DKIM signature failed: how DKIM works, reading results in headers, seven common causes, a step-by-step fix, platform-specific notes for Google Workspace and Microsoft 365, and how to prevent future failures.
💡 TL;DR
"DKIM signature failed" (dkim=fail in headers) means the receiving server couldn't verify the cryptographic signature on your email. The usual causes: the public key isn't published or the selector is wrong, signing was never turned on in Google Workspace or Microsoft 365, the key was rotated without updating DNS, the DNS record is malformed, or the message was changed after signing (footers, link rewriting, forwarding). Check Show original in Gmail, look up selector._domainkey for your domain, fix the record or the modifying system, and re-test before sending more.
DKIM is the part of email authentication most people set once and forget. Then one day a header says dkim=fail, DMARC starts failing, and placement drops. Because DKIM involves keys, selectors and exact DNS formatting, small mistakes break it completely — and the error messages are rarely specific.
This guide explains why a DKIM signature failed and how to fix each cause, with specifics for Google Workspace and Microsoft 365, the two platforms most cold email runs on. It's practical, not theoretical: what to look at, in what order, and how to confirm the fix.
By the end of this, you'll know exactly how to read DKIM results in headers, which of the seven common causes you're facing, and how to stop DKIM breaking again after DNS or tool changes.
How DKIM Works in 60 Seconds
Your mail server signs each message with a private key, adding a DKIM-Signature header.
That header names the signing domain (d=) and a selector (s=).
The receiver looks up the public key at selector._domainkey.yourdomain.com.
It checks the signature against the message headers and body.
If anything doesn't match — missing key, wrong key, changed content — DKIM fails.
DMARC then checks whether a passing DKIM signature's domain aligns with your From domain. Our SPF, DKIM and DMARC guide covers the full picture.
Read the Result in Your Headers
In Gmail, open the message, choose Show original and look at the summary and the Authentication-Results line. Common DKIM results:
Result | What it means | Where to look |
|---|---|---|
dkim=pass | Signature verified | Check alignment with DMARC too |
dkim=fail (body hash did not verify) | The message body changed after signing | Footers, link rewriting, forwarding |
dkim=fail (signature did not verify) | Key mismatch or header changes | Published key vs signing key |
dkim=neutral / no key / permerror | Public key not found or malformed | DNS record and selector |
No DKIM result at all | Message wasn't signed | Signing not enabled at the provider |
Exact wording varies by receiver, but these patterns point you to the right cause.
7 Reasons a DKIM Signature Failed
1. Signing isn't enabled
In Google Workspace, you generate a key in the Admin console, publish it in DNS, then click to start authentication. Publishing the record without starting authentication leaves mail unsigned. In Microsoft 365, publishing the two selector CNAMEs without enabling DKIM signing for the domain has the same effect.
2. Wrong or missing selector record
Google Workspace's default selector is "google"; Microsoft 365 uses selector1 and selector2 CNAMEs. Check the s= value in the DKIM-Signature header and look up that exact selector.
3. Malformed DNS record
Long keys must be entered correctly: no missing characters, no extra quotes or spaces in the wrong places, and correctly split strings if your DNS host requires splitting. A single typo breaks the key.
4. Key rotated, DNS not updated
If keys were regenerated in your admin console but the old public key is still in DNS (or vice versa), signatures won't verify.
5. Message modified after signing
Security gateways that rewrite links, systems that add footers or disclaimers, and mailing lists that change subjects can all break the body or header hash.
6. Forwarding
Plain forwarding usually preserves DKIM, but forwarders that modify messages break it. See our ARC guide for how receivers handle forwarded mail.
7. DNS changes during a migration
Moving DNS hosts or providers without copying the DKIM records is one of the most common causes of sudden failures — see our migration guide.
Fix a Failed DKIM Signature Step by Step
Send a test from the affected inbox to a Gmail address you control and open Show original.
Note the d= domain and s= selector in the DKIM-Signature header (if there is one).
Look up selector._domainkey.yourdomain.com with a DNS tool — see our DNS checkers.
Compare the published key with the one in your Google Admin console or Microsoft Defender DKIM settings.
Fix the record or enable signing; wait for DNS to update.
Re-send the test and confirm dkim=pass and DMARC pass.
If the body hash still fails, test without any gateway, footer or tracking in the path to find what modifies the message.
🚩 Don't Keep Sending While DKIM Fails
Unsigned or failing mail is far more likely to be filtered, and repeated failures can hurt domain reputation. Pause campaigns on the affected domain until DKIM passes.
Platform-Specific Notes
Google Workspace | Microsoft 365 | |
|---|---|---|
Where to manage DKIM | Admin console → Gmail → Authenticate email | Microsoft Defender portal → Email authentication settings → DKIM |
Record type | TXT at google._domainkey (default selector) | Two CNAMEs: selector1._domainkey and selector2._domainkey |
Final step people miss | Start authentication after publishing | Enable signing for the domain after publishing |
Key length | 2048-bit where your DNS host supports it | Managed by Microsoft; rotation available |
Menu names change over time, so follow the current admin documentation. Our guides to Google Workspace deliverability and sending cold email from Outlook cover setup.
DKIM Passes but DMARC Fails? Check Alignment
Sometimes the DKIM signature didn't fail at all — it passed, but for the wrong domain. If your sending platform or a third-party service signs with its own domain (d=platform.com) instead of yours, DKIM shows pass while DMARC fails, because the signing domain doesn't align with your From address.
Header shows | Meaning | Fix |
|---|---|---|
dkim=pass with d=yourdomain.com | Aligned | Nothing to fix |
dkim=pass with d=someone-else.com | Not aligned | Set up DKIM signing with your own domain |
dkim=fail | Not verified | Work through the causes above |
Cold email sent through Google Workspace or Microsoft 365 mailboxes signs with your domain once DKIM is set up correctly. Alignment issues are more common with marketing tools and email service providers that send on your behalf. Our DNS checkers guide covers tools that show alignment clearly.
Microsoft 365 users should also confirm that both selector records are published even if only one is active, because Microsoft switches between them during key rotation. A missing second selector can cause failures weeks after setup, when rotation happens. See our Microsoft 365 setup mistakes guide for related issues.
Keep DKIM From Breaking Again
Document every domain's DKIM selector and record value in one shared, up-to-date sheet.
Re-test DKIM after any DNS move, website migration or email provider change.
Run a monthly authentication check across all sending domains, including ones currently resting.
Avoid tools that rewrite message bodies in cold email, such as link shorteners and heavy click tracking.
Use DMARC reports to catch failures early — see our BIMI guide for why enforcement matters.
Scenario: The Website Migration That Broke DKIM
A company moved its website to a new host, which also took over DNS. The migration copied A and MX records but not the DKIM TXT records for three outreach domains. Overnight, headers showed dkim=fail (no key), DMARC failed, and replies fell sharply — a classic case for our reply rate drop checklist. Republishing the records from the Google Admin console restored dkim=pass within hours. The team added "re-test authentication" to their change checklist.
Start With Authentication Already Working
Litemail's pre-warmed inboxes come with SPF, DKIM and DMARC pre-configured and 4–12 weeks of sending history, at $4.99/inbox on Google Workspace or Microsoft 365, with full admin access so you can verify and manage records yourself. Even then, re-test after any DNS change.
Authentication That Holds Up — Start with DKIM already passing and re-test after every change. Compare providers in our 2026 ranking. Get Pre-Warmed Inboxes from $4.99 → About Litemail — Litemail provides pre-warmed Google Workspace and Microsoft 365 inboxes for cold email outreach. From $4.99/inbox with automated DNS, dedicated US and EU IPs, and full admin access. View pre-warmed inbox plans →
Related reading: Email DNS Authentication Checkers · ARC Email Authentication · Outlook 550 5.7.708 Error · Gmail 421 4.7.28 Error · SPF, DKIM and DMARC Setup Guide · Litemail Pre-Warmed Inboxes — Plans and Pricing
Key Takeaways
"DKIM signature failed" means the receiver couldn't verify your email's cryptographic signature.
Check Show original in Gmail for the dkim= result, the d= domain and the s= selector.
Common causes: signing not enabled, wrong selector, malformed record, rotated keys, modified messages and DNS migrations.
Google Workspace uses a TXT record (default selector "google"); Microsoft 365 uses two selector CNAMEs plus enabling signing.
Pause campaigns on a domain until DKIM passes again.
Re-test DKIM after any DNS, website or provider change, and check all domains monthly.
Frequently Asked Questions
What does DKIM signature failed mean?
The receiving server couldn't verify the DKIM signature on your email, usually because the public key is missing or wrong, signing isn't enabled, or the message changed after signing.
How do I check if DKIM is passing?
Send a test to Gmail, open Show original and look for DKIM: PASS. You can also look up selector._domainkey.yourdomain.com with a DNS tool.
What does 'body hash did not verify' mean?
The message body changed after it was signed — often due to footers, link rewriting or a forwarding system modifying the message.
What is the DKIM selector for Google Workspace?
The default is "google," published as a TXT record at google._domainkey.yourdomain.com, though you can choose a different prefix.
How do I set up DKIM for Microsoft 365?
Publish the selector1 and selector2 CNAME records Microsoft provides, then enable DKIM signing for the domain.
Can DKIM failure hurt deliverability?
Yes. Failing DKIM can cause DMARC failures and more filtering, especially at Gmail and Microsoft.
Do Litemail inboxes come with DKIM configured?
Yes. Litemail inboxes come with SPF, DKIM and DMARC pre-configured, and you have full admin access to verify them.
Buy Pre-Warmed Email Inboxes & Domains | Litemail
Send from inboxes where DKIM, SPF and DMARC already pass. Pre-warmed Google Workspace & Microsoft 365 inboxes from $4.99/inbox, automated DNS, US & EU IPs, setup in about 5 minutes.
No minimum order · SPF, DKIM, DMARC pre-configured · Full admin access · US and EU IPs
Related reading: Email DNS Authentication Checkers · BIMI for Cold Email · Migrating Mailboxes · Microsoft 365 Setup Mistakes · Cold Email Deliverability Guide 2026 · Litemail Home


