BFCM SALE 60%OFFYearly plansBFCM SALE · ends Dec 2 ENDS IN00:19:56:16 Claim 60% offClaim it

On This Page

Records set up?

Warmup is the next step before you scale sending.

The Google SPF record is v=spf1 include:_spf.google.com ~all. Add it as one TXT record at the root of your domain, and if other services also send as your domain, put their includes inside that same record instead of creating a second one. Google says it can take up to 48 hours for SPF authentication to start working.

TL;DR

  • Sending only through Google Workspace means one TXT record, host @, value v=spf1 include:_spf.google.com ~all.
  • Keep one SPF record per domain. Two records break the check, so merge every sender into one line.
  • Stay within 10 DNS lookups. Google's include uses 1 of them, Salesforce's uses 2 and GoDaddy's uses 3.
  • End the record with ~all, which Google recommends, and let DMARC do the blocking.
  • Check it 3 ways. Look up the TXT record, run Google's Check MX tool, and find spf=pass in a real message header.

What Is the Exact Google Workspace SPF Record?

If all your email goes out through Google Workspace, the record is v=spf1 include:_spf.google.com ~all. That is the exact value on Google's SPF setup page, and it goes in as one line.

v=spf1 include:_spf.google.com ~all

Enter it at your DNS host with these 4 fields.

Field What to enter
Type TXT
Host (Name) @ for the root domain
Value v=spf1 include:_spf.google.com ~all
TTL Your host's default

Each part of the line does one job.

Part What it does
v=spf1 Marks the TXT record as SPF and must come first
include:_spf.google.com Authorizes Google's sending servers
~all Marks mail from any other server as suspicious (soft fail)

Two details from Google's setup page save time. You change nothing in the Google Admin console for SPF, because the record lives at your domain host. And if you bought your domain from a Google partner when you signed up for Workspace, SPF may already be set up.

The include is cheap to keep. On 21 November 2026, _spf.google.com listed 4 IPv4 ranges and 6 IPv6 ranges directly, with no nested includes, as a lookup in Google's Admin Toolbox Dig shows. That is why it costs 1 of your 10 lookups.

Do You Already Have an SPF Record?

Look it up before you add anything, because a second SPF record breaks the first. Google's SPF troubleshooting page says each domain can have only one SPF record, and that multiple records can send your mail to spam. RFC 7208, the SPF standard, goes further. When a check finds more than one SPF record, the result is a permanent error (permerror), so neither record counts.

Some hosts add a record for you. Namecheap says its SPF record is added automatically for the services you have with it, so a Namecheap domain may already show a v=spf1 line.

Run one of these commands, with your own domain in place of yourdomain.com.

dig TXT yourdomain.com +short
nslookup -type=txt yourdomain.com

Then read the result.

  • No line starts with v=spf1. Add the Google record as a new TXT record.
  • One line starts with v=spf1. Edit that line and add include:_spf.google.com before the ending.
  • Two or more lines start with v=spf1. Merge them into one line and delete the rest.

How to Add the Google SPF Record at Your DNS Host

The steps are the same at every host. Sign in where you manage DNS, open the TXT records page, add or edit the record, and save.

  1. Sign in to your domain host, usually where you bought the domain.
  2. Open the page where you edit DNS TXT records.
  3. Add a TXT record with host @ and the Google value, or edit your existing SPF line.
  4. Save, then wait. Google allows up to 48 hours for SPF to start working.

Hosts label the same fields a little differently. Cloudflare's DNS guide starts from the DNS Records page and its zone apex guide uses @ for the root domain, while Namecheap keeps the records under Advanced DNS.

DNS host Where to click Host field Stated wait
Namecheap Domain List, Manage, Advanced DNS, Add new record, TXT Record @, never the full domain About 30 minutes
Cloudflare DNS Records page, Add record, Type TXT @ Not stated
Any other host The DNS or TXT records page @, or the domain if asked Up to 48 hours

