>
Home5G NRNAS โ€” Non-Access StratumRegistration & Auth
โœ‰๏ธ NAS โ€” Non-Access StratumIntermediate

Registration & Authentication (5GMM) in 5G NR

Initial Registration, the 5G-AKA authentication run, and NAS security setup.

📚 3GPP-basedTS 24.501TS 23.502TS 33.501

Before a UE can do anything useful in a 5G network — before a single data packet flows — it must register: announce itself, prove who it is, let the network prove itself back, switch on ciphering and integrity, and collect the working identity, slice permissions and area it will operate in. This is the 5GMM Registration procedure, the entry gate defined in TS 24.501, with the network-side service flow in TS 23.502 and the security in TS 33.501. Get this one procedure right and everything else — PDU sessions, mobility, paging — has firm ground to stand on.

Introduction

Registration is the first NAS procedure a UE runs and the gate every other service passes through. It is a single 5GMM transaction with the AMF that moves the UE from 5GMM-DEREGISTERED to 5GMM-REGISTERED, and along the way it authenticates the subscriber, authenticates the network back to the UE, turns on NAS ciphering and integrity, and hands the UE the identity, slices, and area it will operate in.

It runs at power-on (initial registration), when the UE roams out of its registered area (mobility registration), on a periodic timer to prove it is still reachable (periodic registration), and in a deliberately permissive form for emergency calls. Because the whole thing is a defined sequence of NAS messages — Registration Request, optional Identity Request, Authentication Request/Response, Security Mode Command/Complete, Registration Accept/Complete — a failure almost always lives in exactly one of them.

That is why registration rewards a step-by-step debugging habit: if you know which message broke — no Accept? auth rejected? security-mode rejected? — you have already narrowed a "device won't attach" ticket down to a small, testable set of causes. The rest of this page walks the procedure message by message with that lens.

Why registration is needed

๐Ÿ’ก

In plain words: registration is like checking in at an airport before a flight. You present ID (identity), a border officer verifies it against records (authentication), you check the officer's badge is real too (mutual authentication), you pass through security screening so everything after is trusted (NAS security activation), and you receive a boarding pass with your gate and zone (the 5G-GUTI, Allowed NSSAI and TAI list). Only then are you allowed airside — to open data sessions and move around.

Two trust problems must be solved before the network commits any resources. The network must never trust an unverified UE — handing an unauthenticated device an identity, slices and bearers would be an open door. And the UE must never trust a fake base station — an IMSI-catcher or rogue cell must not be able to lure it. Registration binds both directions of verification, plus the activation of encryption and integrity, into the very first thing the UE does, so nothing that follows stands on unverified ground.

What Registration Achieves

Registration is how a UE moves from 5GMM-DEREGISTERED to 5GMM-REGISTERED. It is a single NAS transaction with the AMF (Access and Mobility Management Function) that bundles four jobs into one exchange: it verifies the subscriber is genuine, it lets the UE verify the network in return, it agrees the ciphering and integrity algorithms that will protect all later signalling, and it hands the UE the parameters it needs to live in the cell — a temporary identity (5G-GUTI), the set of slices it may use (Allowed NSSAI) and the area it is registered in (the TAI list).

What

A 5GMM procedure between the UE and the AMF that establishes a mobility management context, runs primary authentication, activates NAS security, and returns the UE's operating parameters.

Why

The network must never trust an unverified UE with resources or an identity, and the UE must never trust a fake base station. Registration binds authentication, mutual verification and security activation into the very first thing a UE does.

How

Registration Request → (optional Identity Request) → 5G-AKA authentication → NAS Security Mode Command/CompleteRegistration AcceptRegistration Complete.

Everything the UE does afterwards inherits state from this moment. The keys derived during authentication seed the entire access-stratum security chain; the 5G-GUTI lets the network page the UE without ever re-sending its permanent identity; and the TAI list defines the geographic boundary that later triggers mobility registration. The gNB, it is worth stressing, is only a relay here: every NAS message travels transparently inside RRC and NGAP containers, and the AMF is the true peer of the UE.

