A sliding device for a fifth wheel coupling, which includes two guide rails mounted on a vehicle in the longitudinal direction thereof and a slide which can be displaced on the guide rails. A locking device mounted on the slide can be brought into an open position and a locked position by an actuator. In order to improve handling of the sliding device, at least one locking sensor for detecting the locked position is provided. The locking sensor is connected to a display device and/or to the vehicle electronics.