Email records · Cloudflare · Google Workspace

How do I set up DKIM at Cloudflare for Google Workspace?

Generate the DKIM key in the Google Admin console, publish it in Cloudflare as a TXT record named google._domainkey, then select Start authentication.

Last read from the sources at the foot of this page.

Cloudflare · DNS record
Type
TXT
Name
google._domainkey
Content
v=DKIM1; followed by the key Google shows
Copy the whole value from the Google Admin console.
01

What does DKIM do?

It adds a signature to each message your domain sends. A mail server checks the signature against a key published in your DNS, so a message changed or forged on the way fails.

02

Where does Google Workspace make the key?

In the Google Admin console, go to Apps, then Google Workspace, then Gmail, and open Authenticate email. Select your domain and generate a new record. Choose a 2048-bit key if your DNS host takes one, and 1024-bit if it does not. Keep the selector google. Do not select Start authentication yet.

Name of the record
google._domainkey
Its value begins
v=DKIM1;
See the screenshot
Google Admin console Gmail setup page with the Apps, Google Workspace, Settings for Gmail path marked.
Go to Apps, then Google Workspace, then Gmail. Open Authenticate email

Captured on 2 November 2026 from a sample account; the vendor may have changed its screens since.

See the screenshot
Google Admin Authenticate email page with the Selected domain list marked.
Select your domain

Captured on 2 November 2026 from a sample account; the vendor may have changed its screens since.

See the screenshot
Google Admin Authenticate email page with the Generate new record button marked.
Select Generate new record. Keep the 2048-bit key and the prefix google, then select Generate

Captured on 2 November 2026 from a sample account; the vendor may have changed its screens since.

See the screenshot
Google Admin Authenticate email page with the DNS host name and TXT record value box marked.
Copy the TXT record value

Captured on 2 November 2026 from a sample account; the vendor may have changed its screens since.

03

How do I add it at Cloudflare?

  1. Sign in at cloudflare.com and select your domain.
    See the screenshot for step 1
    Cloudflare zone overview with the DNS Records link marked in the right panel.
    Open DNS Records

    Captured on 2 November 2026 from a sample account; the vendor may have changed its screens since.

  2. Open DNS Records and select Add record.
    See the screenshot for step 2
    Cloudflare DNS records list with the Add record button marked.
    Select Add record

    Captured on 2 November 2026 from a sample account; the vendor may have changed its screens since.

  3. Set Type to TXT.
    See the screenshot for step 3
    Cloudflare Add record form with the Type menu open and the list of record types marked.
    Open the Type menu and choose TXT

    Captured on 2 November 2026 from a sample account; the vendor may have changed its screens since.

  4. Set Name to google._domainkey.Leave the domain out of Name: Cloudflare adds it.
  5. Paste the record above into Content.Leave out quotation marks: Cloudflare adds them.
  6. Leave TTL on Auto and select Save.

In our words, from Cloudflare: adding a TXT record, read 2 November 2026. If a screen has changed since, follow the host's own page.

04

How do I turn signing on?

Go back to Authenticate email in the Admin console and select Start authentication. The status changes to say that email is being authenticated with DKIM. If it does not, wait for your DNS change to be seen and try again.

Sources

Where does this come from?

Related

See what is open before anyone else does.

We read your domain externally and show each way in with a check anyone can re-run.