🎯

One procedure, four outcomes: identity resolved, subscriber authenticated, network authenticated, NAS security active, and the UE configured with identity + slices + area. If any step fails, the AMF returns a Registration Reject carrying a 5GMM cause and the UE stays deregistered.

Registration Types

Not every registration means the same thing. The 5GS registration type IE inside Registration Request tells the AMF why the UE has come knocking, and the answer changes how much work the network does — a fresh authentication, a light context update, or just a keep-alive. There are four defined types.

Registration typeTriggerIdentity usedWhat the network does
initialUE has no valid 5GMM context — first power-on, after deregistration, or recovery from failure.SUCI (or a stored 5G-GUTI if one is held)Full context creation, usually primary authentication and NAS security setup from scratch.
mobilityUE moves and its current TAI is not in the stored TAI list, or it needs to update capabilities/parameters.5G-GUTIUpdates the mobility context and TAI list; may re-use the existing security context (no fresh auth needed).
periodicThe periodic registration timer T3512 expires while the UE is registered.5G-GUTIA reachability keep-alive — confirms the UE is still present so the AMF does not implicitly deregister it.
emergencyUE needs an emergency service (e.g. an emergency call) and may have no valid credentials or USIM.SUCI, 5G-GUTI, or even a PEI/IMEIRegistration for emergency bearer services; authentication may be skipped where regulation permits.

The two update types — mobility and periodic — are lightweight precisely because a security context already exists; the UE sends the request already integrity-protected with its stored K_AMF-derived keys, and the AMF often skips authentication entirely. Initial registration is the heavy one and the focus of the rest of this page: it is where SUCI, primary authentication and NAS security setup all happen. Emergency registration is deliberately permissive so that a distress call is never blocked by a missing or unauthenticated credential.

Registration Request and its Key IEs

The UE sends the 5GMM Registration Request as the first NAS message, carried up in the RRC dedicatedNAS-Message (piggybacked on RRCSetupComplete) and delivered to the AMF inside the NGAP INITIAL UE MESSAGE. It is a compact message but every IE in it steers the procedure.

  • 5GS registration type: initial / mobility / periodic / emergency — as above. It also carries a Follow-on request flag telling the AMF whether the UE wants the connection kept up for a subsequent procedure (like a PDU session).
  • 5GS mobile identity: the UE's identity, and it is one of two forms. On a first-ever contact it is a SUCI — the concealed form of the permanent SUPI, encrypted with the home network's public key so the SUPI never crosses the air in the clear. On any later registration it is the 5G-GUTI previously assigned by the AMF.
  • UE security capabilities: the ciphering (5G-EA) and integrity (5G-IA) algorithms the UE supports, so the AMF can select a pair both sides share. These are replayed back later to defeat bidding-down attacks.
  • Requested NSSAI: the list of S-NSSAIs (network slices) the UE wants to use. The AMF checks these against subscription and returns an authorised subset as the Allowed NSSAI.
  • ngKSI: the key set identifier the UE holds for any existing security context, letting the AMF decide whether it can reuse a context or must authenticate afresh.
🎯

SUCI vs 5G-GUTI: SUCI conceals the permanent identity for the very first contact; the 5G-GUTI assigned in Registration Accept is used thereafter so the permanent identifier is exposed as rarely as possible. The whole scheme is designed to keep the SUPI off the air.

If the AMF that receives the request is not the one that holds the UE's context (common after mobility), it fetches the context from the old AMF over the N14 interface using the 5G-GUTI as a pointer. If it still cannot resolve who the UE is — for example the 5G-GUTI is stale or unknown — it falls back to explicit identification, described next.

Reading the Registration Request in the logs

The first NAS message is often the most informative one to decode, because it declares the UE's intent, identity form, and capabilities all at once. On the N2 trace it arrives inside INITIAL UE MESSAGE.

