SPF (Sender Policy Framework, RFC 7208) authorizes specific servers to send mail for your domain. When you start sending through Google Workspace, you must publish a single SPF record at your domain apex that includes Google Workspace's sending infrastructure — otherwise the messages will fail SPF, your DMARC checks will fail, and your mail will land in spam or be rejected outright.
If you already publish SPF for another sender (Google Workspace for inbound, a marketing tool, your CRM), do not publish a second record. Merge the new include into the existing record. RFC 7208 §3 forbids multiple SPF records on the same name and receivers MUST return permerror when they see one.
Publish these DNS records
Add the following record(s) to your domain's DNS zone. Most registrars (Cloudflare, Route 53, Namecheap, GoDaddy) accept values exactly as shown.
- Type
TXT- Host
@- Value
v=spf1 include:_spf.google.com ~all
- Use `~all` (soft fail) initially. Move to `-all` once you've confirmed in DMARC reports that no legitimate sender is missing.
- If you also send through a marketing tool, merge its `include:` into this record. Do not publish two TXT records starting with `v=spf1`.
Where in Google Workspace
The SPF configuration lives in Admin console → Apps → Google Workspace → Gmail → Authenticate email.
Verify the records
Once published, run the SPF Checker on your domain to verify the lookup chain expands cleanly and stays under the 10-DNS-lookup limit.
dig +short TXT your-domain.comCommon pitfalls
- Generating a new DKIM key in the Admin console rotates the key — old signatures stay valid until they expire, but verify mail still signs cleanly afterwards.
- If you've migrated from another provider and inherited an SPF record with conflicting includes, Google's authentication check will appear to pass while DMARC still fails alignment. Always check the DMARC report, not just the Admin console green checkmark.
Frequently asked questions
What is the correct SPF record for Google Workspace?
The standard SPF record for Google Workspace is: v=spf1 include:_spf.google.com ~all — published as a TXT record at your domain apex (@). If you also send from other services, merge their include: mechanisms into this record before the ~all. Never publish a second SPF record; multiple v=spf1 records at the same name cause a PermError that fails authentication for all mail from your domain.
Why is ~all (softfail) recommended instead of -all (hardfail) for Google Workspace?
Start with ~all because DMARC reports often reveal legitimate mail streams you didn't know about — a CRM, a support tool, a third-party service sending on behalf of your domain. Switching to -all before you've enumerated all legitimate senders can cause their mail to fail SPF. Once DMARC reports show only intended senders, upgrading to -all is appropriate and adds slight protection against envelope spoofing.
Does Google Workspace require SPF for email to be delivered?
SPF is not strictly required for delivery, but it is required for DMARC alignment. Google's 2024 bulk sender requirements mandate that domains sending more than 5,000 messages per day to Gmail have a valid DMARC record — and a DMARC record is only useful if SPF and/or DKIM alignment is passing. Without SPF or DKIM, DMARC fails and Google's policy enforcement kicks in.
Can I use Google Workspace and another email sender with the same SPF record?
Yes — merge both into a single record. For example, if you also use Mailchimp: v=spf1 include:_spf.google.com include:servers.mcsv.net ~all. Keep the total DNS lookup count under 10 (include: each use one lookup). Check the count with the free SPF checker at mailermonk.com/tools/spf-checker.
Want to know if it actually keeps working?
MailerMonk continuously watches your SPF record, aggregate DMARC reports, and inbox placement — and pings you the moment something drifts. Free for the first domain.
Start free trialAbout the author
Other records for Google Workspace
SPF setup for other ESPs
- microsoft.comSPF for Microsoft 365
- sendgrid.comSPF for SendGrid
- mailgun.comSPF for Mailgun
- aws.amazon.comSPF for Amazon SES
