Google Workspace makes SPF and DKIM straightforward, but two of the three steps happen outside the Admin console, and the DKIM step has a "start authentication" button that is easy to miss. Here is the order that avoids surprises.
1. SPF
Add Google to the domain's single SPF record:
v=spf1 include:_spf.google.com ~allIf the domain already has SPF for other senders, add the include to that record rather than creating a second one. Two SPF records make SPF fail. Check the total stays under 10 lookups with the SPF lookup counter.
2. DKIM
- In the Google Admin console, go to Apps → Google Workspace → Gmail → Authenticate email.
- Pick the domain and choose Generate new record. Use a 2048-bit key unless the DNS host cannot store long TXT values. The default selector prefix is
google. - Publish the TXT record it shows at
google._domainkey. Long keys are split into several quoted strings by some DNS hosts; that is normal. - Wait for DNS (Google notes it can take up to 48 hours, usually much less), then return and click Start authentication. Until you do, Gmail keeps signing with its own domain.
3. DMARC
Publish at the DNS host:
_dmarc.example.com TXT "v=DMARC1; p=none; rua=mailto:dmarc@example.com"Start at p=none and read the reports to find every other sender (CRM, invoicing, newsletters). Move to quarantine and reject once they all pass with alignment. The stages are explained in DMARC p=none vs quarantine vs reject, and the reports in DMARC aggregate reports explained.
4. Verify
- Send a message from the domain to an outside mailbox.
- Open "Show original" in Gmail. You want
SPF: PASS,DKIM: 'PASS' with domain example.comandDMARC: 'PASS'. - If DKIM shows a Google domain instead of yours, authentication has not been started yet.
Common problems
- DKIM record published but "Start authentication" never clicked. The most common gap on Workspace domains.
- A 1024-bit key left from years ago. Generate a 2048-bit key with a new selector, publish it, start authentication, then remove the old record after a few days.
- Secondary domains and aliases. Each domain that sends mail needs its own DKIM key and DMARC record.
- Groups and forwarding. Google Groups that rewrite messages can affect authentication for list mail. Watch the DMARC reports.
Then: encrypted delivery and sender rules
With SPF, DKIM and DMARC in place, add MTA-STS for mail coming in (see MTA-STS for Google Workspace) and check the domain meets the Google, Yahoo and Microsoft sender rules if it sends in volume.
Frequently asked questions
What is the default DKIM selector for Google Workspace?
google. You can choose a different prefix when generating the key, which is useful when rotating keys.
Does Google Workspace sign email with DKIM without setup?
Gmail signs with a Google-owned domain by default. That signature does not align with your domain for DMARC, so you need to generate a key and start authentication for your own domain.
Where do I set DMARC in Google Workspace?
Not in the Admin console. DMARC is a TXT record at _dmarc.yourdomain, published at your DNS host.
Keep reading
Guide · 13 min read
SPF, DKIM and DMARC explained: the complete guide for MSPs
How the three email authentication records fit together, with real examples, alignment explained and a rollout plan that does not break mail.
find DKIM selector · 6 min read
How to find a domain's DKIM selector (and why you can't list them all)
Three reliable ways to find the selector, the common defaults by provider, and why "DKIM missing" is a claim no outside tool can make.
Microsoft 365 DKIM setup · 6 min read
Microsoft 365 DKIM setup: selector1, selector2 and the CNAME records
Step-by-step DKIM for a custom domain in Microsoft 365, how to confirm it is working, and what to do when the portal will not enable it.