How to Set Up DKIM for Google Workspace

Enable DKIM signing in the Google Admin Console and publish the public key in your DNS to cryptographically authenticate outgoing email.

Quick Answer — The Record You Need

Record Type

TXT

Host / Name

google._domainkey

Value
v=DKIM1; k=rsa; p=YOUR_PUBLIC_KEY_FROM_ADMIN_CONSOLE

The actual public key value is generated in your Google Admin Console. The default selector is "google".

Step-by-Step Setup

1

Open the Google Admin Console

Go to admin.google.com and sign in with your administrator account.

2

Navigate to DKIM settings

Go to Apps > Google Workspace > Gmail > Authenticate email. Select your domain from the list.

3

Generate a new DKIM key

Click "Generate new record". Choose a DKIM key bit length of 2048 (recommended). The default prefix selector is "google". Click Generate.

4

Add the DKIM record to your DNS

Copy the generated TXT record value and create a new TXT record in your DNS with the host name google._domainkey and the value provided by Google.

Host: google._domainkey
Type: TXT
Value: v=DKIM1; k=rsa; p=MIIBIjANBgkqh...(your key)
5

Start authentication in the Admin Console

Return to the Google Admin Console and click "Start authentication". Google will verify the DNS record. It may take up to 48 hours for DNS propagation, but typically works within minutes.

Common Gotchas

  • You must click "Start authentication" in the Admin Console after adding the DNS record. The DKIM signing will not activate until you do this.
  • If your DNS provider does not support 2048-bit keys (long TXT values), select 1024-bit when generating. Some providers split long TXT values into multiple strings automatically.
  • The default selector is "google". If you change it, make sure the DNS host name matches: yourselector._domainkey.

Verify Your Setup

After adding your DNS records, use our free DKIM checker to verify everything is configured correctly. DNS changes typically propagate within minutes, but can take up to 48 hours.

Frequently Asked Questions

What is the DKIM selector for Google Workspace?

The default DKIM selector for Google Workspace is "google". This means the DNS record is published at google._domainkey.yourdomain.com. You can customize the selector during key generation.

How long does Google Workspace DKIM take to activate?

After adding the DNS record and clicking "Start authentication" in the Admin Console, DKIM signing typically activates within a few minutes. DNS propagation can take up to 48 hours in some cases.

Should I use 1024-bit or 2048-bit DKIM keys for Google Workspace?

Use 2048-bit keys for stronger security. Only use 1024-bit if your DNS provider cannot handle the longer TXT record value.

Related Guides