Google Workspace SPF record
Updated 2026-11-18. Lookup counts measured live from public DNS on that date.
The SPF record for Google Workspace is include:_spf.google.com. If Google Workspace is the only service that sends email as your domain, publish exactly this:
| Type | Host | Value |
|---|---|---|
| TXT | @ | v=spf1 include:_spf.google.com ~all |
Lookup cost: include:_spf.google.com uses 1 of the 10 DNS lookups SPF allows (measured 2026-11-18).
Already have an SPF record?
Do not add a second v=spf1 record. Add include:_spf.google.com to the existing one, before the ~all. Example with Google Workspace: v=spf1 include:_spf.google.com include:_spf.google.com ~all
Don't forget DKIM
SPF alone is not enough for Gmail, Yahoo, Microsoft or Spamhaus. Google Admin console > Apps > Google Workspace > Gmail > Authenticate email > select your domain > Generate new record (2048-bit, prefix 'google') > publish the TXT value at google._domainkey > back in Admin console click Start authentication. Official Google Workspace guide.
Check your own domain in 5 seconds
Free SPF, DKIM and DMARC check. If something is broken, get the exact records for your setup (€29 one-time).
FAQ
Can I have two SPF records?
No. A domain must publish exactly one TXT record starting with v=spf1. Two records cause a permanent error and SPF fails for every email. Merge all include: entries into one record.
Should I use ~all or -all?
Use ~all (softfail) while you are setting things up and reading DMARC reports. Once every legitimate sender passes, -all is stricter. DMARC policy matters more than the SPF qualifier for most receivers.
How do I check that Google Workspace passes?
Send an email to a Gmail address, open it, click the three dots and choose Show original. You want SPF: PASS, DKIM: PASS and DMARC: PASS.
How long do DNS changes take?
Usually 5 to 60 minutes, depending on the TTL of the old record. Some registrars take a few hours.