WirelessBrewTools

Main Navigation

  • Home
  • Calculators & Tools
  • Technical Articles
  • Cheatsheets

Tool Categories

  • 5G NR
    • 5G NR & 4G LTE Frequency Bands
    • 5G NR & LTE Measurement Gap
    • 5G NR ARFCN Calculator
    • 5G NR GSCN to Frequency Calculator
    • 5G NR PRACH Configuration Calculator
    • 5G NR RRC Timers
    • 5G NR RSRP Measurements
    • 5G NR Throughput Calculator
    • 5QI/QoS Reference
    • ASN.1 Hex Decoder
    • Beam Failure Recovery Sandbox
    • BWP Calculator
    • Cell Selection Criterion
    • MAC CE Parser
    • MCS Table Reference
    • Measurement Events Simulator
    • Paging & Wake-Up Calculator
    • Resource Grid Explorer
    • RSRP Mapper
    • SCS & Numerology
    • SLIV/RIV/FDRA Calculator
    • SSB Configuration
    • TBS Calculator
    • Timing Advance Calculator
  • 4G LTE
    • 4G LTE EARFCN Calculator
    • LTE CQI Calculator
    • LTE PRACH Configuration Calculator
    • LTE RRC Timers
    • LTE Throughput Calculator
    • TDD Configuration
  • RF Tools
    • Antenna Downtilt Calculator
    • Antenna Gain Calculator
    • Cable Loss Calculator
    • Cell Range Calculator
    • EIRP Calculator
    • Fresnel Zone Calculator
    • Idle Mode Reselection
    • Link Budget Calculator
    • Path Loss Calculator
    • PCI Calculator
    • PIM Calculator
    • RSRP/RSRQ/SINR Calculator
  • Common RF
    • dB Calculator
    • dBm to Watt Converter
    • Free Space Path Loss Calculator
    • Thermal Noise Calculator
    • VSWR Calculator
  • Reference Tools
    • 3GPP Specs Reference
    • 3GPP Timeline
    • IMSI/IMEI Analyzer
    • Technology Comparison
    • UE Category Reference
  • Beta Releases
    • 3GPP NTN Satellite Planner
    • CORESET/PDCCH Calculator
About UsPrivacy PolicyContact UsSettings
WirelessBrew
HomeCalculatorsCheatsheetsTechnical Articles
Tool Categories
5G NR
5G NR & 4G LTE Frequency Bands5G NR & LTE Measurement Gap5G NR ARFCN Calculator5G NR GSCN to Frequency Calculator5G NR PRACH Configuration Calculator5G NR RRC Timers5G NR RSRP Measurements5G NR Throughput Calculator5QI/QoS ReferenceASN.1 Hex DecoderBeam Failure Recovery SandboxBWP CalculatorCell Selection CriterionMAC CE ParserMCS Table ReferenceMeasurement Events SimulatorPaging & Wake-Up CalculatorResource Grid ExplorerRSRP MapperSCS & NumerologySLIV/RIV/FDRA CalculatorSSB ConfigurationTBS CalculatorTiming Advance Calculator
4G LTE
4G LTE EARFCN CalculatorLTE CQI CalculatorLTE PRACH Configuration CalculatorLTE RRC TimersLTE Throughput CalculatorTDD Configuration
RF Tools
Antenna Downtilt CalculatorAntenna Gain CalculatorCable Loss CalculatorCell Range CalculatorEIRP CalculatorFresnel Zone CalculatorIdle Mode ReselectionLink Budget CalculatorPath Loss CalculatorPCI CalculatorPIM CalculatorRSRP/RSRQ/SINR Calculator
Common RF
dB CalculatordBm to Watt ConverterFree Space Path Loss CalculatorThermal Noise CalculatorVSWR Calculator
Reference Tools
3GPP Specs Reference3GPP TimelineIMSI/IMEI AnalyzerTechnology ComparisonUE Category Reference
Beta Releases
3GPP NTN Satellite PlannerCORESET/PDCCH Calculator
Preferences
Back to lte
#LTE#RACH#RandomAccess#RRC#TimingAdvance

LTE Random Access Procedure (RACH): Msg1 to Msg4 Explained

WirelessBrew Team
July 4, 2026
4 min read
  • Understanding the LTE Random Access Procedure (RACH)
  • Step 1: Msg1 - Random Access Preamble Transmission
  • Step 2: Msg2 - Random Access Response (RAR)
  • Step 3: Msg3 - RRC Connection Request
  • Step 4: Msg4 - Contention Resolution
  • Why is Timing Advance Crucial?
  • Summary

Understanding the LTE Random Access Procedure (RACH)

The Random Access Procedure (RACH) is a fundamental process in LTE and 5G NR networks. It allows User Equipment (UE) to establish uplink synchronization with the eNodeB (base station) and obtain the initial resources required for communication.

