Skip to content
5G/6G AcademyEst. 2009
All Articles
5G Fundamentals 7 min readNov 27, 2026

SSB in 5G NR: The SS/PBCH Block, PCI and Beam Sweeping

By Gaganpreet Walia

CEO, TELCOMA Global · 21+ years in telecom

The SSB (SS/PBCH block) is the first thing a 5G device looks for: a block of 4 OFDM symbols by 240 subcarriers that holds the primary and secondary synchronization signals (PSS and SSS) and the broadcast channel (PBCH) with its DMRS. From one SSB a device gets slot and frame timing, the cell's physical cell ID, and the MIB that tells it where to find SIB1. A cell sends a burst of SSBs, usually one per beam, so the SSB index also tells the network which beam a device sees best.

NR has no always-on reference signal like LTE's CRS, so the SSB picks up much of that work: it's what devices measure in idle mode and for most handovers, on top of cell search and the coarse beam picture. The structure is defined in TS 38.211 and the timing rules in TS 38.213.

What's inside the block

SymbolContentSubcarriers (of 0–239)
0PSS56–182 (127 subcarriers)
1PBCH and its DMRS0–239
2SSS in the middle, PBCH on both sidesSSS 56–182; PBCH 0–47 and 192–239
3PBCH and its DMRS0–239

The SSB is always 20 resource blocks wide, so its bandwidth depends on its subcarrier spacing: 3.6 MHz at 15 kHz, 7.2 MHz at 30 kHz (FR1), 28.8 MHz at 120 kHz and 57.6 MHz at 240 kHz (FR2).

The PBCH DMRS sits on every fourth subcarrier, with a frequency shift of PCI mod 4. That leaves 432 resource elements for PBCH data, which carry 864 coded bits at QPSK.

The first module of every 5G & 6G course, free.

A free account opens the first module of all 14 certification courses — its video lessons and a hands-on lab — no card. Lifetime Prime Membership opens the rest of every course, the certification exams and a verifiable certificate, for one payment.

  • The first module of every course
  • Video lessons and a lab
  • No card needed
  • TELCOMA since 2009

How the SSB gives the PCI

The PSS is one of 3 sequences, giving N_ID(2) = 0, 1 or 2. The SSS is one of 336, giving N_ID(1) = 0 to 335. The device detects both and combines them:

PCI = 3 × N_ID(1) + N_ID(2)

That's 336 × 3 = 1008 PCIs, numbered 0 to 1007 (LTE had 504). For example, PCI 500 is N_ID(1) = 166 and N_ID(2) = 2, because 3 × 166 + 2 = 500.

The structure explains the planning rules. Cells with the same PCI mod 3 share a PSS, which makes initial detection harder where they overlap. PCI mod 4 sets the PBCH DMRS shift, so neighbors with the same mod-4 value put their PBCH DMRS on the same subcarriers. In LTE, PCI mod 3 also decided where the CRS went, which is why LTE planners fought mod-3 clashes so hard; NR has no CRS, so collision (two neighbors with the same PCI) and confusion (one cell with two neighbors sharing a PCI) are what really break mobility.

Decoding PBCH: the MIB and the timing

PSS and SSS give the device symbol timing and the PCI. The PBCH DMRS then gives it the low bits of the SSB index (2 bits plus the half-frame bit when Lmax is 4, 3 bits otherwise), and the PBCH payload gives it the rest.

That payload is the MIB plus a few bits the physical layer adds. The MIB fields are the system frame number, subCarrierSpacingCommon, ssb-SubcarrierOffset (k_SSB), dmrs-TypeA-Position, pdcch-ConfigSIB1, cellBarred and intraFreqReselection. The physical layer adds the 4 lowest SFN bits, a half-frame bit and, in FR2, the top 3 bits of the SSB index. Once the device knows its SSB index, it knows exactly where in the frame that SSB sits, and so has full frame timing.

The MIB is sent every 80 ms, repeated in every SSB burst inside that window. Its pdcch-ConfigSIB1 field points to CORESET#0 and the search space where the DCI for SIB1 is found, covered in CORESET and search spaces.

An SSB that points to SIB1 is a cell-defining SSB. An SSB that doesn't is still useful for measurement and sync but can't be camped on. NSA-only cells still transmit SSBs, because EN-DC devices need them to measure and synchronize, but they usually broadcast no SIB1 or are barred, so standalone devices won't camp there.