Representative NAS decode (analyser-style) — illustrative, values vary by vendor/build:

NAS-5GS Plain NAS 5GS message Extended protocol discriminator : 5GMM (0x7e) Message type : Registration request (0x41) 5GS registration type : initial (1), follow-on request pending 5GS mobile identity : SUCI SUPI format : IMSI, MCC=262 MNC=01 Protection scheme id : ECIES profile A (1) Home network public key id : 0 ngKSI : no key available (7) UE security capability : 5G-EA0..2, 5G-IA1..2 supported Requested NSSAI : SST=1 SD=0x000001; SST=2 SD=-
FieldMeaningExampleCheck
5GS registration typeWhy the UE is registering.initialWrong type narrows the trigger; periodic/mobility should present a 5G-GUTI, not a SUCI.
5GS mobile identityIdentity form and value.SUCI (MCC/MNC 262 01)Must be a SUCI on first contact; a plaintext SUPI here is a privacy defect. Wrong PLMN = roaming/routing issue.
Protection scheme idECIES profile used to conceal the SUPI.profile AMust be a scheme the home UDM supports; scheme 0 (null) exposes the SUPI.
ngKSIPoints at an existing security context, if any.no key available"No key" forces fresh authentication; a valid ngKSI the AMF recognises can skip it.
UE security capabilitySupported 5G-EA/5G-IA algorithms.EA0-2, IA1-2Must overlap the AMF policy list; this is replayed in SMC and compared for bidding-down.
Requested NSSAISlices the UE wants.SST=1; SST=2Slices not in subscription come back in Rejected NSSAI; empty allowed set blocks sessions.

✅ Debugging steps

  • Confirm INITIAL UE MESSAGE carrying the Registration Request actually reached the AMF; if not, the fault is in RRC setup / N2, not NAS.
  • Check the identity form matches the registration type: SUCI for initial, 5G-GUTI for mobility/periodic.
  • Verify the PLMN in the identity is one the serving AMF can handle (home or a valid roaming partner).
  • Ensure the Requested NSSAI intersects the UE's subscribed slices; an empty intersection produces a registration with no usable slice.

⚠ Common causes of failure

  • AMF cannot decode the SUCI (unsupported protection scheme or wrong home-network public key id), so identity resolution stalls.
  • Stale/unknown 5G-GUTI and the old AMF unreachable over N14, forcing an Identity Request or a reject.
  • Requested NSSAI entirely unsubscribed — registration may be rejected or accepted with an empty Allowed NSSAI.
  • PLMN not allowed / roaming not permitted, yielding a Registration Reject.

Identification: SUCI, SUPI and the 5G-GUTI

Identity in 5G is layered on purpose. The permanent identifier is the SUPI (Subscription Permanent Identifier) — typically an IMSI — and it is treated as a secret that should almost never appear on the radio interface. To protect it, the UE never sends the raw SUPI; it sends the SUCI (Subscription Concealed Identifier), which is the SUPI encrypted with the home network's public key using the ECIES scheme. Only the home network's UDM, holding the matching private key, can de-conceal it back to a SUPI.

When the AMF cannot determine the UE's identity from the 5GS mobile identity it received — no usable 5G-GUTI, no retrievable context — it issues a NAS Identity Request asking for a specific identity type. The UE answers with Identity Response carrying the requested identity, which for a permanent-identity request is a freshly generated SUCI (a fresh ephemeral key each time, so two SUCI values for the same subscriber are unlinkable). The AMF may also request the PEI (Permanent Equipment Identifier, the IMEI) for device-level checks.

🔐

The SUPI is only ever revealed on the network side: the AMF learns the real SUPI not from the air interface but from the AUSF, and only after authentication succeeds. This severs the link between a radio eavesdropper and the permanent subscriber identity — the classic IMSI-catcher defence.

