Skip to content
Gmail and Google Workspace · permanent error

550 5.7.26: SPF hard fail

Gmail rejected the message because the sending IP is not allowed by the SPF record of the envelope domain, and that record ends in -all.

Gmail
Provider
Permanent (5xx)
Class
Sources checked
Author

At a glance

Code
550 5.7.26
Temporary or permanent
PermanentRefused for good: the message comes back to the sender, and resending it gets the same answer.
Who has to act
The sender. The fix is on the sending side: your domain, your server or your list.
What the server says
550 5.7.26 …has an SPF record with a hard fail policy (-all)…

What it means

The envelope sender (MAIL FROM) domain publishes an SPF record ending in -all, which tells receivers to refuse mail from any server it does not list. The IP that delivered this message is not listed, so SPF failed hard and Gmail blocked the message, as Google says, to protect its users from spam and phishing. The bounce names the domain and the IP. Either that IP is a legitimate server missing from the record, or someone else is using your domain in the envelope. Forwarded mail can hit this too, because the forwarder's IP is not in the original sender's record.

Common causes

  • A new sending service or server that was never added to the SPF record.
  • Mail forwarded through a server that the original domain's SPF does not list.
  • Someone spoofing your domain in the envelope sender.

How to fix it

  1. 01Check the IP in the bounce against your SPF record with an SPF lookup.
  2. 02If it is one of your senders, add it, or its include, to the record.
  3. 03If it is not yours, leave the record as it is: the rejection is protecting your domain.
  4. 04For forwarding, ask the forwarder to rewrite the envelope sender (SRS), and sign with DKIM, which survives forwarding.

Sources

What this page rests on, checked on 20 Oct 2026. The explanation is ours; the reply text is the server's.

  1. 550 5.7.26Unauthenticated sender, blocked.Gmail rejected the message because it passed neither SPF nor DKIM, and Gmail requires every sender to pass at least one.GmailPermanent
  2. 550 5.7.27SPF did not pass, blocked.Gmail rejected the message because it failed SPF, which Gmail requires of bulk senders along with DKIM.GmailPermanent
  3. 550Mailbox unavailable.The receiving server permanently refused the message for this recipient: the mailbox does not exist, cannot be reached, or the server rejected the message by policy.StandardPermanent
  4. 550 5.7.26Multiple authentication checks failed.The message failed more than one authentication check, for example SPF and DKIM, and the receiving server's policy rejects it.StandardPermanent

Further reading

All 108 Gmail codesEvery code in the wikiPaste your own bounce

Beat · paid monitoring

A heartbeat for your email.

Beat runs every check on this site on a schedule: 41 checks, 33 blacklists and real inbox placement. The moment something breaks, it tells you what broke, why it matters, and the exact fix.

example.comWatching
  • SPFpass
  • DKIMpass
  • DMARCp=none
  • Blacklists0 of 33

Illustrative. Your domain, every few hours.

Also from us:Pulse: your own sending infrastructureConsulting: $65/hr, no retainer