Home / Call Flows / qos-flow-establishment

5G QoS Flow Establishment Procedure Explained

call-flow 5G NR | 5GC | QoS | QFI | 5QI

Introduction

The QoS Flow Establishment procedure in 5G networks creates the QoS treatment needed for a specific service inside a PDU session.

In practical engineering terms, this is where the network decides which QoS Flow Identifier (QFI), 5QI, and enforcement rules should be used so that the application gets the expected latency, priority, and throughput behavior.

This page is most useful when read together with 5G PDU Session Establishment, 5G PDU Session Modification, and Network Requested PDU Session Establishment.

The main procedural references are:

  • 3GPP TS 23.501 - System Architecture for the 5G System
  • 3GPP TS 23.502 - 5G System Procedures
  • 3GPP TS 24.501 - NAS Protocol
  • 3GPP TS 38.300 - NR and NG-RAN Overall Description
5G QoS flow establishment procedure diagram showing UE, gNB, AMF, SMF, and UPF
Sponsored Advertisement

What QoS Flow Establishment Does

A QoS flow is the 5G service-level construct that carries packets with a particular QoS treatment inside a PDU session.

QoS concept Why engineers care
QFIIdentifies the QoS flow within the PDU session.
5QIRepresents the standardized QoS characteristics such as delay and packet error behavior.
GBR / non-GBRDetermines whether guaranteed resources are expected.
QoS rulesMap application traffic to the right QoS flow.
RAN resource mappingTranslates service-level QoS into radio behavior and bearer treatment.

Network Functions Involved

Network Function Role in QoS flow establishment
UEReceives QoS rules and uses them to map uplink traffic to the correct flow.
gNBApplies radio-side resource treatment for the QoS flow.
AMFCarries control-plane signaling between the access side and session-management side.
SMFCreates the QoS flow context, QFI, and policy-driven rules.
UPFApplies user-plane forwarding and enforcement behavior for the QoS flow.
PCFMay influence policy and charging decisions that affect the QoS profile.

Interfaces Used

Interface Purpose
N1NAS signaling carrying session and QoS-related information to the UE.
N2RAN control signaling used for access-side setup.
N11AMF to SMF control path for session and QoS decisions.
N4SMF to UPF control path for enforcement rules and forwarding behavior.
N3User-plane path between gNB and UPF after the flow becomes active.

QoS Flow Establishment Call Flow Position

UE           gNB            AMF             SMF            UPF
 |            |              |               |              |
 |-- service / session req ->|               |              |
 |            |------------->|-------------->|              |
 |            |              |               |-- N4 rules ->|
 |            |              |               |<-- N4 ack ----|
 |<-- QoS rules / accept ----|<--------------|              |
 |==== Radio + user-plane mapping becomes active ==========>|

In most traces, QoS flow establishment appears as part of a broader PDU session procedure, but the important engineering evidence is the QFI allocation, QoS rules, and the resulting access-side resource setup.

Sponsored Advertisement

Step-by-Step QoS Flow Establishment Procedure

Step 1: Service Need Triggers QoS Setup

The trigger can be initial session setup, network-triggered service activation, or a policy-driven need for a new QoS treatment.

What to inspect

  • Whether this happens during initial PDU session setup or later as a change
  • Service type and application requirement
  • DNN and slice context

Step 2: SMF Creates QoS Flow Context

The SMF decides the QoS profile, allocates a QFI, and prepares the required policy and forwarding rules.

What to inspect

  • QFI value
  • 5QI
  • ARP, GBR, MFBR, or non-GBR behavior where relevant
  • PCF influence on policy outcome

Step 3: UPF and RAN Are Configured

The SMF configures the UPF, and the access side gets the information needed to map the QoS flow into radio resources and user-plane handling.

What to inspect

  • N4 rule installation
  • Whether the gNB received the expected QoS context
  • Any mismatch between service-level and radio-level treatment

Step 4: UE Receives QoS Rules

The UE receives the rules that tell it how uplink traffic should be associated with the newly established QoS flow.

What to inspect

  • QoS rules delivered to the UE
  • QFI mapping in uplink and downlink
  • Whether the expected application traffic can actually use the new flow

Step 5: Traffic Starts Using the Flow

Once the flow is active, application traffic should show the expected QoS behavior across the PDU session, UPF, and radio path.

What to inspect

  • Observed throughput or delay
  • Whether the correct QFI is used
  • Whether packets fall back to the default flow unexpectedly

Common Failure Patterns

Failure pattern Typical engineering meaning
QoS flow never becomes activeSMF, UPF, or access-side configuration did not complete correctly.
Wrong QFI or missing rule mappingTraffic is not being classified onto the intended flow.
Service works but with wrong performance5QI, GBR, ARP, or radio treatment does not match the service need.
Dedicated flow setup rejectedPolicy, subscription, slice, or resource limits blocked the requested QoS treatment.

What to Check in Logs and Traces

  • QFI and 5QI values assigned by the network.
  • QoS rules sent to the UE.
  • N4 rule installation status on the UPF side.
  • Whether the gNB received and applied the right QoS context.
  • Whether the traffic actually uses the expected flow after setup.

Related Procedures

Recommended Reference Specifications

  • 3GPP TS 23.501 - System Architecture for the 5G System
  • 3GPP TS 23.502 - 5G System Procedures
  • 3GPP TS 24.501 - NAS Protocol
  • 3GPP TS 29.244 - PFCP / N4 Signaling
  • 3GPP TS 38.300 - NR and NG-RAN Overall Description