Fix guides › SPF › Cloudflare › Google Workspace
How to fix SPF on Cloudflare for Google Workspace
SPF is the list of services allowed to send email as your domain. Here is what Google Workspace needs and where it goes at Cloudflare.
Check your Cloudflare SPF record now
A free check of your domain's live public records. Nothing is changed.- What we found: We read your live SPF record and tell you whether Google Workspace is set up. Free, about 10 seconds.
- Why it matters: It reads your own records, so you see your own problem, not a general one.
- What to do: Type your domain and press Check.
The record Google Workspace needs
The exact SPF value from the email service's own help page.- What we found: Google's help page gives this exact record for domains that send only through Google Workspace.
- Type
- TXT
- Name
@
- Content
v=spf1 include:_spf.google.com ~all
- Why it matters: Without it, inboxes can't tell your real email from fakes, so they may send it to spam.
- What to do: Add it at Cloudflare (steps below). If you already have an SPF record, don't add a second one.
Where to add it at Cloudflare
Cloudflare's own steps for adding a TXT record, from its help pages.- What we found: Cloudflare calls the fields Name and Content. For the domain itself, the name is @.
- Why it matters: Each host labels its screens differently, so these are its own words.
- What to do: Follow Cloudflare's steps:
- Sign in to the Cloudflare dashboard and select your domain.
- Go to the DNS Records page.
- Select Add record and choose TXT as the Type.
- Fill in the fields as shown.
- Select Save.
Already have an SPF record?
A domain may have only one SPF record.- What we found: A domain may only have one SPF record. Two records break each other and SPF fails for every email.
- Why it matters: Adding a second record is the most common SPF mistake.
- What to do: Edit the record that starts with v=spf1 and put include:_spf.google.com just before the ~all or -all at the end. Or let the free check write the merged line for you.
More guides
Where each fact on this page comes from, and the same guide for other setups.- What we found: Checked against Google Workspace help: SPF (updated 2026-11-10), Cloudflare docs: create DNS records (updated 2026-05-06), Cloudflare docs: zone apex records on 2026-11-15. We check them again every 90 days.
- Why it matters: Screens and values change. Dated sources tell you this page is current.
- What to do: Same guide at: GoDaddy · Namecheap · Wix · Bluehost · Hostinger · Shopify · Amazon Route 53 · IONOS. Other guides for Google Workspace on Cloudflare: DKIM · DMARC · Email going to spam. All fix guides.
Company and product names are trademarks of their owners and are used only to describe how to set up your domain with them. DNSFix isn't affiliated with or endorsed by them.