The third identifier, the 5G-GUTI (5G Globally Unique Temporary Identity), is the working alias the AMF assigns in Registration Accept. It encodes the serving AMF (via the GUAMI — PLMN + AMF Region/Set/Pointer) plus a 5G-TMSI. From then on the UE is paged and identifies itself by this temporary value, and the AMF re-allocates it periodically so that even the temporary identity cannot be tracked for long.

✅ Debugging steps

  • If an Identity Request appears, work out why the AMF could not resolve the UE: unrecognised 5G-GUTI, failed N14 context fetch, or a PLMN change.
  • Confirm the Identity Response carries a fresh SUCI (not a repeated one) — repetition breaks unlinkability.
  • Check the home-network public key id and protection scheme in the SUCI against what the UDM provisions.

⚠ Common causes of failure

  • UDM cannot de-conceal the SUCI — wrong public key id, unsupported ECIES profile, or a provisioning mismatch.
  • Repeated Identity Request/Response loop because the UE keeps presenting an identity the AMF cannot use.
  • Device-level block after a PEI check (IMEI blacklisted / EIR reject).

Primary Authentication with 5G-AKA

The AMF does not authenticate the UE by itself. Acting in its SEAF (Security Anchor Function) role, it delegates to the home network. The trust chain runs AMF/SEAF ↔ AUSF ↔ UDM/ARPF: the AMF asks the AUSF (Authentication Server Function) to authenticate the subscriber; the AUSF asks the UDM/ARPF (the Authentication credential Repository and Processing Function inside the UDM) to generate an authentication vector from the subscriber's long-term key K. 5G defines two methods — 5G-AKA and EAP-AKA' — and this section walks through 5G-AKA, the common case.

The UDM/ARPF de-conceals the SUCI to a SUPI, then derives a 5G Home Environment Authentication Vector (5G HE AV) from K and a sequence number SQN. The AUSF converts this into a 5G AV that hides XRES* as a hash and passes the AMF only what it needs. The parameters flowing through this exchange are the heart of the mechanism.

ParameterGenerated byRole
RANDUDM/ARPFRandom challenge sent to the UE.
AUTNUDM/ARPFAuthentication token (contains SQN⊕AK, AMF field, MAC) — lets the USIM authenticate the network.
XRES*UDM/ARPFExpected response; the AUSF stores it to check the UE's answer.
HXRES*AUSFHash of XRES* given to the AMF so it can do a first-pass comparison.
RES*USIM (UE)The UE's computed response, returned in Authentication Response.
K_AUSF / K_SEAFUDM → AUSF / AUSFAnchor keys; K_SEAF is delivered to the AMF only after the UE's response verifies.
ngKSIAMFKey set identifier tying the resulting security context to a name the UE and AMF share.
ABBAAMFAnti-Bidding-down Between Architectures parameter, bound into key derivation.

Armed with the vector, the AMF challenges the UE with a NAS Authentication Request carrying RAND, AUTN, ngKSI and ABBA. The USIM verifies AUTN — checking the MAC and the freshness of SQN — which authenticates the network to the UE. Only if that passes does the USIM compute RES* and the keys, returning RES* in the NAS Authentication Response. The AMF computes HRES* from the received RES* and compares it with the HXRES* it holds; on a match it forwards RES* to the AUSF, which does the authoritative comparison against XRES*. Success releases K_SEAF to the AMF and reveals the SUPI.

🔐

Mutual authentication: AUTN lets the UE authenticate the network, and RES* lets the network authenticate the UE. Both directions are verified before any key is trusted. The two-stage HRES*/RES* comparison lets the AMF reject an obvious mismatch fast while the AUSF makes the final, binding decision.

From K to the access keys

Every key in 5G descends from the subscriber's permanent key K in a strict one-way chain, so that compromising a lower key never exposes a higher one. The chain is:

K → CK / IK → K_AUSF → K_SEAF → K_AMF → K_NASenc / K_NASint and K_gNB → AS keys

