SPF fix
How to Set Up SPF for SendGrid
This page shows how to let SendGrid pass SPF: add their include to your single SPF TXT and stay under 10 lookups.
What to paste
v=spf1 include:sendgrid.net ~all
Merge into your one SPF TXT — never publish two SPF records. More on SPF record.
Steps
Step 1 Check if you already have an SPF record: run DNS Preflight or query _spf.yourdomain.com TXT
Step 2 If no SPF exists, create: v=spf1 include:sendgrid.net ~all
Step 3 If SPF exists, add include:sendgrid.net before the ~all or -all
Step 4 Verify lookup count stays under 10 using DNS Preflight
Step 5 For full DMARC alignment, also set up SendGrid domain authentication — see our DMARC alignment guide for SendGrid
Verify SPF and lookup count
Open DNS Preflight →FAQ
Do I need SPF for SendGrid if I use domain authentication?
CNAME auth fixes DKIM alignment first — still add include:sendgrid.net unless their wizard says you’re fully covered.
Can I have multiple email providers in one SPF record?
Yes — chain includes in one TXT. Count lookups in DNS Preflight so you stay ≤10.
What is the SendGrid SPF include value?
include:sendgrid.net — that whitelists their sending cloud for your domain.
Should I use ~all or -all with SendGrid?
Start ~all while you test. Flip -all only when every legit sender sits in the record.
How do I verify my SendGrid SPF record is working?
Run DNS Preflight — it spots the include, syntax, and lookup depth.