Guides / SPF redirect vs include: which one should you use?
SPF redirect vs include: which one should you use?
Short answer: use include: to add a sending service (Google Workspace, Microsoft 365, your cold email tool) to your own record, and use redirect= only when several domains you control should share one complete SPF record. They look alike but behave differently: include: asks "does this other record pass the sender?" and then keeps reading your record, while redirect= says "my record is that other record" and takes its final result, including its ~all or -all. Below: what the standard says, how each one is evaluated, when to pick which, and the mistakes that quietly break SPF.
What the SPF standard says
Both are defined in RFC 7208. include: is a mechanism (section 5.2): it "triggers a recursive evaluation" of the other domain's record, and only a pass there counts as a match. The RFC admits the name is misleading: "In hindsight, the name 'include' was poorly chosen. Only the evaluated result of the referenced SPF record is used, rather than literally including the mechanisms of the referenced record in the first."
redirect= is a modifier (section 6.1). It only runs "if all mechanisms fail to match", and then "the result of this new evaluation of check_host() is then considered the result of the current evaluation". Section 6.1 describes it as "intended for consolidating both authorizations and policy into a common set to be shared within a single ADMD" (one organization).
How include: is evaluated
Take "v=spf1 include:_spf.google.com include:sendtool.example ~all". The receiver checks the sending IP against Google's record. If Google's record passes it, the include matches and SPF passes. If Google's record says fail, softfail or neutral for that IP, the include simply doesn't match and the receiver moves on to the next term. The ~all inside Google's record does not end your check; section 5.2 says a "-all" in the referenced record "does not terminate the overall processing". Your own closing ~all or -all decides what happens to mail nobody matched.
One exception: if the included name has no SPF record at all, the include returns permerror (the "none" row of the table in section 5.2), and SPF fails with an error for any message that reaches that term. See SPF void lookups and includes with no SPF record.
How redirect= is evaluated
Take "v=spf1 redirect=_spf.example.com". There are no mechanisms to match, so the receiver evaluates _spf.example.com and uses its result as yours: if that record ends in -all, an unlisted server gets fail; if it ends in ~all, softfail. Your domain has handed over both the list of servers and the policy.
A real example: gmail.com publishes "v=spf1 redirect=_spf.google.com" (looked up with Google Public DNS on 2026-12-02), and _spf.google.com holds Google's ip4:/ip6: ranges ending in ~all. If the redirect target has no SPF record, section 6.1 says the result is "permerror" rather than "none".
The trap: redirect= is ignored when the record has an all
This is the most common mistake. A record like "v=spf1 include:_spf.google.com ~all redirect=_spf.example.com" does not use the redirect at all. Section 5.1 says: "Any 'redirect' modifier (Section 6.1) MUST be ignored when there is an 'all' mechanism in the record, regardless of the relative ordering of the terms." Section 6.1 repeats it: "Any 'redirect' modifier MUST be ignored if there is an 'all' mechanism anywhere in the record."
So the servers listed in the redirect target never get checked, and mail from them hits your ~all. Pick one: either list everything with include: and end with ~all or -all, or end with redirect= and no all.
Other rules that catch people out
- Only one redirect per record. Section 6 says redirect and exp "MUST NOT appear in a record more than once each. If they do, then check_host() exits with a result of 'permerror'."
- Put it last. Section 6.1: "any 'redirect' modifier SHOULD appear as the very last term in a record." It only runs after every mechanism has failed to match, wherever it's written, but last is clearer.
- Both count toward the 10-lookup limit. Section 4.6.4 lists "the 'include', 'a', 'mx', 'ptr', and 'exists' mechanisms, and the 'redirect' modifier" as terms that cause DNS queries, and the lookups inside the target count too. See SPF record too many lookups.
- Don't redirect to someone else's domain. Section 6.1's note says a domain "cannot reliably use a redirect to another domain 'B' not under the same administrative control" and that "an 'include' directive will generally be more appropriate." The provider's ~all or -all would become your policy, and it can change without you knowing.
- No all and no redirect means neutral. Section 4.7: if nothing matches and there is no redirect, the result is "neutral", "just as if '?all' were specified". End every record with an all or a redirect.
Which one to use for cold email
For almost every cold email setup, include: is the right tool. Each mailbox provider or sending tool gives you an include (Google Workspace: include:_spf.google.com; Microsoft 365: include:spf.protection.outlook.com), you add it to your domain's single SPF record, and you end with ~all or -all. See Google Workspace SPF record.
redirect= earns its place when you run many sending domains with the same senders, which is common for teams with lots of secondary domains. You can keep one record you control, for example _spf.yourmaindomain.com with your includes and ~all, and publish "v=spf1 redirect=_spf.yourmaindomain.com" on each secondary domain. Add a new sending tool once and every domain picks it up. The flip side: one typo in that shared record breaks SPF on every domain at once, so check it after each change. See secondary domains for cold email.
How to check yours
- Look up your SPF record with the free checker at the top of this page (or any TXT lookup). Make sure there's exactly one v=spf1 record.
- If it contains redirect=, check that it has no all mechanism (~all, -all, ?all or +all) and only one redirect=. If it has both, decide which one you meant and remove the other.
- Look up the redirect target too: it must have its own v=spf1 record that ends in ~all or -all and lists every service that sends for the domains pointing at it.
- Send a test to a Gmail address and open Show original: you want spf=pass for the domain in smtp.mailfrom.
Keep shared records in check
When many domains point at one shared SPF record, a single bad edit shows up everywhere. OutboxWatch checks SPF, DKIM, DMARC, MX and blocklists on your sending domains every day and emails you when something changes, so a broken redirect or a lost include gets caught before it costs you replies.
Frequently asked questions
What is the difference between SPF include and redirect?
include: is a mechanism: it checks the sending IP against another domain's SPF record, matches only if that record passes, and otherwise your record keeps going to its own ~all or -all. redirect= is a modifier: if nothing in your record matches, the other domain's record is evaluated and its result, including its all policy, becomes yours.
Can I use redirect and ~all in the same SPF record?
You can publish it, but the redirect does nothing. RFC 7208 says a redirect modifier MUST be ignored when the record has an all mechanism anywhere in it. Use either include: terms with ~all, or a redirect= with no all.
Does redirect count toward the SPF 10 lookup limit?
Yes. RFC 7208 section 4.6.4 lists the redirect modifier with include, a, mx, ptr and exists as terms that cause DNS lookups, and the lookups inside the redirect target count too.
Should I use redirect for Google Workspace?
No. Use include:_spf.google.com in your own record and end it with ~all or -all. A redirect to a provider's domain makes the provider's policy your policy, and RFC 7208 says include is generally more appropriate across organizations.
What happens if the redirect target has no SPF record?
SPF returns permerror, not none (RFC 7208 section 6.1), so mail from that domain fails SPF with an error. Make sure the target has exactly one v=spf1 record.
Related guides
- SPF record: too many DNS lookups, and how to fix it
- SPF void lookup limit: why a dead include makes SPF fail
- Multiple SPF records: why two records break SPF and how to merge them
- SPF record for Google Workspace: the exact value and common mistakes
- Using a separate domain for cold email: why and how
- SPF ~all vs -all: which one should a cold email domain use?
- All guides
- Monitoring plans