The USIM (with K) and the UDM/ARPF both derive CK/IK, from which K_AUSF is formed; the AUSF derives K_SEAF; the AMF derives K_AMF, and from it the NAS-protection keys K_NASenc/K_NASint and the access-stratum root K_gNB handed to the gNB. That full tree, and how horizontal/vertical key derivation works on handover, is the subject of the Security Key Hierarchy page — registration is simply where the chain is first seeded.

UE / USIM AMF / SEAF AUSF UDM / ARPF Registration Request SUCI, 5GS reg type, UE sec cap, requested NSSAI Nausf_UEAuthentication SUCI, SN-name Nudm_UEAuthentication_Get de-conceal SUCI → SUPI, make AV 5G HE AV RAND, AUTN, XRES*, K_AUSF 5G AV RAND, AUTN, HXRES*, K_SEAF (held) Authentication Request RAND, AUTN, ngKSI, ABBA USIM verifies AUTN → computes RES*, keys Authentication Response RES* AMF: HRES* =? HXRES* Nausf_UEAuthentication (confirm) RES* Result, SUPI, K_SEAF AUSF compares RES* =? XRES* NAS Security Mode Command ngKSI, selected 5G-EA/5G-IA, replayed UE sec cap NAS Security Mode Complete ciphered + integrity-protected Registration Accept 5G-GUTI, TAI list, Allowed NSSAI Registration Complete →
Figure 1. 5GMM initial registration: UE ↔ AMF/SEAF ↔ AUSF ↔ UDM/ARPF, including 5G-AKA primary authentication and NAS Security Mode Control. Solid violet = forward requests; grey = returns.

Reading authentication in the logs

The authentication exchange is short but the fields are exact, and a single mismatch (a stale SQN, a wrong MAC) aborts the whole registration. The UE-side NAS trace shows the challenge and its verdict.

Representative NAS decode — illustrative, values vary by vendor/build:

DL NAS: Authentication request (0x56) ngKSI : 0 ABBA : 0x0000 RAND : 8f2a...e1 AUTN : b3c4... (SQN^AK | AMF | MAC) UE: USIM verify AUTN -> MAC OK, SQN in range -> compute RES* UL NAS: Authentication response (0x57) RES* : 4d9c... --- failure variants --- UL NAS: Authentication failure (0x59) cause = MAC failure (20) UL NAS: Authentication failure (0x59) cause = Synch failure (21), AUTS present
FieldMeaningExampleCheck
RAND / AUTNChallenge and network-auth token from the AMF.8f2a... / b3c4...USIM must accept AUTN; if not, expect an Authentication failure.
ngKSINames the context these keys will form.0Must be reused consistently in the following Security Mode Command.
ABBAAnti-bidding-down parameter bound into key derivation.0x0000UE and network must use the same value or derived keys differ.
RES*The UE's computed response.4d9c...AMF pre-checks via HRES*; AUSF binds against XRES*. Mismatch = auth reject.
cause MAC failureUSIM rejected AUTN integrity.cause 20Wrong K/OPc provisioning, or a fake network — investigate credentials.
cause Synch failureSQN out of range; AUTS returned to resync.cause 21Normal after AV reuse/rollback; the UDM should re-sync SQN and re-challenge.

✅ Debugging steps

  • Confirm the Authentication Request reaches the UE and that the USIM accepts AUTN (MAC ok, SQN in range).
  • On Authentication failure, read the cause: MAC failure points at credentials/OPc or a rogue network; Synch failure triggers an AUTS-based re-sync.
  • Check the AMF's HRES* vs HXRES* pre-check and then the AUSF's RES* vs XRES* verdict — the binding decision is at the AUSF.
  • Verify ngKSI and ABBA are carried consistently into the following Security Mode Command.

