Code segment breakdown
| Segment | Field | Detail |
|---|---|---|
| 554 | Class | Permanent failure: no retry |
| 5.4.14 | Enhanced status | Routing loop detected (hop count exceeded) |
| InvalidHopCount | Named cause | The Microsoft 365 resolver verdict for looping mail |
Root causes ranked by frequency
| Cause | Evidence in the results | Fix | Verify with |
|---|---|---|---|
| Connector loop between gateways | M365 outbound connector routes back to *.mail.protection.outlook.com | Fix the connector address space so mail exits, not re-enters | Header analyzer |
| Catch-all forwarding rule | A forwarding rule sends back to an alias on the same domain | Remove the self-referencing forwarding entry | MX record lookup |
| MX points to a filter that points back | Spam filter MX chains to the same MX | Correct the filter outbound path | MX record lookup |
| Excessive legitimate hops | Long forwarding chains past the hop limit | Shorten the chain or raise the hop limit where you own it | Header analyzer |
Step-by-step fixes
- 1 Read the Received headers bottom-up: each server appends a hop, and the loop repeats once you pass the point where routing went wrong.
- 2 Identify the pair of servers trading the message: the same two hostnames appearing twice is the loop.
- 3 Fix at the boundary you control: the outbound connector address space, the forwarding rule, or the MX record.
- 4 Verify by sending a fresh message and confirming the Received chain terminates at your real mailbox host.
Production edge cases when debugging 554 5.4.14
The nastiest 5.4.14 variant: a user sets auto-forwarding on their mailbox to an external address, and the external address auto-forwards back to an alias on your domain. Each forward adds two hops until the limit trips. No MX change fixes it; the fix is the forwarding rule pair, and the Received chain names both servers so you know exactly which two admins to call.
SMTP 554 5.4.14 vs related bounce codes
| Code | Class | Primary layer | Typical trigger |
|---|---|---|---|
| 554 5.4.14 | Permanent | Routing | Hop count exceeded by a loop |
| 550 5.7.26 | Permanent | DMARC authentication policy | Unauthenticated mail |
| 550 5.7.1 | Permanent | Blocklist / relay / SPF policy | Listed IP or relay denial |
| 421 4.7.0 | Transient | Throttling | Volume spike, retry succeeds |
Frequently asked questions
Does 554 5.4.14 mean my message is lost?+
Yes for that copy: the hop limit exists to stop infinite loops, and the message is not delivered. Fix the loop and send fresh.
Why does only one recipient trigger 5.4.14?+
The loop is in that recipient’s routing: their forwarding or connector path. Other recipients on different paths never hit it.
Can DNS changes cause 5.4.14?+
Indirectly: an MX edit that points a domain back at a filter routing to itself creates the loop. Check the MX record after any change.
Diagnose with our free tools: email header analyzer, blacklist checker, SPF checker.