Home / Resources / Set up DKIM
DELIVERABILITY · GUIDE

How to set up DKIM, step by step

DKIM signs your mail with a key receivers can verify. Here is how to generate that key, publish it in DNS, and turn signing on — for Google Workspace, Microsoft 365, and any sending tool.

DKIM (DomainKeys Identified Mail) attaches a cryptographic signature to every message you send. The receiving server looks up your public key in DNS, checks the signature, and confirms the mail really came from your domain and wasn't tampered with in transit. Without it, you fail one of the three checks every inbox provider runs — and you start the conversation in the spam folder.

Setup is the same shape everywhere: generate a key, publish a DNS record, then switch signing on. The third step is the one people forget, and it is the one that actually matters. This guide walks each major platform in order.

It is more common than you would think. When we ran live DNS authentication checks on 130 real B2B companies in June 2026, 18.5% had no detectable DKIM at all. Nearly one in five domains was sending mail no receiver could verify.

The three steps, in order

Whatever platform you are on, DKIM setup follows the same sequence. Get these in the right order and nothing else surprises you.

Setting up DKIM by platform

Google Workspace

Google publishes a single DKIM TXT record on the google._domainkey selector. The whole flow lives in the Admin console.

That last click is the whole game. The record alone does nothing until authentication is started.

Microsoft 365

Microsoft 365 works differently: instead of one TXT record, you publish two CNAME records that point back to Microsoft's DKIM infrastructure, then enable signing in the Defender portal.

If the toggle refuses to flip, the CNAMEs haven't propagated yet. Wait and try again — don't recreate them.

Any ESP or sending tool

SendGrid, Mailgun, Amazon SES, your CRM, your cold-email platform — they all follow the same pattern. The provider hands you a selector._domainkey record (the selector name is theirs, often something like s1, mte, or a random string) and you publish it. Some give you a TXT record, some give you CNAMEs, exactly like the two cases above.

Each platform signs on its own selector, so you can run several at once on the same domain. Google Workspace on google._domainkey, Microsoft on selector1/selector2, and your outbound tool on its own selector can all sign mail for the same domain without conflict.

How to verify it actually worked

Publishing the record is not proof. Confirm signing is live before you trust it.

Common mistakes

These are the failures we see most often when a domain looks set up but mail still isn't signed.

DKIM is one of three

DKIM proves the message is authentic and unaltered. It does not work alone. SPF authorizes which IPs may send for your domain (a TXT record at the apex). DMARC (a TXT record at _dmarc) tells receivers what to do when SPF or DKIM fail to align — p=none only monitors, p=quarantine sends to spam, p=reject bounces the mail. Google and Yahoo's 2024 bulk-sender rules require all three, plus one-click unsubscribe and a spam-complaint rate under 0.3%. Set DKIM up, then make sure SPF and DMARC are right too. Our 2026 benchmark has the full methodology and numbers.

How MeetForge fits

We run B2B outbound end to end — domains, authentication, warmup, sending, and replies — so DKIM, SPF, and DMARC are handled correctly before a single email goes out. You only pay for qualified conversations, tracked on a public ledger. No retainer for activity, no pressure. If you would rather just confirm your own setup, the free check above takes a minute.

Check your own domain — free, 60 seconds

Type your domain and get an instant A–F grade on SPF, DKIM, DMARC, and MX — the same live checks we run for clients. No signup.

Run the Outbound Reality Check →

FAQ

How long does DKIM take to start working?

Publishing the DNS record is instant on your side, but propagation can take anywhere from a few minutes to 48 hours depending on your TTL. Most providers see it within an hour. Don't turn signing on until your provider confirms the record is detected.

Do I need a separate DKIM record for every sending tool?

Yes. Each platform signs with its own key and selector, so each one needs its own selector._domainkey record. Google Workspace, Microsoft 365, and your cold-email tool can all sign mail for the same domain at the same time, each on a different selector.

What does an empty DKIM p= value mean?

An empty p= in a DKIM record means the public key was revoked. Receivers will treat signatures from that selector as broken, so replace the record with the current key from your provider.

Is DKIM enough on its own?

No. DKIM is one of three checks. You also need SPF to authorize sending IPs and DMARC to tell receivers what to do when alignment fails. Google and Yahoo's bulk-sender rules require all three.