The authors of this paper have attempted to improve the quality of surface layers applied to steel elements of machine parts constituting friction couples. The main goal of the research was to investigate an electrospark alloying method process for obtaining abrasion-resistant tribological coatings containing molybdenum disulfide on a steel surface. A substance in the form of sulfur ointment with a sulfur content of 33.3% was applied on the surfaces of C22 and C40 steel specimens. In order to determine the influence of the energy parameters of ESA equipment on the quality parameters of coatings, the ESA process was carried out using a molybdenum electrode with discharge energies Wp = 0.13; Wp = 0.55; Wp = 3.4 J. The following tests were carried out on specimens with such coatings: metallographic analysis, microhardness tests, surface roughness, and local X-ray diffraction microanalysis. The experiments revealed that sulfomolybdenum coatings consist of four zones with different mechanical properties. Depending on the discharge energy and the substrate material, the hardness of these zones varies from approx. 1100 to over 10,000 MPa. Differences in the distribution of, among others, sulfur and molybdenum in the obtained coatings, as well as differences in the microstructure of the observed coatings, were observed.