The integrity and durability of rails plays a key role in train safety. However, the interaction of the rail head surface with the wheels of the rolling stock leads to high damage to these areas. The surface of the rail head is subject to the greatest damage, in which fatigue cracks develop on the surface with subsequent development. Timely detection of fatigue cracks in the rolling surface is possible using the ultrasonic technique using surface waves. To do this, the work investigated the sensitivity of a surface ultrasonic wave to obstacles in the surface of rails in the form of extended grooves, notches of finite length and known depth, as well as real cracks. The studies were carried out using the pulse-echo method at frequencies of 1.25, 1.8, 2.5, 4 MHz. Research has shown that surface waves are sensitive to surface fatigue cracks. The amplitude of the reflected pulses depends on the wavelength and the depth of crack propagation. The influence of the distance to fatigue cracks and the orientation angle of the transducer relative to the rail axis on the sensitivity of the surface wave to these defects was also studied. The results obtained allow us to conclude that the use of surface ultrasonic waves makes it possible to detect fatigue cracks in the crack surface. Thus, the use of the pulse-echo technique and surface wave converters makes it possible to detect contact fatigue cracks in the rail head, which can be used to eliminate them in a timely manner. The determination of their depth by amplitude is influenced by many factors, which are difficult to take into account in real conditions.