Google's troubleshooting page and setup page point to three mistakes that break a fresh record.

  • Quotes. Some hosts need the value in quotation marks, and a wrong pair makes it invalid. Check your host's help before you paste.
  • Typos and extra spaces. One stray character makes the whole record invalid.
  • Subdomains. A subdomain that sends mail, such as mail.yourdomain.com, needs its own SPF record. So does every separate domain.

How Do You Add Other Senders to the Google Record?

Put every sender in the same line. Google's email sender guidelines say the SPF record should include all email senders for your domain, and that mail from senders left out is more likely to be marked as spam.

Start by listing what sends as your domain. Google names web servers, on-premise mail servers, outbound gateways, contact forms and any third-party service. A cold email tool that sends through your connected Google mailbox goes out from Google's servers, so the Google include already covers it. A service that sends from its own servers needs its own include.

Then add one include per sender, before the ~all. The includes below come from Google's setup page and DMARCguard's 2026 study. We counted the lookups each one used with live DNS queries on 21 November 2026.

Sender Include to add Lookups used Note
Google Workspace _spf.google.com 1 Lists Google's IP ranges directly
Microsoft 365 spf.protection.outlook.com 1 Common during a migration
Amazon SES amazonses.com 1 Transactional mail
Mailchimp servers.mcsv.net 1 Newsletters
Zendesk mail.zendesk.com 1 Support replies
HubSpot _spf.hubspotemail.net 1 Marketing email
Shopify shops.shopify.com 1 Listed no servers when we checked
Salesforce _spf.salesforce.com 2 Uses an exists check
GoDaddy email secureserver.net 3 Nests Microsoft's include

A team on Google Workspace that also sends through Amazon SES and HubSpot would publish this record, which uses 3 lookups.

v=spf1 include:_spf.google.com include:amazonses.com include:_spf.hubspotemail.net ~all

E-Warmup's free SPF record generator builds this combined line for you. Choose Gmail and every other service you use, and it returns one record ready to paste.

Google Workspace, Microsoft 365, Amazon SES, Mailchimp, Zendesk, HubSpot and Shopify each use 1 of 10 SPF lookups, Salesforce 2, GoDaddy 3 and Google with SES and HubSpot 3, live DNS Nov 21, 2026

Source: Google Workspace Help, Set up SPF, and DMARCguard, State of Email Authentication 2026, lookups counted with live DNS, read Nov 21, 2026

How Many DNS Lookups Can a Google SPF Record Use?

Ten. RFC 7208 caps the terms that trigger DNS queries at 10 per check, and going over returns a permanent error (permerror). The terms that count are include, a, mx, ptr, exists and redirect. The ip4, ip6 and all terms cost nothing.

Nested lookups count too, and a lookup of GoDaddy's include shows why. secureserver.net points to spf-0.secureserver.net, which in turn includes Microsoft's spf.protection.outlook.com. One short line in your record spends 3 lookups.

Google's own pages count this two ways. The setup page says a record can have up to 10 include tags. The troubleshooting page says nested lookups count toward the same limit of 10, which matches the RFC. Count every nested include, because that is the rule receivers apply.

The limit is easy to hit. In DMARCguard's February 2026 scan, 148,655 of 3,077,219 domains with SPF (4.8%) went over 10 lookups. Google warns that some receivers then report that you have no SPF record at all, even when you do.

Five fixes keep a record under the limit.

  • Remove senders you no longer use. RFC 7208 recommends failing a record once more than 2 lookups return no answer, which dead includes cause.
  • Drop duplicates. Two includes for the same provider waste a lookup, so Google says to remove them.
  • Question a and mx. Each costs a lookup. Keep a only if your web server sends mail itself.
  • Use ip4 for a fixed server. An IP address costs no lookup, but each string is capped at 255 characters and Google says the TXT record should stay under 512 bytes.
  • Avoid broad shared cloud ranges. Google advises fixed, assigned IP addresses instead.
Of 3,077,219 domains with SPF in DMARCguard's February 2026 scan, 148,655 (4.8%) went over the limit of 10 DNS lookups

Source: DMARCguard, State of Email Authentication 2026 (dmarcguard.io/research/email-authentication), February 2026 scan, read Nov 21, 2026

Should a Google SPF Record End in ~all or -all?

