5G NAS - Security Mode Complete Explained
Security Mode Complete is the NAS message the UE sends after successfully processing Security Mode Command. It confirms that the UE accepted the selected NAS security algorithms and is now ready to continue the procedure with protected NAS signaling.
For beginners, the simple meaning is: the UE is telling the network that NAS security is now active.
For engineers, this message is the clean checkpoint that proves the NAS security step completed successfully and the trace can move on to the next protected stage.
What is Security Mode Complete in simple terms?
The network told the UE which NAS security settings to use. The UE accepted those settings and sends Security Mode Complete back to confirm that the change worked.
Why Security Mode Complete matters
This message matters because it closes the NAS security activation step. If it is missing, the procedure usually stalls at security activation. If it is present, engineers know the UE accepted the commanded security context and later failures should be searched elsewhere.
It therefore acts as an important boundary marker in registration analysis.
Where Security Mode Complete appears in the call flow
UE gNB / AMF
|<-- Authentication Request -----|
|--- Authentication Response ---->|
|<-- Security Mode Command ------|
|--- Security Mode Complete ----->|
|<-- Registration Accept --------|
It usually appears during initial registration, but it can also be part of other 5GMM flows that require NAS security establishment or refresh.
Transport characteristics
- Direction: UE to AMF
- Interface: N1
- Transport on access side: commonly via
UL Information Transfer - Security expectation: this message normally uses the newly activated protected NAS state, which makes the security header especially important in trace reading
What Security Mode Complete means operationally
Operationally, Security Mode Complete tells engineers that the UE accepted the selected NAS ciphering and integrity context and is now ready for the next protected procedure step.
The main practical checks are:
- did it appear immediately after
Security Mode Command - is it protected as expected
- does the procedure continue into
Registration Acceptor later handling without interruption
Important Information Elements
| IE | Why it matters |
|---|---|
IMEISV | Present only when the network requested it as part of the security procedure; useful for checking that the UE returned the expected identity detail. |
Example message dump
Security Mode Complete
Extended Protocol Discriminator: 5G Mobility Management
Security Header Type: Integrity protected and ciphered with new 5G NAS security context
Message Type: Security Mode Complete
IMEISV: not present
How to read this dump
- First check that it directly follows
Security Mode Command. - Then inspect the security header treatment, because the message usually proves that the new NAS security context is active.
- If
IMEISVis present, confirm that it matches the earlier request from the network.
What to check in logs
- verify that
Security Mode CompletefollowsSecurity Mode Commandwithout an unexpected gap - confirm the message is protected with the expected new NAS security context
- check whether
IMEISVis present when the network requested it - correlate the message with the next NAS message, especially
Registration Accept
Related message pages
- 5G NAS - Security Mode Command
- 5G NAS - Security Mode Reject
- 5G NAS - Registration Accept
- 5G Initial Registration
FAQ
What does Security Mode Complete do in 5G NAS?
It tells the network that the UE accepted the selected NAS security configuration and is ready to continue with protected signaling.
What usually comes after Security Mode Complete?
The next step is often Registration Accept, though other protected NAS messages can follow depending on the procedure.
Does Security Mode Complete mean registration is finished?
No. It means NAS security activation succeeded. Registration still needs the remaining procedure steps to complete.
Summary
Security Mode Complete is the NAS message the UE sends to confirm that it accepted the selected NAS security algorithms and has switched into the commanded protected signaling state.