DKIM is the wax seal on a letter. Together with SPF and DMARC, it helps decide whether a message lands in your inbox or in spam.
In plain English
The sending server takes a fingerprint of the email and signs it with a private key. The domain publishes the matching public key in its DNS. The receiving server fetches that key and checks the signature. If it matches, the email is genuine and unchanged. Change a single word in transit and the check fails. The standard is RFC 63761.
Example: a DKIM signature
The signature sits in the email’s headers, out of sight. Shortened, it looks like this:
DKIM-Signature: v=1; a=rsa-sha256; d=example.com; s=mail2026; h=from:to:subject:date; bh=…; b=…d=is the domain that signed the message.s=is the selector. The public key lives atmail2026._domainkey.example.com.h=lists the signed headers;b=is the signature itself1.
What it means for you
There’s nothing to set up on your end. Gmail requires every sender to use SPF or DKIM, and bulk senders need both plus DMARC2. The UK’s NCSC recommends DKIM as part of its anti-spoofing guidance3.
The result shows up in the headers, for example dkim=pass header.d=example.com. What matters is which domain signed: if it doesn’t match your bank or the store, be careful. Our free phishing check reads those lines for you. If you already clicked something, see what to do after clicking a phishing link.
How it differs from SPF and DMARC
SPF checks the server. DKIM checks the content and the signing domain. Neither says what should happen to a message that fails. That’s DMARC’s job.
The short version
- DKIM digitally signs every email; the key lives in DNS.
- Receiving servers spot forgeries and changes in transit.
- Defined in RFC 6376, recommended by the NCSC.
- With dkim=pass, check which domain actually signed.