A door locking device (1;1b;1c) for a door of a household appliance, in particular a dishwasher, comprising a support body configured so as to be attached to a structural element of the household appliance, and a mobile latch mounted on the support body and configured to act in use together with a receiving recess or seat located perimetrally on said door; characterized in that the mobile latch comprises: i)- a blocking tooth supported by the support body and secured to the support body in such a way that it can translate and rotate relative to the latter along a predetermined path, the blocking tooth comprising a first end in the shape of a hook and configured to couple with the receiving recess of the door to secure the door to said structural element of the household appliance; ii)- a shaft mounted axially slidable on the support body and secured by means of an articulated device to a second end of the blocking tooth, opposite the first; iii)- first compression elastic means operatively associated with the shaft and configured so as to push the shaft towards the blocking tooth relative to the supporting body, the said first compression elastic means being packing inserted between a shoulder surface of the support body and an axial stop shoulder provided integral with the shaft, on the side of the blocking tooth; and iv)- a control device comprising a mobile element (19; 49; 70) supported by the support body and configured to act in use together with said door to selectively adopt a first and a second working position, with the door open and the door closed respectively; said mobile element being operatively associated with said blocking tooth to compel the latter to selectively adopt a first and a second operating position, corresponding to the said first and second working positions of the mobile element, in which the first end of the blocking tooth is respectively unable and able to act together with the receiving seat. i)- a blocking tooth supported by the support body and secured to the support body in such a way that it can translate and rotate relative to the latter along a predetermined path, the blocking tooth comprising a first end in the shape of a hook and configured to couple with the receiving recess of the door to secure the door to said structural element of the household appliance; ii)- a shaft mounted axially slidable on the support body and secured by means of an articulated device to a second end of the blocking tooth, opposite the first; iii)- first compression elastic means operatively associated with the shaft and configured so as to push the shaft towards the blocking tooth relative to the supporting body, the said first compression elastic means being packing inserted between a shoulder surface of the support body and an axial stop shoulder provided integral with the shaft, on the side of the blocking tooth; and iv)- a control device comprising a mobile element (19; 49; 70) supported by the support body and configured to act in use together with said door to selectively adopt a first and a second working position, with the door open and the door closed respectively; said mobile element being operatively associated with said blocking tooth to compel the latter to selectively adopt a first and a second operating position, corresponding to the said first and second working positions of the mobile element, in which the first end of the blocking tooth is respectively unable and able to act together with the receiving seat.