Use ~all. Google's troubleshooting page says the symbol should be a tilde, not a hyphen or a question mark, because a hyphen can be overly restrictive and a question mark does not authenticate outgoing mail.

Ending What receivers do with an unlisted server Google's advice
~all Accept it but mark it suspicious Recommended
-all May reject it Can block your own mail
?all Neither pass nor fail Does not authenticate
No all term Default to neutral Always add one

The risk with -all is losing mail you never see. Google's guide to SPF records notes that rejected messages cannot be used to troubleshoot, and suggests DMARC reports to find every sender instead. Keep ~all and let a DMARC policy decide what happens to failures. E-Warmup's DMARC policy guide covers when to move from p=none to quarantine and reject.

3 Ways to Check Your Google SPF Record

Look up the record, run Google's Check MX tool, then read a real message header, in that order. Each step catches something the one before it cannot.

1. Look Up the TXT Record

Run dig TXT yourdomain.com +short again after you save. A pass is exactly one line that starts with v=spf1, contains include:_spf.google.com and ends with ~all. If the old value still shows, the change has not spread yet, so wait up to the 48 hours Google allows.

2. Run Google's Check MX Tool

Open Check MX in the Google Admin Toolbox and enter your domain. Google's troubleshooting page names it as the way to count the lookups in your SPF record, which a plain lookup does not do.

3. Find spf=pass in a Real Message

Send an email from your Workspace account to a Gmail address you can open. In Gmail, click More next to Reply, then Show original, as Gmail's header guide describes. Find the Authentication-Results line and read the text after spf=.

  • spf=pass. The record covers this sender.
  • Your domain after smtp.mailfrom. That is the domain SPF checked.
  • "Mailed by" your domain in the Gmail app. Gmail treats this as a sign the message is authenticated.

What Do Google's SPF Results Mean?

spf=pass means the sending server is in your record, and every other result points to a specific fix. Google's troubleshooting page maps each one to a cause, and RFC 7208 defines the two error results.

Header shows Likely cause What to do
No spf entry Record missing or broken Check for one record and its syntax
best guess record No working SPF record Add or fix the record
neutral, softfail or fail Sender not in the record Add that sender's include
permerror Over 10 lookups or bad syntax Cut lookups, fix typos
temperror DNS problem at your host Ask your host, then retest

When Does SPF Still Fail After You Add the Record?

SPF still fails when a second record, a missing sender or too many lookups is left in place. All six causes below come from Google's SPF troubleshooting page, so match the symptom before you change the record.

Symptom Cause Fix
Two v=spf1 lines in DNS Old record left in place Merge into one line
Mail from your CRM fails Sender missing Add its include
permerror in headers Over 10 lookups Remove unused includes
Old value still shows DNS still updating Wait 24 to 48 hours
Only forwarded mail fails Forwarding server resends it Ask the forwarder, add DKIM
Record looks right but fails Typo, quotes or spaces Retype and recheck

Forwarding is the one case a correct record cannot fix. Google says forwarded messages can fail SPF because of the way the forwarding server sends them, which is why DKIM matters as a second check.

An audit can find SPF errors even on a domain that sends cold email every day. In an E-Warmup case study of a recruiting agency, the first-week audit found a misconfigured SPF record, a missing DMARC policy and 3 blacklist entries. After the records were fixed, the listings cleared and the domain re-warmed, the agency's reply rate rose from 2.4% to 14.8%.

What Should You Set Up After SPF?

Set up DKIM and DMARC next, then monitoring and warmup. SPF is one of three records, and Google asks bigger senders for all of them. Its sender guidelines say all senders to personal Gmail accounts need SPF or DKIM, and senders of more than 5,000 messages a day need SPF, DKIM and DMARC.

  1. DKIM. Google signs with a TXT record named google._domainkey. E-Warmup's DKIM setup guide walks through it.
  2. DMARC. Start at p=none, read the reports, then move to quarantine and reject, in the order E-Warmup's DMARC policy guide walks through.
  3. Monitoring. A new tool or a DNS cleanup can break SPF months later. E-Warmup's Email Health Monitoring watches SPF, DKIM and DMARC continuously, next to reputation and blacklists.
  4. Warmup. Records prove who you are, not that your mail is wanted. A new Workspace domain still needs gradual volume, as in E-Warmup's 30-day warmup schedule.