The SSB burst and beam sweeping

All the SSBs of one burst are sent inside a single 5 ms half-frame. The maximum number in a burst, Lmax, depends on the band:

RangeLmaxNotes
FR1, up to 3 GHz4For 30 kHz SSBs on TDD (case C), the cut-off is 1.88 GHz instead
FR1, above 3 GHz8For example n78 at 3.5 GHz
FR264120 kHz or 240 kHz SSBs

Each SSB in the burst can go out on a different beam, so a gNB with Lmax = 8 can sweep 8 beams across its sector. On n78 with 30 kHz SSBs (case C), each slot can carry two SSBs, starting at symbols 2 and 8, so a full burst of 8 fills the first 4 slots: 2 ms of the half-frame.

The operator chooses which of the Lmax positions are actually used. ssb-PositionsInBurst is a bitmap: 4 bits when Lmax is 4, 8 bits when it's 8, and 64 bits in FR2 (SIB1 compresses this into two 8-bit fields). Fewer SSBs means less overhead but wider beams and less gain at the edge. How the beams are shaped is the subject of 5G beamforming.

Periodicity. The burst repeats every 5, 10, 20, 40, 80 or 160 ms (ssb-periodicityServingCell). A device doing initial cell search assumes 20 ms. Longer periods cut overhead and energy use but make the cell slower to find and to measure.

SSB index to beam: how the network learns the best beam

Before connection. The device picks the strongest SSB above rsrp-ThresholdSSB and sends its random access preamble in a RACH occasion mapped to that SSB. The gNB knows the mapping, so the occasion the preamble arrives in tells it the device's best beam before any message is decoded. In connected mode. The device can report L1-RSRP per SSB index (report quantity ssb-Index-RSRP), up to 4 beams per report. The gNB uses this for coarse beam management, then refines with CSI-RS beams. TCI states can name an SSB as the quasi-co-location source, which is how the device knows which receive beam to use for a PDCCH or PDSCH. For mobility. SS-RSRP, SS-RSRQ and SS-SINR are measured on the SSS (TS 38.215), and measurement reports can carry per-beam results with SSB indexes. Most NR handover measurements are SSB-based, as the 5G handover procedure shows.

SMTC: telling the device when to look

A device measuring neighbor cells doesn't search all the time. The network gives it an SMTC (SSB-based measurement timing configuration): a periodicity of 5 to 160 ms, an offset, and a window of 1 to 5 ms. The device only looks for SSBs inside that window.

SMTC comes in the measurement object in connected mode, and in SIB2 (same frequency) and SIB4 (other frequencies) in idle mode. A second configuration, smtc2, covers listed cells that use a shorter SSB period. In EN-DC the LTE eNB sets the SMTC for the NR measurement.

When the SMTC doesn't match where the neighbor's SSBs actually are, because the networks aren't time-aligned or the SSB periodicity was changed on one side only, the device simply never sees them. The cell exists, the radio is fine, and the neighbor never gets reported.

Where you'll meet this

Scanners and drive tests. Results come per PCI and per SSB index: SS-RSRP, SS-SINR and the best beam at each point. A spot with good RSRP on several SSB indexes of different cells but poor SINR is a beam-overlap problem, not a coverage one. "No service" on SA. Check that the SSB is on the sync raster (a valid GSCN, which the NR-ARFCN calculator can check), that the MIB points to a SIB1, and that cellBarred isn't set. Missing neighbors. No measurement report for a cell you can see on a scanner usually means the SMTC, the SSB frequency in the measurement object, or SSB timing differs from what the device was told. Interviews. "How many PCIs does NR have?" 1008. "How big is an SSB?" 4 symbols by 240 subcarriers. "What's Lmax at 3.5 GHz?" 8. "How does the gNB know a device's best beam before Msg3?" From the RACH occasion it used.

Go Deeper

Watch the video certification courses and work the labs that go with them.

Not sure where to start? See the RAN Engineer route

Get the next 5G deep-dive in your inbox

One worked failure every other Tuesday, with the trace or lab to try it on. No spam, no marketing — just engineering. Unsubscribe in one click.

SSBSS/PBCH blockPSSSSSPBCHPCIbeam sweepingSMTC