Glossary term · Identifier

TEID

Tunnel End Point Identifier

Identifier →

TEID is a critical identifier used in GPRS, EPS, and 5GS to uniquely label GTP tunnels between network nodes for routing user data and control messages to the correct endpoints.

Introduced
Rel-4
Specifications
29 specs
Category
Identifier
Introduced
Rel-4
Specifications
29 specs
TEID Description Purpose Detected Changes Specifications

Description

The Tunnel End Point Identifier (TEID) is a cornerstone of the GPRS Tunneling Protocol (GTP) used across 3GPP mobile networks from 3G to 5G. It is a 32-bit field present in the header of GTP-U (User plane) and GTP-C (Control plane) packets. Architecturally, a GTP tunnel is a logical point-to-point connection established between two GTP-speaking nodes, such as between a Serving Gateway (SGW) and a Packet Data Network Gateway (PGW) in 4G, or between a UPF and a SMF/UPF in 5G. The TEID uniquely identifies a specific tunnel endpoint at the receiving node. Crucially, both ends of a tunnel have their own local TEID values; the sender sets the TEID value that the receiver has assigned for that particular tunnel or bearer context.

How it works is fundamental to GTP-based mobility. When a Packet Data Protocol (PDP) context in 3G or a PDN connection/EPS bearer in 4G is established, control plane signaling (GTP-C) allocates TEIDs for the user plane tunnels (GTP-U). For example, during an LTE attach procedure, the MME instructs the SGW to create a session, and the SGW allocates a TEID for its downlink side of the S1-U tunnel towards the eNodeB and another for its uplink side of the S5/S8 tunnel towards the PGW. These TEIDs are exchanged via GTP-C messages. Subsequently, every user data packet carries the destination TEID in its GTP-U header. The receiving node (e.g., an eNodeB or a UPF) uses this TEID as a direct lookup key to find the associated bearer context, which contains all necessary information for processing the packet, such as QoS parameters and the next hop.

Its role extends beyond simple addressing. The TEID is the primary mechanism for bearer multiplexing. A single network node (like a SGW) manages thousands of simultaneous tunnels, each for a different UE or different QoS flow. The TEID allows the node to instantly demultiplex incoming GTP packets to the correct internal context without inspecting the inner IP packets. In 5G Core, the principle remains, though the architecture shifts to a service-based interface for control plane, with GTP-U still prevalent in the user plane between UPFs and (R)AN. The TEID's design ensures stateful, connection-oriented forwarding that is optimized for mobility and QoS enforcement across the mobile core network.

Purpose & Motivation

The TEID was created to solve the problem of managing multiple, simultaneous packet data sessions for millions of users in a scalable and efficient manner within mobile core networks. Prior to GPRS, data was primarily circuit-switched, which was inefficient for bursty IP traffic. The introduction of packet-switching required a tunneling mechanism to forward user IP packets between network nodes while preserving the subscriber's session context, QoS, and charging rules as they moved.

The GTP protocol, with the TEID at its heart, was designed to provide this tunneling capability. It addresses key limitations: it decouples the user's IP address (which can change) from the routing within the core network, enables seamless mobility by allowing tunnels to be re-routed as the user moves, and provides a simple, fast lookup mechanism for forwarding planes. The TEID specifically solves the multiplexing problem—allowing a single IP address/port pair on a network node to serve thousands of distinct user sessions. Its creation was motivated by the need for a standardized, robust tunneling protocol that could support the "always-on" IP connectivity model essential for mobile internet services, from early GPRS to modern 5G.

Detected Changes Across Releases

from 3GPP Change Requests

Specific changes extracted from the „Change history“ tables of 3GPP specifications (7 CRs across 4 releases). Complements the general historical overview above with the evidence-based evolution of this function.

Rel-15 3 changes
  • Unpredictability of GTP TEID for PGW GTP-C TS 29.274CR1883
  • Interface Type of an AMF F-TEID and new cause code TS 29.274CR1947
  • Unpredictability of GTP TEID for PGW GTP-U TS 29.281CR0088
Rel-16 1 change
  • Deletion of the test case on TEID TS 33.515CR0005
Rel-17 2 changes
  • Add incoming and outgoing GTP data packet loss TEID TS 28.552CR0256
  • New Interface Type N19mb in F-TEID TS 29.274CR2061
Rel-18 1 change
  • PGW-C TEID in Update Bearer Response during PGW triggered PDN connection restoration TS 29.274CR2076

Explore further

Broader topics and technologies where TEID plays a role.

Defining Specifications

3GPP specifications that define or reference TEID, with the latest known release. Sourced from the 3GPP document catalog — see methodology.

SpecificationTitleRelease
TR 21.905 vj20 3GPP Terminology and Definitions Rel-19
TS 23.060 vj00 GPRS Stage 2 Service Description Rel-19
TS 23.527 vk00 5G Restoration Procedures for N4 Interface Rel-20
TS 25.401 vj00 UTRAN Overall Architecture Rel-19
TS 25.413 vj00 Radio Access Network Application Part (RANAP) Rel-19
TS 25.414 vj00 UTRAN Iu Interface User Plane Transport Protocols Rel-19
TR 25.931 vj00 UTRAN Signalling Procedures Examples Rel-19
TS 26.804 vk00 5G Media Streaming Architecture Extensions Rel-20
TS 28.552 vk30 5G Performance Measurements & Network Slicing Rel-20
TS 29.060 vj00 GPRS Tunnelling Protocol (GTP) version 1 Rel-19
TS 29.061 vk00 PLMN-PDN/PLMN Interworking for Packet Domain Rel-20
TS 29.119 vj00 GTP for GLR in 3GPP Networks Rel-19
TS 29.274 vj60 Evolved General Packet Radio Service (GPRS) Rel-19
TS 29.276 vj00 EPS S101/S121/S103 Interfaces Stage 3 Rel-19
TS 29.281 vj20 GTPv1-U Protocol Specification Rel-19
TS 29.532 vk00 Nmbsmf Service Based Interface Specification Rel-20
TS 33.515 vk00 5G SMF Security Assurance Specification Rel-20
TS 36.300 vj20 E-UTRAN Radio Interface Protocol Architecture Rel-19
TS 36.413 vj20 S1 Application Protocol (S1AP) for E-UTRAN Rel-19
TS 36.414 vj00 S1 Interface User Plane Transport Rel-19
TS 36.424 vj00 X2 Interface User Plane Transport Protocols Rel-19
TS 36.444 vj00 M3AP Protocol Specification for M3 Interface Rel-19
TS 36.445 vj00 M1 interface user plane protocol for MBMS Rel-19
TS 38.340 vj00 Backhaul Adaptation Protocol (BAP) Specification Rel-19
TS 38.401 vj30 NG-RAN Architecture Description Rel-19
TS 38.414 vj00 NG Interface User Plane Protocol Rel-19
TS 38.424 vj00 Xn Interface User Plane Transport Protocol Rel-19
TS 38.474 vj00 F1 Interface User Plane Protocol Rel-19
TS 44.318 vj00 Generic Access Network (GAN) Interface Procedures Rel-19