550 5.7.27 bounce: SPF did not pass (Gmail)
What to do
Stop the campaign and fix SPF, DKIM or DMARC. The address is fine; the mail is not trusted.
Also covers: 4.7.27
How the bounce reads
- GmailThis message was blocked because it didn't pass SPF authentication.
- Gmail (temporary, 421 4.7.27)Your email has been rate limited because SPF authentication didn't pass for this message.
Message text quoted from Google Workspace: Gmail SMTP errors and codes, read on 11 November 2026. Providers change their wording; the code is what stays stable.
Why it happens
- The sending platform's include is missing from the SPF record.
- The domain has two SPF records, which makes SPF return a permanent error.
- The record needs more than ten DNS lookups, which also returns a permanent error.
- Mail is sent from a subdomain that has no SPF record of its own. SPF is not inherited.
How to fix it
- Run an SPF check on the exact domain in your Return-Path, not just the From domain.
- Merge everything into one record and count the lookups.
- Add the include your sending platform documents, then test with a real message.
Should you resend?
After the record is fixed.
Would verifying the address have prevented it?
No. This is the sender's DNS.
Other codes of this kind
Decode another bounce
Paste the bounce message. It is read in your browser and not sent anywhere.
Related
- SPF checker: validate an SPF record and count its DNS lookups
Check a domain's SPF record: one record or two, how it ends, and how many of the ten DNS lookups it uses.
- Free SPF record generator: build your SPF record online
Build a v=spf1 TXT record from the providers you actually send through.
- SPF lookup limit — cold email glossary
SPF allows a maximum of ten DNS lookups per check. Nested includes count. Going over makes SPF fail even when the sending IP is authorised.
- 550 5.7.26 bounce: the sender is unauthenticated (Gmail)
550 5.7.26 is Gmail refusing mail that passed neither SPF nor DKIM, or that failed the sending domain's DMARC policy. Since 2024 Gmail requires every sender to authenticate with at least one of the two. The address is fine; your domain's DNS is not.