The theoretical research on means to reduce the vertical vibrations and improve the ride comfort of the railway vehicle relies on a mechanical model obtained from the simplified representation of the vehicle, while considering the important factors and elements affecting the vibration behaviour of the carbody. One of these elements is the anti-yaw damper, mounted longitudinally, between the bogie and the vehicle carbody. The anti-yaw damper reduces the lateral vibrations and inhibits the yaw motion of the vehicle, a reason for which this element is not usually introduced in the vehicle model when studying the vertical vibrations. Nevertheless, due to the position of the clamping points of the anti-yaw damper onto the carbody and the bogie, the damping force is generated not only in the yawing direction but also in the vertical and longitudinal directions. These forces act upon the vehicle carbody, impacting its vertical vibration behaviour. The paper analyzes the effect of the anti-winding damper on the vertical vibrations of the railway vehicle carbody and the ride comfort, based on the results derived from the numerical simulations. They highlight the influence of the damping, stiffness and the damper mounting angle on the power spectral density of the carbody vertical acceleration and the ride comfort index.