DKIM 'no key for signature' or 'key not found': how to fix it
Updated 10 November 2026 · 4 min read
Short answer
"No key for signature" means the receiver looked for the public key at <s>._domainkey.<d> (selector and domain from the DKIM-Signature header) and found nothing usable. Check that exact name with dig TXT; the usual causes are a key that was never published or was published at the wrong host, a doubled domain (google._domainkey.acme.com.acme.com), a DKIM CNAME proxied through Cloudflare, or signing switched on before the record was live.
Find where the receiver looked
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acme.com; s=google; ...
→ receiver queries TXT google._domainkey.acme.com
$ dig +short TXT google._domainkey.acme.com
(nothing) ← this is the problemCauses and fixes
| Cause | How to spot it | Fix |
|---|---|---|
| Record never published | No answer for the name | Publish the key from your provider's console |
| Published at the wrong DNS host | Your panel shows it, dig doesn't | Add it where the domain's nameservers point |
| Domain doubled in the host | Record exists at google._domainkey.acme.com.acme.com | Re-enter host as google._domainkey only |
| Cloudflare proxy on a DKIM CNAME | CNAME query returns Cloudflare IPs/no TXT | Set the record to DNS only |
| Selector mismatch | Signature has s=google2, DNS has google | Publish the selector actually used, or regenerate |
| Key revoked | Record exists with empty p= | Publish the current key |
| Signing for a different d= | d= is acme-mail.com or onmicrosoft.com | Enable DKIM for the domain in the From address |
Provider-specific notes
- Google Workspace: publish the TXT, then click Start authentication. Clicking first makes Google sign with a key nobody can find.
- Microsoft 365: the two selectors are CNAMEs to Microsoft-hosted keys; status
CnameMissingmeans the CNAMEs aren't visible yet. - SendGrid, SES: the selector names are fixed by the provider (
s1,s2, or SES tokens). Copy them exactly.
Is it neutral or fail?
Receivers report a missing key differently: Gmail typically shows dkim=neutral (no key for signature), others dkim=permerror or dkim=fail. For DMARC they all mean the same thing: DKIM did not pass, so DMARC needs aligned SPF to pass instead.
Check the result
Enter the selector from the s= tag in the optional selector box to look up exactly that key. Run the domain through the free ReplyDak deliverability check: it reads MX, SPF, DKIM and DMARC live from public DNS, counts SPF lookups and checks the main blocklists, with no sign-up. If your DKIM selector is not a common one, type it into the optional selector box.
More setups and errors: SPF, DKIM and DMARC by provider, DNS host and error.
FAQ
Where does the receiver look for the DKIM key?
At the TXT record <s>._domainkey.<d>, using the s= selector and d= domain from the DKIM-Signature header.
Why does my DNS panel show the DKIM record but checks can't find it?
Your domain's nameservers point to a different DNS host, or the host name was doubled.
Does 'no key for signature' fail DMARC?
Not by itself. DMARC can still pass if SPF passes and aligns.