Description
The Packet Data Network Gateway (P-GW) is a fundamental component of the Evolved Packet Core (EPC) architecture defined in 3GPP Release 8 and beyond. It functions as the primary gateway between the mobile operator's network and external Packet Data Networks (PDNs), such as the public internet, IMS, or private corporate networks. The P-GW is the point of entry and exit for all user plane IP traffic for a UE. It is responsible for assigning the UE an IP address (via DHCP or other mechanisms) and managing the IP bearer context for each data session. The P-GW enforces policy and charging rules received from the Policy and Charging Rules Function (PCRF), applying gating, filtering, and quality-of-service (QoS) marking to packets. It also performs deep packet inspection (DPI) for service-aware charging and policy enforcement.
Architecturally, the P-GW interfaces with several key network elements. On the mobile network side, it connects to the Serving Gateway (S-GW) via the S5/S8 interface (GTP-based or PMIP-based) for user plane traffic and control signaling. The S5 interface is used when the S-GW and P-GW are within the same PLMN, while S8 is used for roaming scenarios between PLMNs. On the external network side, the P-GW connects to PDNs via the SGi interface, which is a standard IP interface. For control plane functions, the P-GW communicates with the PCRF over the Gx interface to receive dynamic policy and charging control (PCC) rules. It also interfaces with Online Charging Systems (OCS) via the Gy interface and Offline Charging Systems (OFCS) via the Gz interface.
A critical role of the P-GW is as an anchor for mobility. When a UE moves between different eNodeBs or even between 3GPP and non-3GPP access networks (like Wi-Fi), the P-GW remains the stable IP point of attachment. This ensures session continuity as the UE's IP address is preserved. The P-GW also supports advanced features like Traffic Detection Function (TDF) for application detection and reporting, and Bearer Binding and Event Reporting Function (BBERF) for non-3GPP accesses. In later 3GPP releases, with the introduction of 5G Core (5GC), many P-GW functions were integrated into the new User Plane Function (UPF), but the P-GW remains central to 4G EPS deployments and is a key element in interworking between 4G and 5G networks.
Purpose & Motivation
The P-GW was created as part of the System Architecture Evolution (SAE) in 3GPP Release 8 to address the limitations of previous 3G packet core architectures, specifically the Gateway GPRS Support Node (GGSN). The GGSN in 2G/3G networks handled similar gateway functions but was part of a less flexible, more monolithic architecture. The EPC, with the P-GW as a distinct entity, introduced a flatter, all-IP architecture designed for higher data throughput, lower latency, and more efficient packet routing. This was essential to support the burgeoning demand for mobile broadband services driven by smartphones and new applications.
The P-GW solves several key problems. It centralizes the policy enforcement and charging functions, allowing operators to implement sophisticated service plans and monetization strategies based on user, application, or network conditions. By acting as the single IP anchor point, it simplifies mobility management and enables seamless handovers between different radio access technologies. Furthermore, its design supports deep packet inspection and service-aware capabilities, which are crucial for implementing parental controls, enterprise VPNs, and optimized traffic management. The separation of the S-GW and P-GW also allowed for more flexible network deployments, where the S-GW could be distributed for latency optimization while the P-GW could be centralized for policy consistency.
Classification
Detected Changes Across Releases
from 3GPP Change RequestsSpecific changes extracted from the „Change history“ tables of 3GPP specifications (5 CRs across 4 releases). Complements the general historical overview above with the evidence-based evolution of this function.
Studied in Rel-8, normative work from Rel-15.
In Release 15, a specific clarification was made regarding the P-GW function in the context of Control and User Plane Separation (CUPS). It was explicitly noted that packet counters for input-packets and output-packets are not reported over the SGi interface's signaling. This addition provides a precise technical detail on the limitations of traffic reporting within the CUPS architecture.
- Addition of a note that input-packets / output-packets are not reported in SGi signalling with CUPS TS 29.061CR0500
In Release 17, a specific update to the P-GW function involved a correction regarding the applicability of the counted number of packets. This change addressed a technical clarification within the existing specifications.
- Correction of the applicability of the counted number of packets TS 29.061CR0547
In Release 18, the P-GW function was enhanced with updates to the 3GPP-Packet-Filter mechanism. Furthermore, specific functionality was introduced for the P-GW to set the DSCP (Differentiated Services Code Point) marking on packets.
Explore further
Broader topics and technologies where P-GW plays a role.
Defining Specifications
3GPP specifications that define or reference P-GW, with the latest known release. Sourced from the 3GPP document catalog — see methodology.
| Specification | Title | Release |
|---|---|---|
| TS 23.221 vj00 | 3GPP System Architectural Requirements | Rel-19 |
| TS 24.229 vj50 | IMS call control protocol based on SIP and SDP | Rel-19 |
| TS 24.302 vj00 | Access to EPC via non-3GPP networks; Stage 3 | Rel-19 |
| TS 26.233 vf00 | 3GPP Packet-Switched Streaming Service (PSS) | Rel-15 |
| TR 26.938 vj00 | DASH Deployment Guidelines for 3GPP Networks | Rel-19 |
| TS 29.061 vj00 | Packet Domain Interworking for PLMN | Rel-19 |
| TS 29.468 vj00 | MB2 Reference Point Protocol Definition | Rel-19 |
| TS 29.561 vj30 | 5G Interworking with External Data Networks | Rel-19 |
| TS 29.804 v801 | CT3 Aspects of System Architecture Evolution | Rel-8 |
| TS 29.806 vc10 | P-CSCF Restoration Analysis & Solutions | Rel-12 |
| TS 29.826 vd10 | P-CSCF Restoration Enhancements for WLAN | Rel-13 |
| TS 29.866 vj00 | IMS Disaster Prevention & Restoration Enhancement | Rel-19 |
| TS 31.829 vd00 | ISIM Conformance Requirements Technical Report | Rel-13 |
| TS 32.251 vj00 | PS Domain Charging Management | Rel-19 |
| TS 32.296 vj00 | Online Charging System (OCS) Architecture | Rel-19 |
| TS 32.298 vj30 | Charging Data Record (CDR) Parameter Specification | Rel-19 |
| TS 32.820 v1801 | Charging Architecture Study for Evolved 3GPP | Rel-8 |
| TS 32.833 vb00 | Converged OSS End-to-End Management Study | Rel-11 |
| TS 33.863 ve20 | Security for Battery-Efficient IoT Device to Enterprise | Rel-14 |
| TS 36.300 vj00 | E-UTRAN Radio Interface Protocol Architecture Overview | Rel-19 |
| TS 36.868 vc00 | Study on Group Communication for E-UTRA | Rel-12 |