Guides / SPF ~all vs -all: which one should a cold email domain use?

SPF ~all vs -all: which one should a cold email domain use?

Updated November 1, 2026

Every SPF record ends with an "all" rule that tells receiving servers what to do with mail from a server you didn't list. The two common choices are ~all (softfail) and -all (hardfail), and people argue about which is better for deliverability. For most cold email domains with DMARC set up, the difference is smaller than the argument suggests. What matters far more is that the record is valid, lists every tool that sends for you, and is the only SPF record on the domain.

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

What the endings mean

SPF is defined in RFC 7208. The last part of the record, the "all" mechanism, matches any server not covered by the earlier parts, and the symbol in front of it sets the result:

  • -all (fail, often called hardfail): servers not listed are not authorized to send for this domain.
  • ~all (softfail): servers not listed are probably not authorized, but the domain owner isn't making a strong claim.
  • ?all (neutral): the domain owner says nothing about servers not listed. This gives receivers almost no protection against spoofing.
  • +all (pass): any server in the world may send as your domain. Never use this; it makes SPF meaningless and invites spoofing.

The SPF result is a signal. Receiving servers decide for themselves what to do with a softfail or a fail, and big mailbox providers combine it with DKIM, DMARC and reputation rather than acting on SPF alone.

How DMARC changes the question

When your domain has a DMARC record, receivers that check DMARC look at whether SPF or DKIM passed and aligned with your From: domain. For DMARC, softfail and fail both count as "not a pass", so ~all and -all lead to the same DMARC result. Your DMARC policy (p=none, quarantine or reject) is what tells receivers how strict to be.

There is one known catch. RFC 7489, the DMARC specification, notes that some receivers act on an SPF fail before they evaluate DMARC. With -all, a message that fails SPF but would have passed DMARC through DKIM can be rejected early. The usual case is mail forwarded by a third party, because forwarding changes the sending server and breaks SPF while DKIM survives.

What to use for a cold email domain

  1. Make sure there is exactly one SPF record that starts with v=spf1. Two records cause a permerror and SPF fails everywhere. See multiple SPF records.
  2. List every service that sends mail as the domain: your mailbox provider (Google Workspace or Microsoft 365), your sending tool if it uses its own servers, and anything else such as a helpdesk or newsletter tool.
  3. Stay under the 10 DNS lookup limit. See SPF too many DNS lookups.
  4. End with ~all if you're still adding tools or aren't sure every sender is listed. Switch to -all once you've confirmed every legitimate sender passes, if you want the stricter signal.
  5. Set up DKIM on every sending tool so mail can pass DMARC even when SPF breaks, then add DMARC. See DMARC policy for cold email.

Changing ~all to -all will not move cold emails from spam to the inbox on its own. If mail is landing in spam with valid authentication, the cause is usually reputation, volume or content. See SPF, DKIM and DMARC pass but emails go to spam.

Check your record

Run the free checker on your sending domain to see your current SPF record, whether it ends in ~all, -all, ?all or +all, and whether DKIM and DMARC are in place. For a closer look at the SPF record alone, use the SPF checker. Re-check after any DNS change, because a typo in the record can break SPF for every mailbox on the domain.

Frequently asked questions

Is -all better for deliverability than ~all?

Not in any way you can count on. With DMARC in place, receivers treat softfail and fail the same way for the DMARC check. -all is a stricter anti-spoofing signal, but it won't fix spam placement caused by reputation or content.

Can -all cause my own emails to be rejected?

Yes, if a server that sends for you isn't in the record, or when mail is forwarded and a receiver rejects on SPF fail before checking DMARC. That's why it's safer to confirm every sender passes before switching to -all.

Is ?all or +all ever a good idea?

No. ?all tells receivers nothing, and +all authorizes every server on the internet to send as your domain. Use ~all or -all.

My SPF record ends in ~all and my emails still go to spam. Should I change it?

Changing the ending is unlikely to help. Check that SPF actually passes for the tool you send with, that DKIM is set up and DMARC exists, then look at volume, list quality and complaint rate.

Do I need a separate SPF record for each sending tool?

No. A domain must have a single SPF record. Add each tool's include: to that one record, and keep the total under 10 DNS lookups.

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