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.
- Type
- TXT
- Name
google._domainkey- Content
v=DKIM1; followed by the key Google shows
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.
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.
google._domainkeyv=DKIM1;See the screenshot

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

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

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

Captured on 2 November 2026 from a sample account; the vendor may have changed its screens since.
How do I add it at Cloudflare?
- Sign in at cloudflare.com and select your domain.
See the screenshot for step 1

Open DNS Records Captured on 2 November 2026 from a sample account; the vendor may have changed its screens since.
- Open DNS Records and select Add record.
See the screenshot for step 2

Select Add record Captured on 2 November 2026 from a sample account; the vendor may have changed its screens since.
- Set Type to TXT.
See the screenshot for step 3

Open the Type menu and choose TXT Captured on 2 November 2026 from a sample account; the vendor may have changed its screens since.
- Set Name to google._domainkey.Leave the domain out of Name: Cloudflare adds it.
- Paste the record above into Content.Leave out quotation marks: Cloudflare adds them.
- 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.
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.
Where does this come from?
- Google Workspace: Set up DKIMknowledge.workspace.google.comRead 14 October 2026
- Cloudflare: adding a TXT recorddevelopers.cloudflare.comRead 2 November 2026
- Cloudflare: DNS record typesdevelopers.cloudflare.comRead 2 November 2026
- Cloudflare: Proxy statusdevelopers.cloudflare.comRead 14 October 2026
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.