Skip to content
5G/6G Academy
Protocol Testing

NAS Cause Code

Error codes in NAS reject messages indicating why a procedure failed (e.g., #5 IMEI not accepted, #11 PLMN not allowed, #27 insufficient resources).

When a NAS procedure gets rejected — a registration, an attach, a PDU session request — the reject message carries a cause code, and that number is usually the fastest route to the actual problem. They show up constantly in QXDM/QCAT logs and in core-side traces, and learning the common ones saves a lot of time.

A handful you'll meet often:

  • #5 — PEI/IMEI not accepted: the device identity was rejected — "PEI not accepted" in 5G, "IMEI not accepted" in 4G — often an EIR/blacklist hit or an unprovisioned device.
  • #11 — PLMN not allowed: this network isn't permitted for the subscriber (roaming agreement or provisioning).
  • #27 — meaning depends on the release: in 5G (TS 24.501) it's "N1 mode not allowed"; in 4G (TS 24.301) the same number is "service option temporarily out of order." A textbook case of why you can't assume LTE and NR cause meanings line up.

The number isn't the root cause — it's the pointer to where to dig. And because the meanings can differ between 4G and 5G, look an unfamiliar value up in the right spec rather than assuming LTE and NR match.

Learn NAS Cause Code in depthCovered in our 5G Protocol Testing & Log Analysis course — Test 5G protocols like a conformance lab engineer — and decode real UE logs IE by IE.

Want to truly understand NAS Cause Code? Learn it in context.

NAS Cause Code is taught inside our 5G Protocol Testing & Log Analysis course with diagrams and worked examples. The first module is free with an account; labs, TelcoMentor and the rest of the curriculum are on Pro.

  • Free to join
  • First module of every course
  • No card needed
  • TELCOMA since 2009

Get one 5G/LTE engineering deep-dive a fortnight

One thing explained properly every other Tuesday — a real failure, and the lab or trace where you work it yourself. No spam, no marketing, just engineering. Unsubscribe in one click.