PCEF

Policy and Charging Enforcement Function

Core Network →
Introduced in Rel-7 Also in: Services

PCEF is the core network function within the PCC architecture that enforces dynamic policy decisions and applies charging rules for user data sessions at the gateway.

Category
Core Network
Introduced
Rel-7
Where
Core Network › Evolved Packet Core
Also touches
1 segments
Specifications
25 specs
PCEF Description Purpose Related Classification Detected Changes Specifications

Description

The Policy and Charging Enforcement Function (PCEF) is a critical logical entity within the 3GPP Policy and Charging Control (PCC) framework, introduced in Release 7. It resides at the border between the mobile core network and external packet data networks (e.g., the internet). Functionally, the PCEF is embedded within the gateway that handles the user plane traffic, such as the Gateway GPRS Support Node (GGSN) in GPRS/UMTS, the Packet Data Network Gateway (P-GW) in EPS (LTE), and the User Plane Function (UPF) in 5GC. Its primary role is to enforce in real-time the policy and charging control decisions made by the Policy and Charging Rules Function (PCRF).

The PCEF operates by intercepting user data flows (identified by IP 5-tuple or other filters) and applying the specific rules instructed by the PCRF. These rules are conveyed via the Gx reference point (or N7 in 5GC) and are encapsulated in Policy and Charging Control (PCC) rules. Each PCC rule contains information for enforcement and charging. For enforcement, the PCEF performs functions like gating (blocking or allowing flows), bandwidth control (setting uplink/downlink maximum bit rates, QoS Class Identifier), priority management, and redirection. For charging, the PCEF applies the charging method (online, offline, or both), identifies the relevant charging key, and reports usage events (e.g., volume, duration) to the Online Charging System (OCS) via the Gy interface or the Offline Charging System (OFCS) via the Gz interface.

Its operation is dynamic and session-aware. The PCEF interacts with the PCRF during session establishment, modification, and termination. It can also trigger updates by informing the PCRF of events it detects in the user plane, such as a change in user location, depletion of quota, or the start of a new service data flow. This closed-loop feedback allows for highly granular and responsive policy control. For example, when a user starts a video stream, the PCEF, upon instruction from the PCRF, can dynamically open a dedicated bearer with guaranteed bit rate, apply specific charging rates, and later downgrade the QoS when the stream ends. This architecture centralizes policy logic in the PCRF while decentralizing high-performance enforcement to the traffic-chokepoint gateways via the PCEF.

Purpose & Motivation

The PCEF was created to solve the limitations of static, pre-configured policy and charging mechanisms in earlier mobile data networks (pre-Release 7). Initially, policy control (like access control and QoS) and charging were largely separate, static functions configured directly on the gateway. This made it difficult to implement dynamic, service-aware, and user-specific policies in real-time. Operators could not easily offer tiered service plans, real-time spending controls, or optimized QoS for specific applications like VoIP or video.

The introduction of the PCC architecture, with the PCEF as its enforcement arm, was motivated by the need for a standardized, flexible, and centralized policy control framework. It separated the policy decision logic (PCRF) from the enforcement (PCEF), enabling real-time interaction between the network's control plane and user plane. This solved key business and technical problems: it allowed for sophisticated service differentiation, enabling new revenue models like sponsored data, zero-rating, and quality-on-demand. Technically, it provided the tools for efficient network resource management, ensuring critical services received necessary bandwidth while preventing any single user or service from overwhelming the network.

Furthermore, it integrated charging directly with policy enforcement, enabling accurate, flow-based charging that could align with marketing offers (e.g., social media data packs). The PCEF's role at the gateway makes it the ideal point for enforcement, as all user traffic must pass through it, allowing for comprehensive visibility and control. Its creation was a foundational step towards the service-aware, monetizable, and efficiently managed mobile broadband networks that followed.

Classification

Part ofPCRF
Specific typesBBFBBERFIP-CANV-PCEF
Related approachesQoS

Detected Changes Across Releases

from 3GPP Change Requests

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

Studied in Rel-7, normative work from Rel-15.

Rel-15 29 changes

In Release 15, the PCEF's role evolved within the new 5G architecture, notably through the introduction of 5G converged charging and support for charging enhancements like volume-based charging for IMS services. The updates also included clarifications for charging modes in the Converged Charging System and support for new elements such as the SMSF in the charging architecture for 5GS. Furthermore, enhancements were made for policy updates when a UE suspends and for activating transfer policy via the chargeable party change procedure.

  • Policy and Charging Control over Rx interface in the 5GS TS 29.214CR1609
  • Support for volume based charging of IMS services TS 29.214CR1614
  • Introduce the Northbound API charging TS 32.240CR0394
  • Introduction of 5G in charging architecture TS 32.240CR0396
  • Introduction of 5G converged charging TS 32.240CR0397
  • Introduction of 5G in charging mechanisms TS 32.240CR0399

+ 23 more changes

Rel-16 3 changes

