A door-locking device for an electrical household appliance having a stationary structure to which a door is associated, the device comprising: - a supporting body, designed to be secured to one of said stationary structure and said door according to a respective resting plane; - a locking member, mounted on the supporting body via respective constraint means that define a first axis of rotation (X 1), the locking member being designed to co-operate with at least one retention element of the other one of said stationary structure and said door; - an actuation system (5, 6), comprising an electric actuator and a transmission arrangement on the supporting body for transferring to the locking member an actuation movement produced by the electric actuator, the actuation system (5, 6) being controllable for causing angular movements of the locking member about the first axis of rotation (X 1) between: - a first inoperative condition, in which the locking member is not engaged with the retention element, for enabling opening of the door by manually applying to the door a first opening force (F 1); and - an operative condition, in which the locking member is engaged with the retention element, for keeping the door in a closed position also against application of said first opening force (F 1), the door-locking device being characterized in that it further comprises an articulation arrangement, prearranged for enabling the supporting body, or a first body part (2 1) thereof associated to which are the constraint means of the locking member, to perform angular displacements relative to the stationary structure, respectively to the door, about at least one second axis of rotation (X 2) that is substantially parallel to said resting plane, so as to vary the distance between the first axis of rotation (X 1) and said resting plane. - a supporting body, designed to be secured to one of said stationary structure and said door according to a respective resting plane; - a locking member, mounted on the supporting body via respective constraint means that define a first axis of rotation (X 1), the locking member being designed to co-operate with at least one retention element of the other one of said stationary structure and said door; - an actuation system (5, 6), comprising an electric actuator and a transmission arrangement on the supporting body for transferring to the locking member an actuation movement produced by the electric actuator, the actuation system (5, 6) being controllable for causing angular movements of the locking member about the first axis of rotation (X 1) between: - a first inoperative condition, in which the locking member is not engaged with the retention element, for enabling opening of the door by manually applying to the door a first opening force (F 1); and - an operative condition, in which the locking member is engaged with the retention element, for keeping the door in a closed position also against application of said first opening force (F 1), the door-locking device being characterized in that it further comprises an articulation arrangement, prearranged for enabling the supporting body, or a first body part (2 1) thereof associated to which are the constraint means of the locking member, to perform angular displacements relative to the stationary structure, respectively to the door, about at least one second axis of rotation (X 2) that is substantially parallel to said resting plane, so as to vary the distance between the first axis of rotation (X 1) and said resting plane. - a first inoperative condition, in which the locking member is not engaged with the retention element, for enabling opening of the door by manually applying to the door a first opening force (F 1); and - an operative condition, in which the locking member is engaged with the retention element, for keeping the door in a closed position also against application of said first opening force (F 1), the door-locking device being characterized in that it further comprises an articulation arrangement, prearranged for enabling the supporting body, or a first body part (2 1) thereof associated to which are the constraint means of the locking member, to perform angular displacements relative to the stationary structure, respectively to the door, about at least one second axis of rotation (X 2) that is substantially parallel to said resting plane, so as to vary the distance between the first axis of rotation (X 1) and said resting plane.