What Is a PDP Context?
The term PDP refers to the data transfer protocol being used, while a PDP context is the set of parameters needed to establish a connection between the user device and the carrier’s network.
Once a PDP context is activated, the network:
- Assigns the subscriber an IP address
- Determines the access point (APN)
- Sets quality of service (QoS) parameters
- Creates a route for user traffic
Without a successfully created PDP context, a mobile device can’t transmit data, even if it’s registered on the network.
How PDP Context Activation Works
The process begins when the user turns on mobile data or launches an app that requires internet access.
A simplified sequence looks like this:
- The smartphone sends a PDP context activation request.
- The SGSN checks the subscriber’s registration and permissions.
- The network determines the required APN.
- The GGSN assigns an IP address and establishes a connection to the external network.
- The PDP context is created, and data transfer begins.
APN (Access Point Name): the name of the access point that determines which gateway the subscriber uses to connect to an external network and with what parameters.
GGSN (Gateway GPRS Support Node): a 2G/3G mobile core network gateway that connects subscribers to the internet or other external networks.
In LTE networks, the Serving Gateway (SGW) and Packet Gateway (PGW) perform similar functions. Although the architecture has changed, the way user sessions are set up remains similar.
What Parameters Does a PDP Context Store?
| Parameter | Purpose |
| APN | Identifies the network or service the subscriber connects to |
| IP address | Assigned to the device for the duration of the session |
| PDP type | IPv4, IPv6, or IPv4v6 |
| QoS | Quality of service parameters |
| Tunnel ID | User tunnel identifier |
| State | Active, modified, or deactivated |
Network nodes use these parameters to route user traffic and apply service policies.
Types of PDP Contexts
A mobile network can have several PDP contexts at the same time.
| Type | Purpose |
| Primary PDP Context | The main network connection, through which an IP address is assigned and the first user session is created |
| Secondary PDP Context | Uses the existing IP address but allows different QoS parameters to be applied to specific services |
For example, one secondary PDP context can be used for voice services and another for regular internet traffic.
Why PDP Context Errors Occur
If a PDP context can’t be activated, mobile internet won’t work.
The most common causes:
- Incorrect APN settings
- Data service not enabled by the carrier
- SIM card authentication failure
- Network element congestion
- SGSN, GGSN, or PGW failures
- Plan restrictions
On many smartphones, these situations appear as “PDP authentication failure,” “PDP context activation failed,” or similar messages.
PDP Context in Modern Mobile Networks
Although the term PDP context mainly applies to GPRS, EDGE, and UMTS networks, the concept carries over to LTE. EPC networks use the EPS bearer, which performs a similar function: it creates a user data session between the device and the core network.
When building mobile infrastructure, carriers need to control user session creation, IP address allocation, and service policy enforcement. VAS Experts solutions for mobile networks make it possible to manage traffic, integrate with core network elements, and implement flexible service delivery scenarios.
Learn more: Turnkey MVNO Launch.
Technical FAQ
What is a PDP context in simple terms?
A PDP context is a logical data session between a mobile device and the carrier’s network. It contains the connection parameters required for mobile internet to work.
What is the difference between PDP and a PDP context?
PDP (Packet Data Protocol) defines how packet data is transmitted, while a PDP context is a specific user session containing the IP address, APN, QoS parameters, and other service information.
What is PDP context activation?
PDP context activation is the process of establishing a connection between a smartphone and the carrier’s network. During activation, the device receives an IP address, connects to the appropriate APN, and starts transmitting data.
Why do PDP context errors occur?
Most often, errors are caused by incorrect APN settings, carrier restrictions, SIM card issues, lack of coverage, or failures in the network elements involved in creating the user session.