Bounce and error codes
SMTP Error Codes Explained (With a Lookup Table)
SMTP errors pair a three-digit reply code with an x.y.z status code. A 4xx is temporary and retried, a 5xx is permanent. How to read both, plus a lookup table.
On this page
Every SMTP error has two codes. The three-digit reply code (like 550) tells the sending server what to do next: a 4xx means "temporary, try again later" and a 5xx means "permanent, don't retry." The enhanced status code (like 5.7.26) narrows down why, and the text after it, written by the receiving server, usually tells you exactly what to fix.
The anatomy of an SMTP error
Here's a typical rejection, this one from Gmail:
550-5.7.26 This email has been blocked because the sender is unauthenticated.
550-5.7.26 Gmail requires all senders to authenticate with either SPF or DKIM.
550 5.7.26 ... - gsmtp
Three pieces:
- Reply code (
550). Defined in RFC 5321, the SMTP standard. It's meant for software: it tells the sending server whether to retry, give up or carry on. Multi-line replies repeat it with a hyphen (550-) on every line except the last. - Enhanced status code (
5.7.26). Defined in RFC 3463 and extended by providers. It's aclass.subject.detailtriple that classifies the problem more precisely than the reply code can. - Diagnostic text. Free text from the receiving server. RFC 5321 says the number is for machines and the text is for humans, and in deliverability work the text is where the answer lives. It often names a blocklist, a policy, a help URL or a provider-specific code like Microsoft's
S3150or Yahoo'sTSS04.
Gmail adds gsmtp to the end of all its errors. If you see gcdp in there too, the rejection came from a custom rule the recipient's Google Workspace admin set up, not from Gmail itself.
First digit: temporary or permanent
| Reply code starts with | Meaning | What your server does |
|---|---|---|
| 2xx | Success | Moves on. 250 is the "OK" you want to see. |
| 3xx | Intermediate | Sends more (for example, 354 after DATA means "send the message body"). |
| 4xx | Temporary failure (a deferral) | Queues the message and retries. If it keeps failing, it eventually gives up and bounces. |
| 5xx | Permanent failure | Stops and returns a bounce to the sender. Retrying the same message unchanged won't help. |
That 4xx versus 5xx split matters more than people think. A 4xx deferral is not a bounce yet, and your ESP may report it as "delayed" or "soft bounce." But a 4xx from a mailbox provider is often a reputation warning. Gmail's 421 4.7.0 and Yahoo's TSS04 are both temporary codes that mean "we don't trust you enough right now." Ignore enough of them and they turn into 5xx rejections.
The enhanced status code, decoded
RFC 3463 splits the code into class, subject and detail. The class mirrors the reply code (2 success, 4 temporary, 5 permanent). The subject tells you which part of the system complained:
| Subject | Category | What it usually points to |
|---|---|---|
| x.0.x | Other or undefined | Catch-all. Read the text. |
| x.1.x | Addressing | The recipient or sender address is wrong or doesn't exist. 5.1.1 is "bad destination mailbox address." |
| x.2.x | Mailbox | The mailbox is full, disabled or inactive. |
| x.3.x | Mail system | The receiving system has a problem, such as a message that's too big. |
| x.4.x | Network and routing | DNS or routing trouble, or "delivery time expired" (4.4.7) after retries ran out. |
| x.5.x | Protocol | The SMTP conversation itself went wrong. |
| x.6.x | Content or media | The message format or content can't be handled. |
| x.7.x | Security or policy | Authentication, reputation, blocklists, policy blocks. This is where most deliverability problems live. |
Providers add their own detail numbers on top of the RFC ones. Gmail's 5.7.26 and Microsoft's 5.7.708 aren't in RFC 3463, but they follow the pattern: 5 means permanent, 7 means policy.
Lookup table: common codes and where to start
The same code can mean different things at different providers, so the "usual cause" column is the most common reading, not the only one. Click through for the full diagnosis.
| Code | Usual meaning | Type | Start here |
|---|---|---|---|
| 421 4.7.0 | Gmail deferral, often low reputation or a temporary block | Temporary | 421 4.7.0 |
| 421 4.7.28 / 550 5.7.28 | Gmail saw an unusual rate of unsolicited mail | Temp / perm | 421 4.7.28 |
| 421 4.7.27, 4.7.29, 4.7.30, 4.7.32 | Gmail rate limiting for SPF, TLS, DKIM or DMARC alignment failures | Temporary | Gmail authentication rate limits |
| 451 4.7.650 | Microsoft throttling due to IP reputation | Temporary | 451 4.7.650 |
| 421 / 451 with TS01 to TSS09 | Yahoo deferral | Temporary | Yahoo deferral codes |
| 550 (generic) | Permanent failure, cause in the text | Permanent | SMTP 550 |
| 550 5.1.1 | Recipient address doesn't exist | Permanent | 550 5.1.1 |
| 550 5.1.8 | Microsoft 365: your outbound account is blocked | Permanent | 550 5.1.8 |
| 550 5.4.1 | Microsoft: recipient address rejected, access denied | Permanent | 550 5.4.1 |
| 550 5.7.1 | Delivery not authorized, message refused (policy) | Permanent | 550 5.7.1 |
| 550 5.7.1 (Gmail, "likely unsolicited") | Gmail spam block | Permanent | Gmail 550 5.7.1 |
| 550 5.7.25 | Sending IP has no PTR (reverse DNS) record | Permanent | 550 5.7.25 |
| 550 5.7.26 | Gmail: unauthenticated mail | Permanent | 550 5.7.26 |
| 550 5.7.509 | Microsoft: sending domain fails DMARC with p=reject | Permanent | 550 5.7.509 |
| 550 5.7.511 | Microsoft 365: banned sender | Permanent | 550 5.7.511 |
| 550 5.7.515 | Outlook.com: domain doesn't meet authentication requirements | Permanent | 550 5.7.515 |
| 550 5.7.606 to 5.7.649 | Microsoft: banned sending IP | Permanent | 550 5.7.606-649 |
| 550 5.7.708 | Microsoft 365: traffic not accepted from this IP | Permanent | 550 5.7.708 |
| 550 5.7.0 / 5.7.1 "per DMARC policy" | Receiver enforced your DMARC reject policy | Permanent | Rejected per DMARC policy |
| 554 5.7.1 | Message refused, or relay access denied | Permanent | 554 5.7.1 |
| 554 5.7.1 [CS01] / [HM08] | iCloud policy rejection | Permanent | iCloud CS01 |
| 550 with S3150 / S3140 | Outlook.com: your IP range is on Microsoft's block list | Permanent | Outlook S3150 |
If the bounce names a public blocklist (zen.spamhaus.org, bl.spamcop.net, b.barracudacentral.org), the code matters less than the list. Go to email blocklists and find the list by name.
How to use a code without being misled by it
- Pattern beats single bounces. One
550 5.7.1is noise. Five thousand of them at one provider since Tuesday is a diagnosis. Group your bounces by receiving domain and by code before you change anything. - The provider matters as much as the code. A
5.7.1from Gmail, Microsoft and a corporate Proofpoint gateway are three different problems. Note who generated the bounce (the remote server in the NDR) before you look up the code. - Your ESP's bounce category isn't the bounce. "Soft bounce" and "hard bounce" are ESP labels, and some ESPs classify policy blocks as hard bounces and suppress good addresses. Pull the raw SMTP text.
- Fix the cause, not the code. Codes for authentication (
5.7.26,5.7.509,5.7.515, the Gmail4.7.2xand4.7.3xfamily) are usually DNS fixes you can check with the SPF, DKIM and DMARC checker. Codes for reputation (421 4.7.0,5.7.28,S3150,TSS04) mean something about your sending practices needs to change, and no DNS record will fix them.
For a step-by-step walkthrough of pulling apart a real bounce message, see how to read a bounce message.
When to get help
If bounces are spread across several providers with different codes, or a block hasn't lifted after you've fixed the obvious cause, it's usually a reputation problem with more than one input. That's worth a second pair of eyes; get in touch.
FAQ
What's the difference between a soft bounce and a hard bounce?
A soft bounce is a temporary (4xx) failure the sending server will retry, like a full mailbox or a deferral. A hard bounce is a permanent (5xx) failure. Those are ESP terms, though, and ESPs don't all classify codes the same way, so check the raw SMTP text before you suppress an address.
Is a 550 error always a bad address?
No. 550 5.1.1 is a bad address, but 550 5.7.x codes are policy rejections: authentication failures, reputation blocks or blocklist hits. The address can be perfectly valid. See SMTP 550.
Why does the same code mean different things at different providers?
RFC 3463 only defines broad categories and a handful of detail codes, so providers reuse 5.7.1 for whatever policy reason they like and invent new detail numbers for their own checks. The diagnostic text is the authoritative explanation.
How long will a server retry a 4xx error?
It depends on the sending software. Many MTAs and ESPs retry for anywhere from several hours to a few days before giving up and generating a bounce, often with a "delivery time expired" status. Check your ESP's documentation for its retry window.
Sources
In this section
- 421 4.7.0: Try Again Later (Gmail Deferrals and Low Reputation)Gmail's 421 4.7.0 is a temporary deferral. Most often it means your IP or domain reputation is very low, or your IP has no valid reverse DNS. Here's the fix.
- 421 4.7.28 / 550 5.7.28: Gmail Detected an Unusual Rate of Unsolicited MailGmail's 421 4.7.28 means it's rate limiting your IP, domain or URL because of volume or spam signals. Pause, slow down, then fix the reputation cause.
- 451 4.7.650: Temporarily Rate Limited Due to IP Reputation (Microsoft)451 4.7.650 means Outlook.com is deferring mail because it doesn't trust your sending IP yet. Slow down, mail engaged users and fix what hurt reputation.
- 550 5.1.1: Recipient Address Rejected, User UnknownA 550 5.1.1 bounce means the recipient's mailbox doesn't exist. It's a permanent failure: fix any typo, or remove the address from your list if it's correct.
- 550 5.1.8: Access Denied, Bad Outbound Sender (Microsoft 365)550 5.1.8 means Microsoft 365 blocked a user from sending, usually because the account was compromised or hit sending limits. An admin must unblock it.
- 550 5.4.1: Recipient Address Rejected, Access Denied (Microsoft)550 5.4.1 means Microsoft 365 didn't find the recipient in that organization's directory. Check the address; if it's right, the recipient's admin must fix it.
- 550 5.7.1: Delivery Not Authorized, Message Refused550 5.7.1 means the receiving server refused your message by policy. The text after the code says which policy: a blocklist, a restricted recipient, relay or spam.
- 550 5.7.25: Sending IP Has No PTR RecordA 550 5.7.25 bounce means your sending IP has no reverse DNS (PTR) record, or the PTR hostname doesn't resolve back to that IP. The IP's owner has to fix it.
- 550 5.7.26: Unauthenticated Email Is Not Accepted (Gmail)Gmail's 550 5.7.26 bounce means your message failed authentication: no passing SPF or DKIM, an SPF hard fail, or a failed DMARC check under p=reject.
- 550 5.7.509: Sending Domain Does Not Pass DMARC (Microsoft)550 5.7.509 means Microsoft rejected your message because the From domain failed DMARC and publishes p=reject. Fix SPF or DKIM alignment for that sender.
- 550 5.7.511: Access Denied, Banned Sender (Microsoft 365)550 5.7.511 means Microsoft 365 has banned your sending IP. The self-service delist portal won't clear it: email delist@microsoft.com with the full NDR and IP.
- 550 5.7.515: Sending Domain Doesn't Meet the Required Authentication Level (Outlook.com)550 5.7.515 means Outlook.com rejected your mail because your From domain didn't pass SPF, DKIM and aligned DMARC, which Microsoft requires of bulk senders.
- 550 5.7.606-649: Access Denied, Banned Sending IP (Microsoft)550 5.7.606 to 5.7.649 means Microsoft 365 has blocked your sending IP. Fix what caused it, then request removal yourself at sender.office.com.
- 550 5.7.708: Access Denied, Traffic Not Accepted From This IP (Microsoft 365)550 5.7.708 means Exchange Online blocked your tenant's outgoing mail from a low-reputation IP. It mostly hits new and trial tenants; Support lifts it.
- 554 5.7.1: Message Refused or Relay Access Denied554 5.7.1 means the receiving server refused your mail: it won't relay for you, or a policy (usually a blocklist) rejected you. The bounce text says which.
- Email Rejected per DMARC Policy (550 5.7.0 / 5.7.1)'Rejected per DMARC policy' means the From domain publishes p=reject and your message failed DMARC: no aligned SPF or DKIM pass. Here's how to find and fix it.
- Gmail 550 5.7.1: This Message Is Likely Unsolicited MailGmail's 550 5.7.1 'likely unsolicited mail' bounce is a reputation block, not a blocklist. Find the cause in complaints, targeting or links, then rebuild.
- Gmail and Yahoo Error Codes: Quick ReferenceA quick lookup for the Gmail and Yahoo bounce codes senders hit most: what each one means, whether it's temporary or permanent, and where to start fixing it.
- Gmail Authentication Rate Limits: 4.7.27, 4.7.30, 4.7.32 and 4.7.29 ExplainedGmail's 421 4.7.27, 4.7.30, 4.7.32 and 4.7.29 errors mean it's rate limiting you for failing SPF, DKIM, DMARC alignment or TLS. Fix the check the code names.
- iCloud 554 5.7.1 [CS01] / [HM08]: Message Rejected Due to Local PolicyiCloud 554 5.7.1 CS01 and HM08 bounces are Apple policy blocks. Apple doesn't say what triggers them, so check authentication, list quality and content.
- Outlook.com 421 RP-001, RP-002, RP-003: Rate Limit Exceeded421 RP-001, RP-002 and RP-003 mean Outlook.com is throttling your IP's message rate or connections because of its reputation. Slow down and fix the cause.
- Outlook.com S3150 / S3140: Part of Your Network Is on Our Block ListS3150 and S3140 mean Microsoft's consumer mail filters have blocked your sending IP. Here's what triggers it, how to fix it and how to request removal.
- SMTP 550 Permanent Failure: What It MeansSMTP 550 means the receiving server permanently refused your message. The enhanced code after it (5.1.1, 5.7.1, 5.7.26) tells you why and what to fix.
- Why Are My Emails Bouncing or Being Blocked? How to Read the Bounce MessageThe bounce message tells you why your email was blocked. Find the raw SMTP response, note who rejected it, check 4xx vs 5xx, then read the text for the cause.
- Yahoo 550 5.7.9: Blocked Because the Sender Is UnauthenticatedYahoo returns 550 5.7.9 when your message passed neither SPF nor DKIM. Find the system that sent it, authenticate it on your domain, then resend.
- Yahoo 554 5.7.9: Message Not Accepted for Policy ReasonsYahoo 554 5.7.9 usually means the message failed DMARC for a domain with a reject policy, often through forwarding, or broke a formatting rule.
- Yahoo Deferral Codes TS01, TS02, TS03, TSS04, TSS05 and TSS09Yahoo TS and TSS codes mean it is deferring or refusing your mail, usually over complaints, volume spikes or IP reputation. What each code means and the fix.
Still stuck?
Some deliverability problems take an experienced eye to untangle. Tell me what you're seeing and I'll tell you what I'd check first. The first 30-minute call is free.