Whenever you turn on your phone, transition from idle to connected mode, or experience a handover, your device performs a RACH procedure.

There are two types of RACH procedures in LTE:

  1. Contention-Based Random Access (CBRA)
  2. Contention-Free Random Access (CFRA)

In this guide, we focus on the more common Contention-Based Random Access (CBRA), which consists of four distinct steps, often referred to as Msg1, Msg2, Msg3, and Msg4.


Step 1: Msg1 - Random Access Preamble Transmission

The procedure begins when the UE selects a Random Access Preamble and transmits it over the Physical Random Access Channel (PRACH).

Key aspects of Msg1:

  • Contention Risk: Because multiple UEs might select the same preamble at the exact same time, there is a risk of a "collision" or contention.
  • Timing Advance: At this stage, the UE is not synchronized in the uplink. The primary purpose of Msg1 is to let the network estimate the transmission delay to the UE, so it can issue a Timing Advance (TA) command.
  • Power Ramping: If the UE does not receive a response, it will retransmit the preamble with increased power, a mechanism known as Power Ramping.

Step 2: Msg2 - Random Access Response (RAR)

Upon receiving Msg1, the eNodeB calculates the necessary timing correction and responds with the Random Access Response (RAR), also known as Msg2.

Key aspects of Msg2:

  • Sent on PDSCH: The RAR is transmitted on the Physical Downlink Shared Channel (PDSCH). It is addressed to the RA-RNTI (Random Access Radio Network Temporary Identifier) on the PDCCH.
  • Timing Advance Command: The most critical piece of information in the RAR is the Timing Advance Command, which tells the UE exactly how much to adjust its uplink timing to ensure its transmissions arrive precisely aligned with the network's time slots.
  • Temporary C-RNTI: The network assigns a Temporary Cell RNTI (TC-RNTI) to the UE.
  • Uplink Grant: The RAR also contains an initial uplink resource grant, allowing the UE to send its first actual message (Msg3).

Step 3: Msg3 - RRC Connection Request

Using the resources granted in Msg2 and applying the Timing Advance, the UE transmits Msg3 on the Physical Uplink Shared Channel (PUSCH).

Key aspects of Msg3:

  • Content: The exact content of Msg3 depends on the trigger for the RACH procedure. For initial access, it carries the RRCConnectionRequest message.
  • UE Identity: Msg3 includes a unique UE identifier (such as the S-TMSI or a random value generated by the UE). This identifier is crucial for resolving contentions.
  • HARQ Processing: Msg3 is protected by Hybrid Automatic Repeat Request (HARQ). If the eNodeB fails to decode it, it will ask for a retransmission.

Step 4: Msg4 - Contention Resolution

Because multiple UEs could have theoretically sent the same preamble (Msg1) and decoded the same RAR (Msg2), they might all transmit Msg3 using the same resources, causing a collision. Msg4 resolves this.

Key aspects of Msg4:

  • Echoing the UE Identity: The eNodeB responds on the PDSCH by echoing back the unique UE identity it successfully decoded from Msg3.
  • Resolution: A UE compares the identity in Msg4 with the one it sent in Msg3.
    • If they match, the contention is resolved successfully, and the Temporary C-RNTI becomes the permanent C-RNTI.
    • If they do not match, the UE assumes its RACH procedure failed, backs off, and starts the process over from Msg1.

Why is Timing Advance Crucial?

The Timing Advance command sent in Msg2 is one of the most critical elements of the RACH procedure. In an LTE system, multiple UEs share the same frequency channel through Time Division Multiplexing (Orthogonal Frequency Division Multiple Access - OFDMA).

If a UE is far away from the tower, its signal will take longer to arrive. Without Timing Advance, this delayed signal would bleed into the time slot of a different UE, causing severe interference. The RACH procedure ensures every UE receives its precise Timing Advance correction before sending standard data traffic.

Summary

The LTE Random Access Procedure is a 4-step handshake designed to provide uplink synchronization and resolve contentions:

  1. Msg1: UE sends Preamble.
  2. Msg2: Network sends Timing Advance and Uplink Grant.
  3. Msg3: UE sends RRC Request and unique ID.
  4. Msg4: Network confirms ID, resolving contention.

W
Written by

WirelessBrew Team

Technical expert at WirelessBrew, specializing in 5G NR, LTE, and wireless system optimization. Committed to providing accurate, 3GPP-compliant engineering tools.

Up Next

More lte Articles →

Related Technical Articles & Tools

postlte

Introduction to LTE Advanced

post5g nr

5G NR RACH Trigger Reasons with Details

post5g nr

MUSIM Gaps in 5G NR

post5g nr

Contention Resolution Identity (MSG4) in 5G NR RACH

post5g nr

Measurement Report Event B1 in 5G NR