⚠ Common causes of failure

  • Credential mismatch (K/OPc, algorithm, or SUPI provisioning) causing MAC failure or a RES*XRES* reject.
  • SQN desynchronisation from AV reuse, producing repeated Synch failure until the UDM re-syncs.
  • AUSF/UDM unreachable or no authentication vector available, so the AMF cannot challenge the UE.
  • UDM unable to de-conceal the SUCI, so no vector is ever generated.

NAS Security Mode Control

Authentication produced fresh key material and verified both identities, but it has not yet turned on protection. That is the job of the NAS Security Mode Control exchange, and it is deliberately kept separate from authentication so that key establishment and key activation are distinct, auditable steps.

The AMF sends a NAS Security Mode Command that selects one ciphering algorithm (5G-EA) and one integrity algorithm (5G-IA) from the UE security capabilities the UE reported, names the key set with ngKSI, and — critically — replays the UE's own security capabilities back. This message is integrity-protected (but not yet ciphered) using the newly derived K_NASint. The UE re-checks the replayed capabilities against what it actually sent: if they differ, a man-in-the-middle tried to force weaker algorithms, and the UE rejects — this is the bidding-down defence.

The UE then derives K_NASenc and K_NASint from K_AMF, activates the NAS security context, and replies with a Security Mode Complete that is both ciphered and integrity-protected. From this message onward, every NAS message in both directions is protected. The AMF frequently uses Security Mode Command to also request the UE's full radio and core-network capabilities, which the UE returns (safely, now that the channel is secure) inside Security Mode Complete. With NAS security active, the AMF is finally ready to admit the UE.

🎯

Why a separate step: authentication only proves identities and mints keys; it does not switch protection on. Security Mode Command/Complete selects algorithms, derives the NAS keys, and activates ciphering + integrity — and its capability replay is what makes bidding-down detectable.

✅ Debugging steps

  • Confirm both Security Mode Command and Security Mode Complete appear; a missing Complete means the UE rejected the command.
  • Check the Security Mode Command replays exactly the UE security capabilities from the Registration Request; a difference is the bidding-down trigger.
  • Verify the selected 5G-EA/5G-IA pair is supported by both sides and is not null (5G-EA0/5G-IA0) outside emergency cases.
  • Confirm the command is integrity-protected with the new K_NASint and the Complete is ciphered — the header Security Header Type tells you.

⚠ Common causes of failure

  • Security Mode Reject because the replayed capabilities do not match what the UE advertised (tampering or a stale copy at the AMF).
  • No common algorithm between the UE capabilities and the AMF policy list.
  • Integrity check on the Security Mode Command fails at the UE (wrong K_NASint from a key-derivation mismatch, e.g. divergent ABBA).

Registration Accept and Complete

With the subscriber authenticated and NAS security active, the AMF sends the 5GMM Registration Accept — the message that actually grants the UE its working parameters and completes the state transition. It is the payoff of the whole procedure.

MessageKey IEsPurpose
Registration Request5GS registration type, 5GS mobile identity (SUCI/5G-GUTI), UE security capabilities, Requested NSSAI, ngKSIUE announces itself and states what it wants.
Identity Request / ResponseIdentity type; 5GS mobile identity = SUCI or PEIAMF resolves the UE's identity when it cannot from context.
Authentication Request / ResponseRAND, AUTN, ngKSI, ABBA; then RES*5G-AKA mutual authentication challenge and response.
Security Mode Command / Completeselected 5G-EA/5G-IA, replayed UE security capabilities, ngKSISelects algorithms and activates NAS ciphering + integrity.
Registration Accept5G-GUTI, TAI list, Allowed NSSAI, 5GS registration result, 5GMM cause (if partial)Grants identity, area, slices; completes the transition.
Registration Complete(no mandatory IEs; sent when a 5G-GUTI was assigned)UE confirms it stored the new 5G-GUTI.

