Disclosed is a method for the contactless measurement of an offset of the functional components of a travel path of a magnetic levitation railway driven by a linear motor with the help of at least one optical triangulation system (10) that can be moved along the travel path. Said method is characterized in that at least two triangulation sensors (12, 14) per measuring instrument for the functional components are moved along the travel path at a determined speed and alternately operate as a measurement sensor and as a reference sensor, i.e. using a radiation source in the ultraviolet, visible, or infrared spectral range, said triangulation sensors (12, 14) being fixedly mounted on a movable support (16) and being geometrically offset. In said method, the diffusely reflected light is absorbed at a specific angle of observation, and the position of the light incident on the measurement sensor is used for determining the offset, said process being carried out at a scanning rate that detects measurement points within a screen of < 1.5 mm.