A bounce code is a short reply from a mail server explaining why it refused or could not deliver a message. Codes starting with 4 are temporary failures that the sending server will retry, codes starting with 5 are permanent failures that should not be retried, and a second, more specific code in the form class.subject.detail, such as 5.1.1 or 5.7.1, says why. The text after the codes is written by the receiving server and is often the most useful part.
Read the three parts together: the three digit SMTP reply code, the enhanced status code, and the human readable text. This page lists the codes you meet most often, what they usually mean, and the first thing to try. Always treat the server's own text and documentation as authoritative, because providers use the same codes for different reasons.
How to read a bounce
A typical rejection looks like this. The first number is the SMTP reply code from RFC 5321. The second is the enhanced status code from RFC 3463. The remainder is free text.
550 5.1.1 The email account that you tried to reach does not exist.
554 5.7.1 Service unavailable; Client host [203.0.113.10] blocked
421 4.7.0 Try again later, closing connection.
452 4.2.2 The email account that you tried to reach is over quota.In the enhanced code, the first digit is the class: 2 success, 4 persistent transient failure, 5 permanent failure. The second digit is the subject (1 addressing, 2 mailbox, 3 mail system, 4 network and routing, 5 mail delivery protocol, 6 message content or media, 7 security or policy). The third digit is the detail. If you receive a bounce message by email, it is a delivery status notification. See DSN and NDR messages and how to read a bounce code.
Basic SMTP reply codes
| Code | Meaning (RFC 5321) | Typical action |
|---|---|---|
| 421 | Service not available, closing the channel | Retry. Often rate limiting or a busy server. See 421 4.7.0 |
| 450 | Mailbox unavailable, action not taken (temporary) | Retry. See 450 |
| 451 | Local error in processing | Retry. See 451 |
| 452 | Insufficient system storage or too many recipients | Retry later or reduce recipients. See 452 |
| 500, 501, 502, 503, 504 | Syntax errors, command not recognised, bad sequence, parameter not implemented | Fix the client. See 501 and 503 |
| 550 | Mailbox unavailable, action not taken (permanent) | Read the enhanced code. See 550 errors |
| 551 | User not local | Use the forwarding address if given |
| 552 | Exceeded storage allocation or message too large | See 552 |
| 553 | Mailbox name not allowed (syntax) | Check the address. See 553 |
| 554 | Transaction failed, often policy or content rejection | See 554 |
Authentication related replies come from the SMTP extensions rather than RFC 5321 itself: 530 means authentication is required, 535 means authentication credentials were invalid, and 454 is a temporary authentication failure. See 535 authentication failed and 530 5.7.0.
Enhanced status codes you will see most
| Code | Meaning | What to do |
|---|---|---|
| 2.0.0 / 2.1.5 | Accepted or destination address valid | Nothing; this is success |
| 4.2.2 | Mailbox full (temporary) | Retry; if it persists, treat the address as inactive. See mailbox full |
| 4.4.1 / 4.4.2 | Connection timed out or dropped | Retry; check network and the remote server |
| 4.7.0 | Temporary policy or reputation deferral | Slow down and retry. See greylisting and deferrals |
| 5.1.1 | Bad destination mailbox address, user unknown | Suppress the address. See 550 5.1.1 |
| 5.1.2 | Bad destination system address, domain does not exist | Check for typos, then suppress |
| 5.1.8 | Bad sender system address | Fix your sender domain. See 5.1.8 |
| 5.1.10 | Recipient domain has a null MX and accepts no mail (RFC 7505) | Suppress the address |
| 5.2.1 | Mailbox disabled or not accepting mail | Suppress after repeated failures |
| 5.2.2 | Mailbox full (permanent) | Retry later; suppress if repeated |
| 5.3.4 | Message too big for the system | Reduce size. See size limits |
| 5.4.1 | No answer from host or recipient access rejected | Check the recipient and MX |
| 5.4.4 | Unable to route | Check the domain MX records |
| 5.5.4 | Invalid command arguments | Fix the client or address format |
| 5.7.1 | Delivery not authorised, message refused | Reputation, policy, blocklist or relay denied. See below |
| 5.7.23 | SPF validation failed (RFC 7372) | Fix SPF for the sending IP |
| 5.7.25 | Reverse DNS validation failed (RFC 7372) | Fix PTR. See 5.7.25 |
| 5.7.26 | Multiple authentication checks failed (RFC 7372) | Fix SPF, DKIM and DMARC. See 5.7.26 |
Deep dive: 5.1.1 and 5.7.1
5.1.1 is the most common hard bounce. The mailbox does not exist at that domain. Causes are typos, people who left, fake signups and old lists. The fix is to suppress the address after the first occurrence and, if the volume is high, to validate lists before sending. A rising 5.1.1 rate is a list quality problem, not a server problem. See validating addresses and bounce rates.
5.7.1 is the catch-all for policy rejection, and the text matters. Read it for hints such as a blocklist name, a DMARC policy, an authentication failure, an IP or domain reputation reference or relay denied. Then work through the branches in the table below.
| 5.7.1 text contains | Likely cause | Next step |
|---|---|---|
| blocked, blocklist, listed | Your IP or domain is on a blocklist | Use the blacklist check and follow delisting steps |
| DMARC, policy, unauthenticated | Failed authentication against a strict policy | See DMARC rejection |
| unable to relay, relay access denied | You tried to relay without authenticating or permission | See relay denied |
| S3150, S3140, Microsoft | Microsoft reputation or policy block | See Outlook blocks |
| spam, content, rejected as spam | Content or reputation scored as spam | See why mail is blocked |
Hard bounces, soft bounces and what to suppress
- Hard bounce (5xx). Suppress the address for address-related causes such as 5.1.1, 5.1.2 and 5.2.1. Policy-related 5xx codes such as 5.7.1 usually mean your sending is blocked, not that the address is bad, so fix the cause instead of suppressing the recipient.
- Soft bounce (4xx). The server keeps trying according to its retry schedule, commonly over several days, then reports failure. See retry schedules.
- Repeated soft bounces. Many systems suppress an address after a number of consecutive soft bounces over a period you define.
- Block bounces versus address bounces. Classify by cause, not by digit alone. See bounce classification and hard versus soft bounces.
Provider specific wording
Receiving servers add their own text and sometimes their own codes. Microsoft, Google and Yahoo each publish documentation of their rejection messages, and these change over time. When a code looks inconsistent with this table, search the exact error text with the provider name, and read the provider's current documentation. A fuller list of the standard values is kept in the IANA enhanced status code registry.
Patterns that help you diagnose faster
Look at bounces in aggregate, not one at a time. Group them by enhanced code and by recipient domain. A single code dominating one domain, for example 5.7.1 at one large mailbox provider while others are clean, points to a reputation or policy decision by that provider. The same code spread evenly across every domain points to something on your side, such as failed authentication or a blocklisted IP. A cluster of 5.1.1 across many small domains points to list quality.
Compare timing as well. A bounce that appears immediately during the SMTP conversation is a rejection by the receiving server, while a bounce that arrives minutes or days later is generated after acceptance or after repeated deferrals. The first is easier to act on because the reply text is exact. Keep the raw text, because providers change wording without notice.
Troubleshooting a bounce
- Copy the full bounce text including the diagnostic line and the remote server name.
- Identify the class: 4 or 5, and the subject digit.
- Decide whether it concerns the address, the recipient server, or you.
- Check authentication and reputation if the subject is 7.
- Check your own logs for the same code on other messages. See reading SMTP logs and tracing message events.
- Change one thing at a time, then resend a small test.
Next steps: wire bounce events into your system through webhooks, automatically suppress hard bounces and keep a dashboard of codes by recipient domain. A sudden cluster of the same code at one provider is usually a reputation or policy issue, while scattered 5.1.1 across many domains is list quality.
Get bounce events with the code attached Receive bounce and complaint webhooks and have hard bounces suppressed automatically.
References and further reading
Frequently asked questions
What is the difference between 4xx and 5xx bounce codes?
4xx codes are temporary and will be retried, while 5xx codes are permanent for that attempt and should not be retried.
What does 550 5.1.1 mean?
The recipient mailbox does not exist at that domain. Suppress the address and check your list for typos or stale entries.
What does 5.7.1 mean in a bounce?
Delivery was refused for policy or security reasons, such as a blocklist, authentication failure or relay denial. The accompanying text gives the specific cause.
Should I retry a 5xx error?
Not the same message to the same address. Fix the underlying cause, such as authentication or reputation, before sending again.
Where are enhanced status codes defined?
In RFC 3463, with additional codes registered with IANA and extended by RFC 7372 for email authentication failures.