What is DKIM?

DKIM, DomainKeys Identified Mail, adds a digital signature to every email your domain sends. The receiving server uses a public key in your DNS to confirm the message is unchanged and that your domain signed it.

Talk to an engineer Knowledge base
Diagram of an email passing SPF, DKIM and DMARC checks before reaching the inbox

A seal on each message

The system that sends your mail holds a secret key and uses it to sign each message. The matching public key sits in your DNS. The receiving server looks it up and checks the signature. A pass tells it two things: the message was not changed on the way, and it came from a system you authorized.

Because the signature travels with the message, it still passes when someone forwards your email unchanged, which is where DKIM does better than SPF. It breaks when something edits the message on the way, such as a mailing list that adds a footer.

Every sending service needs its own

DKIM has to be turned on separately for each service that sends as your domain: Microsoft 365, a newsletter platform, the accounting package that emails invoices. Each gets its own key, and several can sit side by side. In Microsoft 365 you add two DNS records that point at keys Microsoft manages; Google Workspace gives you one record to publish.

The service nobody remembered is the usual reason mail starts bouncing once DMARC is enforced. DKIM on its own does not tell receivers what to do with a message that fails; DMARC does that. Our email authentication guide shows how the pieces fit.

When we set up or migrate Microsoft 365, we turn on DKIM signing and publish the records, then check the other services a business sends from. Our guide to business email covers the wider picture.

Related services

Microsoft 365

DKIM signing turned on for Exchange Online.

Managed IT

A record of every service that sends mail as your domain.

Websites

DNS for the sites we host, mail records included.

Learn more

Related guides

DNSSPFMicrosoftGoogle WorkspaceDMARCEmail authenticationEmailWindows licensing

Is every service signing your mail?

List the systems that send email as your company. We will check which ones sign it with DKIM.

Start a conversation