In Release 16, the PCEF-related enhancements included the introduction of the Access and Mobility Management Function (AMF) into the charging architecture. It also added specific support for describing volume-based charging for VoLTE in the Packet Switched domain and provided clarifications for measurement procedures that occur before QoS enforcement.

  • Introduction of AMF in charging architecture TS 32.240CR0409
  • Introduce description of volume based charging for VoLTE in PS TS 32.251CR0514
  • Measurement Before QoS Enforcement Clarification TS 29.244CR0273
Rel-17 20 changes

In Release 17, key enhancements for the PCEF included support for policy and QoS control for satellite access and enhanced charging architecture for Edge Computing. Specific new charging capabilities were introduced for the 5G LAN service and for Local Breakout scenarios. Furthermore, the architecture saw refinements such as the report of the Access Network Charging Address and enhancements to the support for the Pause of Charging procedure.

  • Use of Paging Policy Differentiation for setting the Paging Cause TS 23.228CR1242
  • Support policy and QoS control for satellite access TS 29.212CR1707
  • PCRF control of MPS for DTS TS 29.213CR0743
  • Paging Policy Differentiation TS 29.244CR0611
  • Add PGW in logical ubiquitous charging architecture- service based interface TS 32.240CR0413
  • Introduction of 5G DDNMF in charging architecture for 5GS TS 32.240CR0429

+ 14 more changes

Rel-18 19 changes

In Release 18, the PCEF's scope was expanded to support new charging architectures and services. Key enhancements include introducing slice-aware charging for roaming partners, adding charging support for TSN (Time-Sensitive Networking) services, and integrating charging for 5G Satellite access. The release also updated the architecture to formally include the MB-SMF for 5GS and refined the principles for B2B (Business-to-Business) charging.

  • MBS data usage reporting over N4mb for MBS charging TS 29.244CR0797
  • MBS data usage reporting over N4 for MBS charging TS 29.244CR0798
  • Adding New Consumer for MMS in Charging Architecture TS 32.240CR0446
  • Slice-aware charging for Roaming partners TS 32.240CR0467
  • Add MB-SMF in charging architecture for 5GS TS 32.240CR0470
  • Add charging support for TSN service TS 32.240CR0473

+ 13 more changes

Rel-19 20 changes

In Release 19, enhancements to the PCEF function primarily focused on improving failure detection and recovery procedures. Specifically, a new condition was added for the PCRF to detect PCEF failure in a timely manner, and the procedure for an Application Function (AF) to trigger PCEF failure checking was updated. Furthermore, the behavior of the PCRF was clarified for the case of a PGW failure, and new conditions were introduced to support IMS restoration procedures following a PCRF/PCF failure.

  • Add a new condition for the PCRF detecting PCEF failure in time TS 29.213CR0751
  • Update the procedure of AF trigger the PCEF failure checking TS 29.213CR0753
  • Clarify the behavior of the PCRF in the case of PGW failure TS 29.214CR1704
  • Add new condition to support IMS restoration procedures after PCRF/PCF failure TS 29.244CR0996
  • Introduction of GMLC in charging architecture for 5GS TS 32.240CR0491
  • Rel-19 CR 32.240 Add charging support to AIoT service TS 32.240CR0510

+ 14 more changes

Explore further

Broader topics and technologies where PCEF plays a role.

Defining Specifications

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

SpecificationTitleRelease
TS 23.203 vj20 Policy and charging control architecture Rel-19
TS 23.207 vj00 End-to-End QoS Framework for GPRS Rel-19
TS 23.228 vj50 IMS Stage-2 Service Description Rel-19
TS 23.468 vj00 Group Communication System Enablers for LTE Rel-19
TS 23.701 vc00 WebRTC Access to IMS Architecture Study Rel-12
TR 26.924 vj00 MTSI QoS Improvement Study Rel-19
TS 29.154 vj00 Nt Reference Point Protocol Rel-19
TS 29.201 vj00 RESTful Rx Interface for AF-PC Communication Rel-19
TS 29.212 vj00 Gx/Gxx/Sd/St Diameter Protocol Rel-19
TS 29.213 vj20 PCC Signalling Flows and QoS Mapping Rel-19
TS 29.214 vj20 Policy and Charging Control over Rx Rel-19
TS 29.215 vj00 S9 Reference Point Stage 3 Specification Rel-19
TS 29.219 vj00 Sy Reference Point Stage 3 Specification Rel-19
TS 29.244 vj40 PFCP Specification for Control/User Plane Separation Rel-19
TS 29.250 vj00 Nu Reference Point Stage 3 Specification Rel-19
TS 29.251 vj00 Gw/Gwn Reference Points Stage 3 Specification Rel-19
TS 29.810 vd00 Diameter Load Control Study Rel-13
TS 29.816 va00 PCRF Failure & Restoration Study Rel-10
TS 29.817 vc10 Study on XML-based Rx interface for PCC Rel-12
TS 29.827 vg00 Policy and Charging for Volume Based Charging Rel-16
TS 32.240 vj40 Charging Management Architecture & Principles Rel-19
TS 32.251 vj00 PS Domain Charging Management Rel-19
TS 32.296 vj00 Online Charging System (OCS) Architecture Rel-19
TS 32.409 vj00 IMS Performance Management Measurements Rel-19
TS 32.843 vd00 PS Domain Online Charging in Roaming Rel-13