What is Handover Failure in 5G NGAP?

It is the target-NG-RAN-to-AMF message used to indicate that target-side handover resource allocation failed.

Who sends Handover Failure?

The target NG-RAN node sends Handover Failure to the AMF.

When is Handover Failure used?

It is used when the target cannot admit any PDU session resources or another failure occurs during target-side handover preparation after Handover Request.

What is the difference between Handover Failure and Handover Preparation Failure?

Handover Failure is target NG-RAN to AMF in the Handover Resource Allocation branch, while Handover Preparation Failure is AMF to source NG-RAN in the broader Handover Preparation failure branch.

What does the Cause IE mean in Handover Failure?

Cause is the main reason target-side allocation failed and is the first field engineers should inspect.

Why does Handover Failure carry only AMF UE NGAP ID and not RAN UE NGAP ID?

That is how the message is defined in clause 9.2.3.6. The failure is correlated at the AMF using AMF UE NGAP ID.

What is Target to Source Failure Transparent Container?

It is an optional failure detail container the target can return, especially when the source asked for NGAP IE support and presence information through the incoming request.

Can security-algorithm mismatch trigger Handover Failure?

Yes. Clause 8.4.2.4 explicitly says the target shall reject using Handover Failure when allowed encryption or integrity algorithms do not match.

Can PLMN or NPN restrictions trigger Handover Failure?

Yes. Unsupported serving PLMN, NPN access restrictions, and related mobility-restriction conditions can explicitly trigger rejection.

What happens if Allowed NSSAI and Partially Allowed NSSAI exceed the supported limit?

Clause 8.4.2.4 states that if Allowed NSSAI plus Partially Allowed NSSAI exceed eight S-NSSAIs, the target considers the procedure failed.