X-ray diffraction was used to study the structure of the quenching martensite of carbon (40, U7, U8, U12) and alloyed (ShKh15, KhVG) steels. The inhomogeneity of the quenching martensite and its variation during low-temperature treatment is examined. The carbon concentration in initial and tempered martensites is estimated.