Three IEs in Registration Accept matter most. The 5G-GUTI is the new temporary identity the UE uses from now on instead of its SUCI/SUPI. The Allowed NSSAI is the set of slices the network authorised — a subset of the Requested NSSAI, possibly accompanied by a Rejected NSSAI with per-slice causes. And the TAI list defines the Registration Area: the set of Tracking Areas across which the UE may move freely without sending a mobility registration. As long as the UE's serving cell broadcasts a TAI that appears in this list, it stays put; the moment it enters a cell whose TAI is absent, it triggers a mobility registration. The AMF sizes the list to trade signalling load against paging load — a bigger area means fewer registrations but more cells to page across.

If a new 5G-GUTI was assigned (it almost always is), the UE confirms storage by returning Registration Complete. At that point the UE is 5GMM-REGISTERED and, while the NAS signalling connection is up, 5GMM-CONNECTED. It can now open a data pipe with a PDU Session. Should anything have failed — authentication, an unsupported slice, a network policy block — the AMF would instead send Registration Reject with a 5GMM cause value telling the UE exactly why and how (and often whether) to retry.

📘

The TAI list is the mobility boundary: it is the concrete meaning of "registration area." Keep it in mind when reading about idle-mode mobility and paging — the same list decides when the UE must re-register and where the network will page it.

Reading Accept / Reject in the logs

The final message tells you whether the whole procedure succeeded, and on failure the 5GMM cause is the single most useful field — it says both why and whether the UE should retry.

Representative NAS decode (both outcomes) — illustrative, values vary by vendor/build:

DL NAS: Registration accept (0x42) 5GS registration result : 3GPP access 5G-GUTI : GUAMI(262 01 ...) 5G-TMSI=0xC1A2B3D4 TAI list : {26201-0x000123, 26201-0x000124} Allowed NSSAI : SST=1 SD=0x000001 Rejected NSSAI : SST=2 (cause: S-NSSAI not available in current PLMN) UL NAS: Registration complete (0x43) --- failure variant --- DL NAS: Registration reject (0x44) 5GMM cause = 11 (PLMN not allowed)
FieldMeaningExampleCheck
5G-GUTINew temporary identity for the UE.5G-TMSI=0xC1A2B3D4UE must store it and echo Registration Complete; used for later paging/identity.
TAI listThe registration area.two TACsServing cell's TAC must be in this list or the UE re-registers; sizing balances paging vs signalling.
Allowed NSSAISlices the UE may use.SST=1Must contain the slice a later PDU session needs; empty = no data service.
Rejected NSSAIRequested slices refused, with cause.SST=2Explains why a wanted slice is unavailable (subscription/PLMN).
5GMM causeReject reason (on failure).11 PLMN not allowedDistinguishes permanent (illegal UE/PLMN) from temporary (congestion) — drives retry behaviour.

✅ Debugging steps

  • On success, confirm the Allowed NSSAI contains the slice the UE actually needs, and that Registration Complete follows when a 5G-GUTI was assigned.
  • Check the serving cell's broadcast TAI is inside the granted TAI list — otherwise the UE will immediately trigger mobility registration.
  • On Registration Reject, read the 5GMM cause and classify it as permanent vs temporary to predict retry behaviour.
  • If wanted slices are missing, inspect Rejected NSSAI causes and cross-check subscription in the UDM.

⚠ Common causes of failure

  • Registration Reject with a permanent cause (e.g. 3 illegal UE, 6 illegal ME, 11 PLMN not allowed) leaving the UE deregistered.
  • Empty or wrong Allowed NSSAI, so no PDU session can be opened afterwards.
  • TAI list not covering the serving cell, causing an immediate re-registration loop.
  • Missing Registration Complete (lost 5G-GUTI confirmation) leaving the AMF's identity state uncertain.

LTE ↔ NR

🔀

