Guides / SPF record for Google Workspace: the exact value and common mistakes

SPF record for Google Workspace: the exact value and common mistakes

Updated December 4, 2026

If you send from Google Workspace, your domain needs an SPF record that authorizes Google's mail servers. Google's own example is v=spf1 include:_spf.google.com ~all. That one line is enough when Google is the only service that sends as your domain. Most cold email and sales domains also send through other tools, and that is where SPF breaks. Run the free checker above to see your current SPF record, how many DNS lookups it needs, and whether Google is in it.

Check your domain nowFree SPF, DKIM, DMARC, MX and blacklist check. No signup.

The record to publish

Add one TXT record at the root of the domain (the host is usually shown as @ or left blank) with this value:

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

Google recommends ending the record in ~all (softfail) rather than -all. If you want to compare the two endings for cold email, see SPF ~all vs -all. Use the TXT record type; the old SPF record type is no longer used.

Adding other senders without a second record

A domain must have exactly one SPF record. If you also send through a marketing platform, a CRM, a help desk or an email API, add its include to the same record instead of creating a new one. For example, with a second sender:

v=spf1 include:_spf.google.com include:example-sender.com ~all

Use the exact include each provider gives in its own setup docs. Two separate TXT records that both start with v=spf1 make SPF return a permerror, which counts as a failure; see multiple SPF records.

Cold email tools connected to Google inboxes

Sending tools that connect to your Google mailbox (by Google sign-in or through Google's SMTP server) send the message from Google's servers, so the Google include already covers them. You only need another include for a service that sends from its own servers, such as an email API or a marketing platform. If you are not sure, send a test to a Gmail address, open Show original, and look at the SPF line and the sending IP.

Staying under the 10-lookup limit

SPF allows at most 10 DNS lookups while a record is evaluated. Each include, a, mx, exists and redirect counts, and so do the includes nested inside them. When we checked on November 12, 2026, _spf.google.com listed Google's IP ranges directly, so it cost one lookup. Other providers' includes can cost several each, and records with many tools often pass 10, which makes SPF fail for every message. Remove includes for tools you no longer use, and avoid a and mx unless those servers really send mail. See SPF record too many lookups.

Common mistakes

  • The domain sends from Google Workspace, but the SPF record only lists another provider (for example the web host's mail service). Mail from Workspace then fails SPF. Your MX records pointing to Google is a good sign that Google should be in SPF too.
  • Two SPF records, often one left by the web host and one added for Google.
  • Switching to -all before every real sender is listed, so mail from a forgotten tool fails outright.
  • Setting SPF only on the main domain while cold email goes out from secondary domains. Every domain or subdomain that appears in the From or return-path address needs its own record; see secondary domains for cold email.
  • Treating SPF as enough. Google Workspace also needs a DKIM key turned on in the Admin console, and bulk senders need DMARC; see DKIM selector not found in Google Workspace and DMARC policy for cold email.

How to check it worked

  1. Wait for DNS to update. It is often minutes, but can take up to the record's TTL or longer.
  2. Run the free checker above and confirm there is one SPF record, it includes _spf.google.com, and it needs 10 lookups or fewer.
  3. Send a test message to a Gmail address and open Show original. SPF should say PASS for your domain.
  4. Recheck after you add a new sending tool, because each new include can break the record.

Frequently asked questions

What is the SPF record for Google Workspace?

v=spf1 include:_spf.google.com ~all, published as a single TXT record at the root of the domain. Add other senders' includes to that same record.

Should I use ~all or -all with Google Workspace?

Google recommends ~all. Use -all only when you are sure every service that sends as your domain is listed.

Do Instantly, Smartlead or similar tools need their own SPF include?

Not when they send through your connected Google inbox, because the mail leaves from Google's servers. A tool that sends from its own servers needs its own include.

Can I have two SPF records, one for Google and one for my website host?

No. Two SPF records cause a permerror and SPF fails. Merge them into one record with both includes.

My MX records point to Google. Does that mean SPF is set up?

No. MX records control where you receive mail. SPF is a separate TXT record that controls who may send as your domain.

Find out what is wrong with your domainRun the free checker, or let OutboxWatch watch your domains daily and alert you when something changes.
Free weekly report for your domainOne email every Monday with your SPF, DKIM, DMARC, MX and blacklist status and what changed since last week. No card.
See the free weekly report

Related guides