Today, there are many diagnostic methods and advanced measurement techniques enabling the correct diagnosis and assessment of the type and degree of wear of cogwheels (gears, pumps, etc.). The present study presents an analysis of the surface defects of a cogwheel of an oil pump prototype (3PW-BPF-24). The test object operated for a certain number of hours under controlled operating and environmental parameters. The damage to the surface layer was caused by fatigue phenomena and previous thermo-chemical treatment. On the basis of the significant percentage share (~30%) of residual austenite in the volume of the diffusion layer, a hypothetical conclusion was drawn about the suboptimal parameters of the thermo-chemical treatment process (in relation to the chemical composition of the analyzed pinion). A large number of research studies indicate that the significant presence of residual austenite causes a decrease in tooth surface hardness, the initiation of brittle cracks, a sharp decrease in fatigue strength, an increase in brittleness and a tendency to develop surface layer cracks during operation. High-resolution 3D scans of randomly selected pitting defects were used in the detailed study of the present work. It was indicated that the analysis of the morphology of surface defects allowed some degree of verification of the quality of the heat/chemical treatment. The martensitic transformation of residual austenite under controlled (optimum) repeated heat treatment conditions could significantly improve the durability of the pinion (cogwheel). In the case analyzed, the preferred treatment was the low-temperature treatment. The paper concludes with detailed conclusions based on the microscopic and macroscopic investigations carried out.