LTE ↔ NR: the 5G Registration procedure is the successor to LTE Attach / Tracking Area Update (TS 24.301, EMM). The core differences: LTE ran EPS-AKA with the anchor key K_ASME; 5G runs 5G-AKA/EAP-AKA' anchored on K_SEAFK_AMF, adds the ABBA binding, and returns XRES* as a hashed HXRES* for a two-stage check. Identity privacy is the headline change — LTE sent the IMSI in the clear during identification, while 5G conceals it as a SUCI so the permanent SUPI never crosses the air and is revealed to the AMF only by the AUSF after success. The temporary identity is the 5G-GUTI (was GUTI), the registration area is a TAI list (as in LTE), and slices (Requested/Allowed NSSAI) are entirely new to 5G.

Summary

The fastest way to root-cause a registration failure is to walk the messages in order and find the first that broke. Request → (Identity) → Authentication → Security Mode → Accept: if the Registration Request never reaches the AMF, suspect RRC setup / INITIAL UE MESSAGE / N2. If an Identity Request loops, the AMF cannot resolve the identity (bad SUCI/5G-GUTI or N14). If authentication fails, read the cause — MAC failure points at credentials/rogue network, Synch failure at SQN. If Security Mode is rejected, suspect a capability-replay mismatch or no common algorithm. If the Accept never comes, read the 5GMM cause in the Reject.

Isolating the broken step turns a vague "attach failure" into a specific, testable hypothesis: each message points at a small, distinct set of causes. Best used log-in-hand — verify each message's IEs in sequence and the first field that does not line up is your root cause. Everything downstream (keys, paging, mobility, PDU sessions) inherits state from this one procedure, so getting it right is the foundation for the rest.

Interview quickfire

Q&A Interview quickfire

Q. Why does the UE send a SUCI instead of its SUPI on first registration?

A. To keep the permanent identity off the air. The SUCI is the SUPI concealed with the home network's public key (ECIES), so a radio eavesdropper cannot harvest the permanent identifier — the IMSI-catcher defence. Only the home UDM can de-conceal it, and the AMF learns the real SUPI from the AUSF only after authentication succeeds.

Q. In 5G-AKA, what authenticates the network to the UE, and what authenticates the UE to the network?

A. The AUTN token in Authentication Request authenticates the network: the USIM checks its MAC and SQN freshness before doing anything else. The RES* in Authentication Response authenticates the UE: the AMF pre-checks via HRES* vs HXRES*, and the AUSF makes the binding comparison against XRES*. Both directions must pass before any key is trusted.

Q. Which nodes take part in primary authentication and what does each do?

A. The AMF/SEAF drives it but delegates: the AUSF is the home authentication server, and the UDM/ARPF holds K, de-conceals the SUCI, and generates the authentication vector (RAND, AUTN, XRES*). The AUSF converts it to a 5G AV, verifies the final RES*, and releases K_SEAF and the SUPI to the AMF.

Q. Why is NAS Security Mode Command a separate step from authentication?

A. Authentication only mints keys and verifies identities; it does not switch protection on. The Security Mode Command/Complete exchange selects the 5G-EA/5G-IA algorithms, derives K_NASenc/K_NASint from K_AMF, and activates ciphering and integrity. Its replay of the UE's reported capabilities is what lets the UE detect a bidding-down attack.

Q. What is the difference between initial, mobility and periodic registration?

A. Initial creates a context from scratch (usually full authentication + NAS security), identifying with a SUCI. Mobility updates the context when the UE leaves its TAI list, using the 5G-GUTI and often reusing the existing security context. Periodic is a keep-alive when T3512 expires, confirming reachability so the AMF does not implicitly deregister the UE.

Q. What does the TAI list in Registration Accept define?

A. The Registration Area — the set of Tracking Areas the UE may roam within without re-registering. While its serving cell broadcasts a TAI in the list, the UE stays registered; entering a cell whose TAI is not in the list triggers a mobility registration. The AMF sizes the list to balance registration signalling against paging cost.

Where to go next

Registration is the first NAS procedure and it seeds everything after it. Trace where the authentication keys go next, revisit how NAS frames and protects these messages, or follow the UE straight into opening a data pipe.