This paper provides an experimental investigation on the internal shear layers and the edges of the uniform momentum zones (UMZs) in a turbulent pipe flow. The time-resolved stereoscopic particle image velocimetry data are acquired in the cross-section of the pipe, and span the range of Reynolds number Reτ=340--1259. In the first part of the study, internal shear layers are detected using a three-dimensional detection method, and both their geometry as well as their fingerprint in the flow statistics are examined. Three-dimensional conditional mean flow analysis revealed a strong low-speed region beneath the average shear layers. This low-speed region is associated with positive wall-normal fluctuations, and it is accompanied by two swirling motions having opposite signs on either side in the azimuthal direction. Moreover, the shear layers are stretched by the two opposite azimuthal motions. In the second part of the study, the shear layers are treated as the continuous edges of the UMZs, which are detected using the histogram method following Adrian et al. (J. Fluid Mech., vol. 422, 2000, pp. 1–54) and de Silva et al. (J. Fluid Mech., vol. 786, 2016, pp. 309–331). For this part, two different orientation of the planes are used, i.e. the wall-normal–streamwise plane and the wall-normal–spanwise plane (cross-section of the pipe). Comparison of the detected structures shows that the shear layers mostly overlap with a UMZ edge (in either plane).