Configure SPF for domains using Cloudflare Email Routing to ensure forwarded and routed email passes authentication.
TXT
@
v=spf1 include:_spf.mx.cloudflare.net ~all
This SPF include is for Cloudflare Email Routing. Cloudflare itself is not an email sender -- it routes email to your actual mailbox provider.
Go to dash.cloudflare.com and sign in.
Choose the domain where you want to set up Email Routing.
Go to Email > Email Routing. Follow the setup wizard to configure routing rules.
Cloudflare may auto-add DNS records during Email Routing setup. If not, add the SPF include manually.
v=spf1 include:_spf.mx.cloudflare.net ~allSend a test email to your routed address and confirm delivery and SPF pass.
v=spf1 include:_spf.google.com ~allv=spf1 include:_spf.google.com include:_spf.mx.cloudflare.net ~allAfter adding your DNS records, use our free SPF checker to verify everything is configured correctly. DNS changes typically propagate within minutes, but can take up to 48 hours.
Only if you use Cloudflare Email Routing. If Cloudflare is just your DNS provider, add SPF records for your actual email service instead.
Cloudflare Email Routing lets you create email addresses on your domain and forward them to existing mailboxes (like Gmail). It does not host mailboxes.
Yes. Combine both: v=spf1 include:_spf.google.com include:_spf.mx.cloudflare.net ~all.