Sending provider
Google Workspace SPF, DKIM and DMARC setup
Google Workspace SPF is one TXT record at the root, v=spf1 include:_spf.google.com ~all, and DKIM is a 2048-bit key generated in the Admin console (Apps > Google Workspace > Gmail > Authenticate email), published as TXT at google._domainkey and switched on with Start authentication. DMARC is a TXT record at _dmarc that starts at p=none. Google says DKIM can take up to 48 hours to start working.
Google Workspace
Records at a glance
- SPF record
v=spf1 include:_spf.google.com ~all- DKIM
TXT at google._domainkey, 2048-bit key from the Admin console
- DMARC
TXT at _dmarc: p=none for a week, then quarantine or reject
Check Google Workspace on your domain
Enter the domain you send from: the check looks for the Google Workspace SPF include, its DKIM key and your DMARC record, and says what to fix.
Looks for SPF include:_spf.google.com, DKIM at google and a DMARC record. Lookups go from your browser to Cloudflare's public DNS resolver.
DNS records
The Google Workspace records
Values in angle brackets are specific to your account; copy them from the provider. Hosts are relative to your domain, as most DNS panels expect them.
- Name / host
@Valuev=spf1 include:_spf.google.com ~allWhen Google is the only sender; other senders join this record, as in Google's example with include:amazonses.com
- Name / host
google._domainkeyValuev=DKIM1; k=rsa; p=<your public key>Generated for each domain in Authenticate email; if the google prefix is taken, Google asks for another
- Name / host
_dmarcValuev=DMARC1; p=none; rua=mailto:dmarc@<yourdomain>Google's first step, kept for one week; use the address that collects your reports
Good to know
- include:_spf.google.com costs 1 of the 10 DNS lookups SPF allows: its record holds only IP rangessource (opens the vendor's page in a new tab)
- Google recommends ~all at the end and allows up to 10 include: tags in one recordsource (opens the vendor's page in a new tab)
- Each domain and each subdomain you send from needs its own SPF record; SPF can take up to 48 hours to worksource (opens the vendor's page in a new tab)
- Pick a 2048-bit DKIM key if your DNS host supports it; 1024 bits is Google's option for hosts that do notsource (opens the vendor's page in a new tab)
- Where TXT strings stop at 255 characters, the 2048-bit key goes in as several quoted strings in one recordsource (opens the vendor's page in a new tab)
- DKIM may already be on if the domain came from a Google partner at Workspace sign-up; on a Squarespace domain the key is added automaticallysource (opens the vendor's page in a new tab)
Step by step
Set up DKIM in Google Workspace
Wait for Gmail to be readysource (opens the vendor's page in a new tab)
After Gmail is turned on for your organization, Google asks you to wait 24 to 72 hours before you generate a key
Open Authenticate emailsource (opens the vendor's page in a new tab)
As a super administrator, go to Menu > Apps > Google Workspace > Gmail > Authenticate email and select the domain
Generate the recordsource (opens the vendor's page in a new tab)
Click Generate New Record, choose 2048 bits (or 1024), keep the prefix google unless it is taken, then click Generate
Publish the TXT recordsource (opens the vendor's page in a new tab)
At your DNS host, add a TXT record at google._domainkey with the value exactly as shown, in quoted strings if the panel stops at 255 characters
Start authenticationsource (opens the vendor's page in a new tab)
Back in Authenticate email, click Start authentication. Once signing works, the status reads Authenticating email with DKIM; Google allows up to 48 hours
Check a received messagesource (opens the vendor's page in a new tab)
Mail another Gmail or Workspace user (a test to yourself cannot show DKIM), open More > Show original and look for DKIM=pass
Where the records go
Field by field for the DNS panel your domain uses:
DMARC
DMARC with Google Workspace
- Publish the Google Workspace DMARC record at least 48 hours after SPF and DKIM; start at p=none for one week and read the reports dailysource (opens the vendor's page in a new tab)
- Then p=quarantine on a share of the mail: Google's examples are 10% for a small organization, 1% for a large one and pct=5 in its sample record; raise it to 100%source (opens the vendor's page in a new tab)
- p=reject can replace quarantine: mail that fails DMARC is rejected and never deliveredsource (opens the vendor's page in a new tab)
- RFC 9989 (May 2026) removes pct, since values other than 0 and 100 were usually applied inaccurately, and adds t=y and t=n; Google's rollout still uses pctsource (opens the vendor's page in a new tab)
- Google recommends always adding rua, pointed at a group, a dedicated mailbox or a report service: a large organization can get hundreds or thousands of reports a daysource (opens the vendor's page in a new tab)
- Subdomains inherit the policy unless the record sets sp=; adkim and aspf default to relaxed alignmentsource (opens the vendor's page in a new tab)
- Above 5,000 messages a day to personal Gmail accounts, all three records are required, p=none meets the rule and the From domain must align with SPF or DKIMsource (opens the vendor's page in a new tab)
- Many domains stay on the first step: of 2,969 B2B domains we checked in October 2026, 82% had DMARC and 54% of those records were p=nonesource
TXT at _dmarc
v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.comReplace the address with a mailbox you read; move to p=quarantine when the reports show every sender passing.
Troubleshooting
Common Google Workspace errors and fixes
DKIM status: Not authenticating
Authentication was never started: open Authenticate email and click Start authenticationsource (opens the vendor's page in a new tab)
DKIM key cannot be generated yet
Gmail was turned on less than 24 to 72 hours ago; until then, Google may say the DKIM record was not created. Wait and generate againsource (opens the vendor's page in a new tab)
"You must update the DNS records for this domain"
Google can show this for up to 48 hours; if the key is in DNS correctly, ignore itsource (opens the vendor's page in a new tab)
DNS panel rejects the 2048-bit key
Enter it as several quoted strings in one TXT record, generate a 1024-bit key or ask the host whether it takes longer TXT recordssource (opens the vendor's page in a new tab)
DNS value differs from the Admin console
Look up TXT at google._domainkey.<yourdomain> in Google Admin Toolbox Dig and compare it with the console character by charactersource (opens the vendor's page in a new tab)
dkim=fail: body hash did not verify
The message changed after signing, for example a gateway added a footer; forwarded mail can fail DKIM toosource (opens the vendor's page in a new tab)
SPF permerror: two SPF records
Two v=spf1 records fail SPF for every message: merge them into one that keeps include:_spf.google.com and your other senderssource (opens the vendor's page in a new tab)
For cold email
Mailboxes that come with the DNS records done
If the domain is for cold outreach, keep Google Workspace on your main domain and send from separate domains. Outreach2day buys the domains, publishes SPF, DKIM and DMARC, creates the mailboxes and starts warmup, then sends your campaigns from its own sequencer or exports the mailboxes to Instantly or Smartlead.
- SPF, DKIM and DMARC set for youOn every domain, checked after setup and kept in place
- $2.50 a mailbox a month12-mailbox minimum; warmup and the sending engine included
- 1,000+ mailboxesA volume price per mailbox, quoted on a call
Questions
What is the Google Workspace SPF record?
v=spf1 include:_spf.google.com ~all, one TXT record at the root when only Google sends as the domain; other senders join that record. Accounts opened as G Suite use the same value.
What is the Google Workspace DKIM selector?
The default prefix is google, so the key sits at google._domainkey. If the domain already has a key with that prefix, Google asks for a different one.
Why does Google Workspace DKIM say Not authenticating?
Start authentication was not clicked, or the record in DNS does not match the console key yet. Fix the record, click Start authentication and allow up to 48 hours.
Do I need DMARC with Google Workspace?
Yes, above 5,000 messages a day to personal Gmail accounts, and p=none meets that rule. Below that volume, Google asks every sender for SPF or DKIM.
How do I set up several domains in one Google Workspace account?
Select each domain in Authenticate email and repeat the steps: every domain gets its own DKIM key and SPF record. Each subdomain you send from needs an SPF record too; subdomains inherit the domain's DMARC policy unless sp= sets another.
Should I send cold email from my Google Workspace domain?
Keep company mail on the main domain and send cold outreach from separate domains, so a complaint or a blocklist hit stays off the main one. Outreach2day sells SMTP/IMAP mailboxes for those domains at $2.50 a mailbox a month, with SPF, DKIM and DMARC set up automatically and warmup included. It has no Google Workspace or Microsoft 365 mailboxes and a 12-mailbox minimum, so for 1 to 5 mailboxes a provider without a minimum costs less; there is no free trial.
Sources
Google Workspace documentation, checked . Menus and values change; if a step differs, Google Workspace's own page is the reference.
- Set up SPF (knowledge.workspace.google.com)
- Set up DKIM (knowledge.workspace.google.com)
- Troubleshoot DKIM issues (knowledge.workspace.google.com)
- Set up DMARC (knowledge.workspace.google.com)
- Recommended DMARC rollout (knowledge.workspace.google.com)
- Email sender guidelines (support.google.com)
- RFC 7208: Sender Policy Framework (SPF) (rfc-editor.org)
- RFC 9989: DMARC (rfc-editor.org)
Deliverability call
Talk to our deliverability team
Book a call with the people who run our mailbox infrastructure. We look at your current setup and tell you what to change. Running 1,000+ mailboxes? We also quote a volume price, warmup and sending included.
- Review your domains, DNS records and current inbox placement
- Size the setup: domains, mailboxes per domain and daily volume per mailbox
- Plan warmup and the move from your current provider or sequencer
- 1,000+ mailboxes: a volume price per mailbox for your setup
Free call
See open times in your time zone and book on this page.
Or open the booking pageLoading available times…
Open the booking page instead