What Are the Layers of 5G Architecture? Protocol Stack, RAN and Core
The two ways 5G is layered, checked against the current 3GPP Release 19 specifications: the radio protocol stack (PHY, MAC, RLC, PDCP, SDAP, RRC, NAS) and where each layer runs, the RU/DU/CU split and its fronthaul cost, the 5G core's network functions, 4G vs 5G, NSA vs SA in India, and worked header-overhead and peak-rate numbers.

5G architecture has layers in two senses. The radio protocol stack has six: the physical layer (PHY), then MAC, RLC, PDCP and SDAP for user data, with RRC and NAS carrying signalling. The network itself is layered too: the phone, the radio access network (radio unit, distributed unit, central unit), the transport links between them, the service-based 5G core, and a management layer over everything.
In short (as of 23 Nov 2026)
- Protocol layers: user plane = PHY, MAC, RLC, PDCP, SDAP; control plane = PHY, MAC, RLC, PDCP, RRC, with NAS running between the phone and the core's AMF (3GPP TS 38.300 V19.4.0, Sept 2026).
- Where they run: the gNB-DU hosts RLC, MAC and PHY; the gNB-CU hosts RRC, SDAP and PDCP, joined by the F1 interface (TS 38.401 V19.3.0).
- The core: a set of network functions (AMF, SMF, UPF, PCF, UDM, AUSF, NRF, NSSF, NEF and more) that talk over service-based interfaces, with the user plane (UPF) separate from the control plane (TS 23.501 V19.9.0, Oct 2026).
- Worked numbers (Skill-Lync calculation): layer-2 headers add 10 bytes, 0.71%, to a 1,400-byte IP packet but 22.5% to a 40-byte TCP ACK; one 100 MHz carrier with 4 layers peaks at about 2,337 Mbps by the TS 38.306 formula; splitting the RAN at the PHY/RF line instead of at 7.2x needs roughly 393 Gbps instead of 27 Gbps of fronthaul for a 64-antenna cell.
- Standards clock: Release 19 was frozen at the December 2025 plenaries; Release 20 (5G-Advanced plus 6G studies) targets its Stage-3 freeze in March 2027, and the first 6G specifications come in Release 21.
This guide is for engineering students preparing for telecom interviews and for early-career RAN, core and protocol engineers. It replaces our March 2023 overview, which mixed up the protocol layers with the network layers and borrowed 4G names for the 5G core. Every layer and interface below is checked against the current 3GPP specifications, and every worked number comes from a script Skill-Lync keeps with this article. For what 5G is and how fast it is in India, start with our explainer on 5G technology.
What are the layers of 5G architecture?
There are two correct answers. The 5G NR protocol stack has PHY, MAC, RLC, PDCP and SDAP in the user plane and PHY, MAC, RLC, PDCP, RRC and NAS in the control plane. The physical network has a device layer, a radio access network, transport (fronthaul, midhaul, backhaul), the 5G core, and management and orchestration.
The two views fit together. Each protocol layer runs in a specific box of the network, so "which layer?" and "which node?" are questions you will be asked together in interviews. The table maps them.
| Network layer | Boxes in it | Protocol layers it runs |
|---|---|---|
| Device | Phone, modem, IoT module (UE) | All of them: PHY up to SDAP, RRC and NAS |
| Radio access network (NG-RAN) | RU, gNB-DU, gNB-CU (CU-CP + CU-UP) | DU: PHY, MAC, RLC. CU: PDCP, SDAP, RRC |
| Transport | Fronthaul (RU-DU), midhaul/F1 (DU-CU), backhaul/N2-N3 (CU-core) | Carries the layers above; adds none of the radio layers |
| 5G core | AMF, SMF, UPF, PCF, UDM, AUSF, NRF, NSSF, NEF and others | NAS ends in the AMF; IP packets leave through the UPF |
| Management and orchestration | OAM systems; the SMO in O-RAN networks | Configures and monitors all of the above |
What does each layer of the 5G protocol stack do?
Each layer solves one problem. PHY turns bits into radio waves. MAC decides who transmits when and retries fast. RLC splits packets to fit and, in acknowledged mode, recovers losses. PDCP encrypts, protects integrity and compresses headers. SDAP sorts packets into quality-of-service flows. RRC controls the radio connection, and NAS handles registration and sessions with the core.
| Layer | Ends at (network side) | Main jobs (TS 38.300) | Header it adds |
|---|---|---|---|
| NAS | AMF in the core | Registration, authentication, mobility and session signalling | Signalling only |
| RRC | gNB-CU (CU-CP) | System information, paging, connection set-up, bearers, handover, measurements | Signalling only |
| SDAP | gNB-CU (CU-UP) | Maps QoS flows to data radio bearers, marks the QoS flow ID (QFI) | 0 or 1 byte |
| PDCP | gNB-CU | Ciphering, integrity protection, ROHC header compression, reordering, duplication | 2 or 3 bytes, +4 if integrity on |
| RLC | gNB-DU | Segmentation; ARQ retransmission in acknowledged mode (AM) | 1 to 3 bytes (+2 for segments) |
| MAC | gNB-DU | Scheduling, multiplexing logical channels into transport blocks, HARQ | 2 or 3 bytes per SDU |
| PHY | gNB-DU and RU | Coding (LDPC/polar), modulation, OFDM, MIMO, beamforming | CRC on each transport block |
Physical layer (PHY): the numerology
5G NR uses OFDM with a flexible subcarrier spacing set by the numerology . TS 38.211 fixes 14 symbols per slot (normal cyclic prefix) and lets the spacing and the slot length scale together:
Worked example: band n78 (3,300 to 3,800 MHz, TDD) allows at most 50 MHz per carrier at 15 kHz but up to 100 MHz at 30 kHz (TS 38.101-1, Table 5.3.5-1). A 100 MHz carrier therefore runs at 30 kHz, so . Each slot lasts 0.5 ms, there are 2,000 slots every second, and the average OFDM symbol lasts . LTE, by contrast, uses a single 15 kHz spacing for its normal carriers (TS 36.300), so NR's shorter slots let the scheduler act more often.
MAC: the scheduler
The MAC layer in the base station is where the scheduling decisions are made: which phone gets which resource blocks in which slot. It multiplexes data from several logical channels into one transport block and runs HARQ, the fast retransmission loop between MAC and PHY. One HARQ entity runs per serving cell (TS 38.300 §6.2). MAC does not authenticate users; that is a core-network job.
RLC: segmentation and recovery
RLC has three modes. Transparent mode (TM) is used for broadcast, paging and SRB0; acknowledged mode (AM) for the other signalling bearers; and data bearers use either unacknowledged mode (UM) or AM (TS 38.300 §6.3). AM adds ARQ: the receiver reports gaps in status reports and the sender retransmits. NR RLC does not concatenate packets; MAC packs several RLC PDUs into one transport block (TS 38.300 §6.6).
PDCP: security and compression
PDCP ciphers user data, adds integrity protection where configured, compresses IP headers with ROHC, reorders packets and discards duplicates. It also supports packet duplication, sending the same packet over two paths for reliability. In a split base station, PDCP sits in the central unit, so encryption ends in the CU, not at the radio site.
SDAP: new in 5G
SDAP has no LTE equivalent. 5G's core marks traffic with QoS flows instead of 4G's bearers, and SDAP maps each QoS flow onto a data radio bearer and stamps the QoS flow ID (QFI) on packets. One SDAP entity is configured per PDU session (TS 38.300 §6.5). Its header is one byte, or none if the network configures it absent.
RRC and NAS: the control plane
RRC sets up, reconfigures and releases the radio connection, handles handover and measurement reports, and keeps the phone in one of three states: RRC_IDLE, RRC_INACTIVE or RRC_CONNECTED. In RRC_INACTIVE the phone sleeps while the base station and the phone both keep its access-stratum context and the core connection stays up, so the network pages it within a RAN area and it resumes with less signalling than from idle (TS 38.300 §7.2). NAS runs between the phone and the AMF for registration, authentication and session management.
What is the difference between the user plane and the control plane in 5G?
The user plane carries your data: video, web pages, sensor readings. The control plane carries the signalling that sets up and manages those data paths: registration, authentication, handovers, session set-up. 5G separates them in both the RAN (CU-UP and CU-CP) and the core (UPF and SMF), so each side can scale and be placed independently.
That separation is a stated design principle of the 5G system (TS 23.501 §4.2.1), so that each side can scale and evolve independently and be deployed centrally or in a distributed, remote location, for example a UPF close to users for low latency. The CU-CP and CU-UP talk over the E1 interface; the SMF controls the UPF over N4.
How much overhead do the 5G layers add? A worked example
For a full-size packet, very little. A 1,400-byte IP packet on a downlink data bearer picks up 10 bytes of layer-2 headers, 0.71%. A 40-byte TCP acknowledgement picks up 9 bytes, 22.5%, which is why small packets are where header compression and scheduling efficiency matter most.
Take one IP packet on a data radio bearer with RLC in acknowledged mode and 18-bit sequence numbers in PDCP and RLC, the usual set-up for high-rate data. The header sizes come from the four specifications:
- SDAP: 1 byte (RDI, RQI and a 6-bit QFI in the downlink; TS 37.324).
- PDCP: 3 bytes with an 18-bit sequence number; the 4-byte MAC-I is added only if the bearer has integrity protection (TS 38.323).
- RLC: 3 bytes for an acknowledged-mode PDU with an 18-bit SN; a later segment adds a 2-byte segment offset (TS 38.322).
- MAC: a 2-byte subheader if the MAC SDU is under 256 bytes, 3 bytes otherwise (TS 38.321).
Two limits on this example. It counts layer-2 headers only; the physical layer adds CRC bits and channel coding, and the radio spends resources on reference signals and control channels (the 14% overhead term in the next section). And with ROHC header compression configured, PDCP shrinks the IP/UDP/RTP headers themselves (TS 38.300 §6.4), so small voice packets fare much better than the uncompressed TCP ACK (20-byte IPv4 plus 20-byte TCP header, no payload) shown here.
How fast can one 5G carrier go? The PHY layer by the numbers
By 3GPP's own formula, one 100 MHz carrier at 30 kHz spacing with 4 MIMO layers and 256-QAM peaks at about 2,337 Mbps. On a TDD carrier that spends part of its time on uplink, the downlink share is lower: about 1.74 Gbps with an assumed DDDSU slot pattern.
TS 38.306 §4.1.2 gives the approximate maximum data rate that a phone must support. With one carrier, MIMO layers, modulation order (8 for 256-QAM), scaling factor , maximum code rate , and overhead for FR1 downlink:
is the maximum number of resource blocks in a 100 MHz channel at 30 kHz (TS 38.101-1, Table 5.3.2-1). The formula has no TDD term. If an operator runs a DDDSU pattern (three downlink slots, a special slot with, say, 10 downlink symbols, one uplink slot), the downlink gets of the time, so about 1.74 Gbps. That slot pattern is our assumption for illustration; operators choose their own, and real users see far less because they share the cell and rarely get 4 layers at 256-QAM.
What are the RU, DU and CU in 5G?
They are the three parts a 5G base station (gNB) can be split into. The radio unit (RU) holds the antennas, RF and the lowest PHY functions. The distributed unit (DU) runs the rest of PHY, MAC and RLC in real time. The central unit (CU) runs PDCP, SDAP and RRC, and can serve many DUs from a data centre.
3GPP standardised the CU/DU split with the F1 interface (TS 38.401): one DU supports one or more cells, a CU controls one or more DUs, and the CU can split again into CU-CP and CU-UP over E1. The split between RU and DU is not a 3GPP interface; the open, multi-vendor version is the O-RAN Alliance's split 7.2x, published in February 2019, where the RU does the FFT and the fronthaul carries frequency-domain samples.
Where you split decides how fat the transport pipe must be. The 2017 3GPP study on RAN architecture (TR 38.801) estimated that a split at the PHY/RF boundary, which ships raw time-domain radio samples like classic CPRI, needs about 614.4 Mbps per 10 MHz of bandwidth per antenna port. For one 100 MHz cell:
A 7.2x link sends only occupied subcarriers and, when beamforming happens in the RU, one stream per spatial layer instead of one per antenna. With 16 layers, 9-bit block-floating-point samples and a 4-bit exponent per resource block (our assumptions; O-RAN allows several compression settings), the estimate is , about 15 times less than the 64-antenna split-8 figure. The F1 link above the DU carries roughly the user traffic itself: about 9.3 Gbps at a 16-layer cell peak.
This is why split 7 options exist: they avoid split 8's need to scale fronthaul with every antenna, and their load varies with the traffic actually served in the cell (Cisco, 2021). It is also why RAN engineers now need to know transport as well as radio. Our Open RAN guide covers the multi-vendor side.
What are the network functions in the 5G core?
The 5G core is a set of software network functions rather than fixed boxes. The AMF handles access and mobility, the SMF sessions, the UPF user traffic, the PCF policy, the UDM and AUSF subscriber data and authentication, the NRF discovery, the NSSF network slices, and the NEF exposure to outside applications.
Control-plane functions talk to each other only over service-based interfaces (TS 23.501 §4.2.1): each function offers services that others call, and the NRF works as the directory. That is what makes the core cloud-native: functions run as virtualised or containerised software and scale independently. Our post on SDN and NFV explains the virtualisation underneath.
| Function | What it does (TS 23.501 / TS 38.300) | Closest 4G (EPC) counterpart |
|---|---|---|
| AMF | Ends NAS signalling, registration, mobility, access authentication and authorisation, SMF selection | MME (mobility part) |
| SMF | Session management, UE IP address allocation, selects and controls the UPF | MME (session part) + control side of S-GW/P-GW |
| UPF | Packet routing and forwarding, QoS enforcement, usage reporting, anchor for mobility, link to the data network | User-plane side of S-GW/P-GW |
| PCF | Unified policy framework; policy rules for control-plane functions | PCRF |
| UDM / UDR | Subscriber identity (SUPI), authentication credentials, subscription data | HSS |
| AUSF | Authentication for 3GPP and untrusted non-3GPP access | HSS (authentication part) |
| NRF | Registry and discovery of network functions and their services | None |
| NSSF | Selects the network slice instances that serve a phone | None |
| NEF | Securely exposes network capabilities and events to third-party applications | No direct equivalent |
The current TS 23.501 (V19.9.0, October 2026) lists many more functions, including NWDAF for analytics, CHF for charging and NSACF for slice admission control. Interviewers rarely expect all of them; they do expect the first five and the interfaces N1 (phone to AMF), N2 (RAN to AMF), N3 (RAN to UPF), N4 (SMF to UPF) and N6 (UPF to the data network).
How is 5G architecture different from 4G?
4G's core (EPC) is built from nodes joined by point-to-point reference points: the MME, Serving and PDN gateways, HSS and PCRF (TS 23.401). 5G turns the core into service-based software functions, separates user and control planes in core and RAN, adds SDAP and QoS flows, and lets the base station split into CU, DU and RU.
| Aspect | 4G LTE | 5G (NR + 5GC) |
|---|---|---|
| Base station | eNB, one box | gNB, can split into CU-CP, CU-UP, DU (and RU) |
| RAN to core | S1 (S1-MME, S1-U) | NG (N2 control, N3 user) |
| Between base stations | X2 | Xn |
| Core style | Nodes with point-to-point interfaces | Network functions on service-based interfaces |
| QoS model | EPS bearers | QoS flows mapped to radio bearers by SDAP |
| Subcarrier spacing | 15 kHz (normal carriers) | 15 to 960 kHz ( to 6) |
| Slice selection | No dedicated function | NSSF picks slice instances per phone |
For the 4G side in detail, see our LTE architecture guide.
What are NSA and SA 5G, and which does India use?
Non-standalone (NSA) 5G adds 5G radios to a 4G network whose base station and core still handle signalling. Standalone (SA) 5G runs end to end on 5G radios and a 5G core, which unlocks features such as network slicing. In India, Jio launched on SA; Airtel launched on NSA and is reported to be moving to SA.
The common NSA set-up is "option 3x" from TR 38.801: signalling (S1-MME) stays on the LTE eNB and the EPC, while user data is split at the gNB. SA is "option 2": the gNB connects straight to the 5G core.
- Jio: deployed 5G SA from day one and more than 1 million 5G cells within 12 months of its October 2022 launch (Ericsson Mobility Report article, Nov 2023, written with Jio).
- Airtel: launched on NSA; a February 2026 Beebom report, based on a tipster's post rather than an Airtel release, says SA was rolling out to smartphone users after its home broadband service. Treat the timing as reported, not confirmed.
- Scale: India had installed 5.08 lakh 5G base stations, covering 99.9% of districts, according to the Department of Telecommunications' year-end review (PIB, 19 Dec 2025).
Where is 5G architecture heading in 2026 and 2027?
Into 5G-Advanced and then 6G. Release 18, the first 5G-Advanced release, was scheduled for its ASN.1 freeze in June 2024. Release 19 was frozen at the 3GPP plenaries of 8 to 12 December 2025. Release 20 carries 5G-Advanced work plus the 6G studies, and Release 21 will hold the first 6G specifications.
Release 20's 5G-Advanced track targets a Stage-3 freeze in March 2027 and an ASN.1/OpenAPI freeze in June 2027 (3GPP planning article, Feb 2025). For Release 21, 3GPP projects the ASN.1/OpenAPI freeze no earlier than March 2029. These are schedules, not guarantees; 3GPP releases have slipped before. The layered structure in this article remains the baseline that 5G-Advanced features build on.
What do people get wrong about the layers of 5G?
Three mistakes come up often, including in our own 2023 version of this article. Calling PHY, MAC, RLC, PDCP and SDAP "the five layers of 5G architecture" leaves out RRC, NAS and the network itself. Saying MAC handles authentication is wrong; the AMF, AUSF and UDM do. And the 5G core has no MME or S-GW; those are 4G names.
A fourth, subtler one: the protocol layers are not the OSI model's seven layers. PHY is layer 1; MAC, RLC, PDCP and SDAP together form layer 2; RRC is layer 3 signalling in the access stratum, and NAS sits above it. IP runs on top of the whole radio stack rather than being one of its layers.
How do you learn 5G architecture for a telecom job?
Learn the protocol stack and the core together, and practise call flows: registration, PDU session set-up and handover touch every layer in this article. Build a small lab with open-source software so you can watch NAS, RRC and the N2/N3 messages yourself, then add RAN topics such as the CU/DU split and fronthaul.
Skill-Lync's 5G NR Protocol Stack course is a 4-week online course whose weeks 3 and 4 cover the RAN protocols in detail. The 5G Core course covers the network functions, call flows, slicing, edge computing and security, with a project that builds a 5G core and simulated RAN using Open5GS and UERANSIM. For the RAN side there is Open RAN (6 weeks), network and RAN performance optimisation, and Network Function Virtualization in 5G for the cloud core. Browse all electronics and telecom courses, or talk to a Skill-Lync counsellor about which fits your background. For practice, see our 5G telecom interview questions.
Frequently asked questions
How many layers are there in 5G?
The 5G NR radio stack has PHY as layer 1, MAC, RLC, PDCP and SDAP as layer 2, and RRC as layer-3 signalling, with NAS above it between the phone and the core. Counting network layers instead, there are five: device, radio access network, transport, 5G core, and management and orchestration. Both answers are correct; say which one you mean.
What is the role of SDAP in 5G?
SDAP, the Service Data Adaptation Protocol, is the layer 5G added on top of PDCP for user data. It maps each QoS flow from the 5G core onto a data radio bearer and marks packets with the QoS flow ID. One SDAP entity runs per PDU session, and its header is one byte or, if configured, none.
Which layers run in the gNB-CU and which in the gNB-DU?
According to TS 38.401, the gNB-CU hosts RRC, SDAP and PDCP, and the gNB-DU hosts RLC, MAC and PHY. The CU can split further into a control part (RRC and PDCP for signalling) and a user part (SDAP and PDCP for data). The F1 interface joins CU and DU, and E1 joins CU-CP and CU-UP.
What is the difference between the AMF and the SMF?
The AMF manages access and mobility: it ends NAS signalling, registers phones, tracks them as they move and controls access authentication. The SMF manages sessions: it sets up PDU sessions, allocates IP addresses and chooses and controls the UPF that carries the data. In 4G, the MME did much of both jobs.
Is 5G architecture based on the OSI model?
Only loosely. The 3GPP stack uses layer 1, 2 and 3 names, but its layers do not map one to one onto OSI's seven. Layer 2 alone has four sublayers (MAC, RLC, PDCP, SDAP), RRC is radio control signalling rather than a network layer, and IP traffic rides on top of the radio stack as user data.
Sources and further reading
- 3GPP TS 38.300 V19.4.0, NR and NG-RAN overall description, ETSI, Sept 2026: ETSI TS 138 300
- 3GPP TS 38.401 V19.3.0, NG-RAN architecture description, ETSI, July 2026: ETSI TS 138 401
- 3GPP TS 23.501 V19.9.0, System architecture for the 5G System, ETSI, Oct 2026: ETSI TS 123 501
- 3GPP TS 23.401 V19.6.0, GPRS enhancements for E-UTRAN access (EPC nodes), ETSI, July 2026: ETSI TS 123 401
- 3GPP TS 38.211 V19.5.0, physical channels and modulation (numerology), ETSI, Sept 2026: ETSI TS 138 211
- 3GPP TS 38.306 V19.4.0, UE radio access capabilities (max data rate formula), ETSI, Sept 2026: ETSI TS 138 306
- 3GPP TS 38.101-1 V19.7.0, UE radio transmission and reception, FR1 (Table 5.3.2-1), ETSI, Oct 2026: ETSI TS 138 101-1
- 3GPP TS 37.324 (SDAP), TS 38.323 (PDCP), TS 38.322 (RLC) and TS 38.321 (MAC), Release 19, ETSI: SDAP, PDCP, RLC, MAC
- 3GPP TR 38.801 V14.0.0, Study on new radio access technology: radio access architecture and interfaces, 2017: 3GPP archive
- Cisco, Comparing lower layer splits for open fronthaul deployments, 16 Apr 2021: blogs.cisco.com
- Rahmani et al., Exploring O-RAN compression techniques in decentralized distributed MIMO systems, arXiv 2507.04997, 2025: arxiv.org
- 3GPP, Rel-18 status and Rel-19 progress in TSG RAN, 7 Mar 2024: 3gpp.org
- 3GPP, Release 20 planning (TSG SA chair), 3 Feb 2025: 3gpp.org
- 3GPP Highlights Issue 10, June 2025: 3gpp.org
- Critical Communications Review, 3GPP freezes Release 19 specifications, 20 Mar 2026: criticalcommunicationsreview.com
- Ericsson Mobility Report, Large-scale 5G SA deployment in India (with Jio), Nov 2023: ericsson.com
- Beebom, Airtel 5G SA rollout report, 7 Feb 2026: beebom.com
- PIB, Department of Telecommunications year-end review 2025, 19 Dec 2025: pib.gov.in


