A device for detecting the position of movable operating table components that has a multilayer sensor film that is attached to a first operating table component; a slider that is mounted on a second operating table component which is movable relative to the first operating table component, the slider being equipped with a pressure piece that elastically compresses the multilayer sensor film; and -n electrical circuit, which generates a signal in accordance with the position of the pressure piece on the sensor film