For the basics behind each SPF term, E-Warmup's SPF record guide and its SPF, DKIM and DMARC guide go deeper.

The Bottom Line on Google's SPF Record

For most Google Workspace domains, SPF is one line. Publish v=spf1 include:_spf.google.com ~all as a TXT record at @, and keep it as the only v=spf1 line on the domain.

The work starts when a second sender appears. Add its include to the same line, count the lookups including nested ones, and stay under 10. Google's include costs only 1, so the limit usually bites when old tools pile up, not because of Google.

Keep the ~all ending Google recommends, and let DMARC handle enforcement. Then confirm the record where it matters, in a real Gmail header that shows spf=pass.

  • Google Workspace only. Copy the one-line record and wait for DNS.
  • Workspace plus marketing or support tools. Merge every include into one line with the SPF generator.
  • Moving from Microsoft 365. Keep both includes until the move ends, then remove Microsoft's.

Once spf=pass shows your own domain, set up DKIM and DMARC, then let E-Warmup monitor all three while warmup builds the reputation your records cannot.

FAQ

What is Gmail’s SPF record?

On 21 November 2026, gmail.com published v=spf1 redirect=_spf.google.com, per a lookup in Google's Admin Toolbox Dig. It points to the same Google servers as Workspace. You cannot edit it, because Google owns gmail.com, so send from your own domain to authenticate your mail. Google's sender guidelines also warn against impersonating Gmail From headers.

How long does a Google SPF record take to work?

Google allows up to 48 hours. Namecheap says new records normally take effect in about 30 minutes. Test with a DNS lookup first, then with a real message.

How many DNS lookups does include:_spf.google.com use?

One. When we checked on 21 November 2026 with Google's Admin Toolbox Dig, _spf.google.com listed Google's IP ranges directly, with no nested includes, and DMARCguard's 2026 study also counts it as 1. Recount if an older guide or checker says otherwise.

Do I need both Google’s and Microsoft’s include?

Only if both send mail as your domain. Google's own example for Workspace plus Microsoft 365 is v=spf1 include:_spf.google.com include:spf.protection.outlook.com ~all.

Do I need SPF if I already set up DKIM?

Google accepts SPF or DKIM from smaller senders. Above 5,000 messages a day to Gmail, it requires SPF, DKIM and DMARC together, and it recommends all three for everyone.

Should my Google SPF record use -all?

No. Google recommends ~all, because a hyphen can block your own mail when a sender is missing from the record.

Does Google Workspace add the SPF record for me?

Usually not. You add it at your domain host, not in the Admin console, as Google's setup page explains. The exception is a domain bought from a Google partner during Workspace signup, which may have SPF set up by default.

Deliverability tips that actually land

One practical email a week on warmup, sender reputation, and inbox placement. Read in 5 minutes.

Join 4,200+ senders. No spam, ever.

SHARE THIS GUIDE

Picture of Romeo Nicholas Rozario

Romeo Nicholas Rozario

Romeo Nicholas Rozario is a digital marketer working across SaaS, currently building content for E-Warmup and stuff. Off the clock, he's probably deep in a playlist instead of a dashboard.

All Posts

Keep Reading

554 5.7.5 Permanent Error Evaluating DMARC Policy: 6 Fixes

554 5.7.5 permanent error evaluating DMARC policy means the receiver could not read your DMARC record. See what triggers it and 6 fixes for your DNS record.

Create DMARC Record: 6 Examples and Which Policy to Pick

Create a DMARC record in 5 steps. Copy 6 ready-made records, see what each tag does and learn when to pick p=none, quarantine or reject.

SendGrid IP Warm Up: A 21-Day Step-by-Step Schedule

A SendGrid IP warm up starts at 50 emails and reaches 1,000,000 a day by day 21. See the full schedule, automated warmup limits and 7 setup steps.
Scroll to Top