1. Home
  2. SMTP codes
  3. Enhanced status codes
  4. 5.4.0

X.4.0 · Network and routing

SMTP enhanced status code 5.4.0

Other or undefined network or routing status

X.4.0 says something went wrong with networking or routing, without saying what. It is a generic network error.

Registry codeX.4.0
Forms in use5.4.0, 4.4.0
Registry nameOther or undefined network or routing status
Subject4: Network and routing
Permanent or temporary4.x.x persistent transient failure: retrying later may succeed; 5.x.x permanent failure: resending unchanged will not succeed
Associated basic codesNot given
Defined in[RFC 3463]

What the registry says

Something went wrong with the networking, but it is not clear what the problem is, or the problem cannot be well expressed with any of the other provided detail codes.

IANA SMTP Enhanced Status Codes registry, X.4.0

In practice

X.4.0 shows up when the sending side cannot say exactly what went wrong at the network level, such as a connection reset mid-transfer or an error the software could not classify. It is normally transient. If a single destination keeps producing it, test the route from your server with a manual SMTP connection to the domain's MX hosts. Because the code says so little, your own server's logs for the same delivery attempt are often more useful than the bounce. They show whether the connection was refused, timed out or reset, which points to the right fix.

What the sender should do

Let the queue retry. If it persists, check DNS and connectivity between your server and the destination.

Would verifying the list have prevented 5.4.0?

No

This reply is about your sending setup, the message or the receiving system, not about whether the address exists, so verifying the list will not prevent it.

Common questions

What does 5.4.0 mean?
X.4.0 says something went wrong with networking or routing, without saying what. It is a generic network error.
What is the difference between 5.4.0 and 4.4.0?
They share the subject and detail digits, so they report the same condition, "Other or undefined network or routing status". The first digit is the class: 4.x.x persistent transient failure: retrying later may succeed; 5.x.x permanent failure: resending unchanged will not succeed.
What should I do about 5.4.0?
Let the queue retry. If it persists, check DNS and connectivity between your server and the destination.
Would an email verifier have caught 5.4.0?
No. This reply is about your sending setup, the message or the receiving system, not about whether the address exists, so verifying the list will not prevent it.

Sources

Registry and provider wording is quoted exactly; guidance is written by the SimpleVerifier Team.

SimpleVerifier Team · Last checked against the sources 2026-11-05

Clean your next list before it bounces

100 free email checks when you sign in with Google, no card. Then monthly plans from $9, or one flat price with fair use, never cut off.

100 free checks, no card Cancel anytime Secure payment by Stripe