A connecting device (1) for two components (4, 5) of a patient support surface is provided, said connecting device having a locking assembly (2) that is to be provided on a first component (4), and a coupling point (3) that is to be provided on a second component (5). The first and the second components (4, 5) can be connected to one another and locked in a locking position, the coupling point (3) having a locking receptacle (6) in the form of a recess. The locking assembly (2) has a support (7) that is mounted on the first component (4) and a locking element (8) that is pivotably mounted on the support (7) via a pivot bearing point (9). The locking element (8 portion (12) that is received in the locking receptacle (6) in the locking position, a bearing portion (10) on which the pivot bearing point (9) is provided, and a disengagement portion (13) that is on a different side from the locking portion (12) in relation to the bearing portion (10). The locking assembly (2) is configured such that the locking portion (12) situated in the locking receptacle (6) can be brought out of engagement with the locking receptacle (6) in an unlocking process and the disengagement portion (13) presses against an end face (14) of the coupling point (3) in the process.