1. Home
  2. SMTP codes

SMTP error codes explained

SMTP reply codes starting with 5 are permanent failures — the message will never be delivered and must not be retried. Codes starting with 4 are temporary, and the sending server will retry automatically. The digits after the first one narrow down the reason, and that is where the fix lives.

Permanent failures — 5xx

Do not retry these. Continuing to send to a permanent failure is one of the fastest ways to damage sender reputation.

Temporary deferrals — 4xx

These resolve on their own in most cases. A 4xx during mailbox verification is not a verdict on the address — it means unconfirmed.

Reading a reply code

Every SMTP reply has a three-digit basic code and, usually, a three-part enhanced code. The basic code’s first digit is the only part that decides whether to retry: 2xx accepted, 4xx temporary failure, retry, and 5xx permanent failure, do not retry.

The enhanced code adds precision. In 5.1.1 the first digit repeats the class, the second names the subject — 1 for address problems, 7 for policy and security — and the third is the specific detail. So 5.1.1 is a permanent address problem, and 5.7.1 is a permanent policy refusal. They need completely different fixes, which is why the enhanced code matters.

Always read the text after the code too. Most mail servers name the actual reason in plain language, and many include a URL to their own policy page.

Most of these are preventable

550 5.1.1 is the code you see when an address does not exist, and it is the one verification eliminates entirely — before the bounce is recorded against your domain rather than after. The policy codes, 5.7.1 and 554, usually come down to SPF, DKIM and DMARC on your sending domain.

Ready to clean your email lists?

Start verifying emails today and boost your deliverability.

Get Started

Cancel anytime • No setup required