A door-lock for household appliances, comprising: - a casing having an opening being configured for the insertion of a hook carried by a door of a household appliance, a cam support carrying a cam rotatable between a retaining position and a release position, the casing being configured to accommodate the cam support, - an electro-magnetic device comprising a housing and a locking pin for locking a locking slider in the locking position, said housing comprising: - the locking slider cooperating with said cam and movable between an unlocking position and a locking position, wherein in the locking position the locking slider locks the cam in the retaining position, - a door sensing slider movable between an open door position and a closed door position, said door sensing slider having an integral arm, said arm being configured to cooperate with a retaining surface of the locking slider; and - a hook sensing slider movable between an extracted position and a retracted position, wherein the hook sensing slider has a projection that prevents the movement of the door sensing slider from the open door position towards the closed door position when the hook sensing slider is in the extracted position, and wherein, when the hook sensing slider is in the retracted position, the door sensing slider is free to move to the closed position when the arm of the door sensing slider is disengaged from the retaining surface; characterised in that the hook sensing slider has a safety portion that, in an abnormal condition in which the integrity of the cam support is compromised, comes into contact with a side of said housing and prevents movement of the hook sensing slider from the extracted position towards the retracted position. - a casing having an opening being configured for the insertion of a hook carried by a door of a household appliance, a cam support carrying a cam rotatable between a retaining position and a release position, the casing being configured to accommodate the cam support, - an electro-magnetic device comprising a housing and a locking pin for locking a locking slider in the locking position, said housing comprising: - the locking slider cooperating with said cam and movable between an unlocking position and a locking position, wherein in the locking position the locking slider locks the cam in the retaining position, - a door sensing slider movable between an open door position and a closed door position, said door sensing slider having an integral arm, said arm being configured to cooperate with a retaining surface of the locking slider; and - a hook sensing slider movable between an extracted position and a retracted position, wherein the hook sensing slider has a projection that prevents the movement of the door sensing slider from the open door position towards the closed door position when the hook sensing slider is in the extracted position, and wherein, when the hook sensing slider is in the retracted position, the door sensing slider is free to move to the closed position when the arm of the door sensing slider is disengaged from the retaining surface; - the locking slider cooperating with said cam and movable between an unlocking position and a locking position, wherein in the locking position the locking slider locks the cam in the retaining position, - a door sensing slider movable between an open door position and a closed door position, said door sensing slider having an integral arm, said arm being configured to cooperate with a retaining surface of the locking slider; and - a door sensing slider movable between an open door position and a closed door position, said door sensing slider having an integral arm, said arm being configured to cooperate with a retaining surface of the locking slider; and - a hook sensing slider movable between an extracted position and a retracted position, wherein the hook sensing slider has a projection that prevents the movement of the door sensing slider from the open door position towards the closed door position when the hook sensing slider is in the extracted position, and wherein, when the hook sensing slider is in the retracted position, the door sensing slider is free to move to the closed position when the arm of the door sensing slider is disengaged from the retaining surface; wherein the hook sensing slider has a projection that prevents the movement of the door sensing slider from the open door position towards the closed door position when the hook sensing slider is in the extracted position, and wherein, when the hook sensing slider is in the retracted position, the door sensing slider is free to move to the closed position when the arm of the door sensing slider is disengaged from the retaining surface;