permanent error

SMTP Error 554 5.4.14: Meaning, Causes, and How to Fix It

SMTP error 554 5.4.14 is a permanent rejection (RFC 3463 enhanced status: routing loop detected) returned when the Received header count on a message exceeds the server's hop limit, typically 20 to 30 hops. The message bounced between two or more servers that each believed the next one was the destination: an outbound connector pointing back at the same MX, a forwarding rule that loops to itself, or an MX that resolves to a filter routing back to the sender. The diagnosis is the Received chain itself: paste the headers into the email header analyzer and read the loop directly.

Raw bounce transcript

554 5.4.14 Hop count exceeded - possible mail loop
550 5.4.14 RESOLVER.POP.InvalidHopCount; message routed through
550 5.4.14 too many gateways

Code segment breakdown

SegmentFieldDetail
554ClassPermanent failure: no retry
5.4.14Enhanced statusRouting loop detected (hop count exceeded)
InvalidHopCountNamed causeThe Microsoft 365 resolver verdict for looping mail

Root causes ranked by frequency

CauseEvidence in the resultsFixVerify with
Connector loop between gatewaysM365 outbound connector routes back to *.mail.protection.outlook.comFix the connector address space so mail exits, not re-entersHeader analyzer
Catch-all forwarding ruleA forwarding rule sends back to an alias on the same domainRemove the self-referencing forwarding entryMX record lookup
MX points to a filter that points backSpam filter MX chains to the same MXCorrect the filter outbound pathMX record lookup
Excessive legitimate hopsLong forwarding chains past the hop limitShorten the chain or raise the hop limit where you own itHeader analyzer

Step-by-step fixes

  1. 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. 2 Identify the pair of servers trading the message: the same two hostnames appearing twice is the loop.
  3. 3 Fix at the boundary you control: the outbound connector address space, the forwarding rule, or the MX record.
  4. 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

CodeClassPrimary layerTypical trigger
554 5.4.14PermanentRoutingHop count exceeded by a loop
550 5.7.26PermanentDMARC authentication policyUnauthenticated mail
550 5.7.1PermanentBlocklist / relay / SPF policyListed IP or relay denial
421 4.7.0TransientThrottlingVolume 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.

Last verified: 2026-10-29