An elevator safety system, comprising: an elevator car safety unit arranged on or at least in mechanical connection, preferably in fixed manner, with an elevator car; at least one distance measurement target; and a distance measurement device mounted on the elevator car for determining a distance between the at least one distance measurement target and the distance measurement device; wherein the elevator car safety unit is arranged in connection with the distance measurement device and configured to generate an output signal based on the determined distance, the at least one distance measurement target is comprised in at least one safety device which is a buffer or a movable stop, characterized in that the at least one safety device: - is arranged to change a position of the at least one distance measurement target between an active position and an inactive position, or - comprises an actuator and a support element for the at least one distance measurement target, wherein the actuator and the support element are configured to change the position of the at least one distance measurement target, or - is arranged at a turning station of an elevator shaft and the position of the at least one distance measurement target is adapted based on a position of the turning station and/or a status of a turning station locking device (46A, 46B). an elevator car safety unit arranged on or at least in mechanical connection, preferably in fixed manner, with an elevator car; at least one distance measurement target; and a distance measurement device mounted on the elevator car for determining a distance between the at least one distance measurement target and the distance measurement device; wherein the elevator car safety unit is arranged in connection with the distance measurement device and configured to generate an output signal based on the determined distance, the at least one distance measurement target is comprised in at least one safety device which is a buffer or a movable stop, characterized in that the at least one safety device: - is arranged to change a position of the at least one distance measurement target between an active position and an inactive position, or - comprises an actuator and a support element for the at least one distance measurement target, wherein the actuator and the support element are configured to change the position of the at least one distance measurement target, or - is arranged at a turning station of an elevator shaft and the position of the at least one distance measurement target is adapted based on a position of the turning station and/or a status of a turning station locking device (46A, 46B). - is arranged to change a position of the at least one distance measurement target between an active position and an inactive position, or - comprises an actuator and a support element for the at least one distance measurement target, wherein the actuator and the support element are configured to change the position of the at least one distance measurement target, or - is arranged at a turning station of an elevator shaft and the position of the at least one distance measurement target is adapted based on a position of the turning station and/or a status of a turning station locking device (46A, 46B).