A closing and opening device for doors and/or panels and/or similar components, in particular of electrical household appliances such as washing machines, dishwashers and similar electrical household appliances, said device comprising a closing and opening assembly 20 adapted to be alternatively engaged and disengaged from a striker element 11 adapted to be rigidly fixed to a said panel, wherein said closing and opening assembly 20 comprises a first closing and opening element 5 which can be switched between a first position and a second position, said closing and opening elements 5 and striker 11 being shaped so that the reciprocal pushing action of said striker element 11 against said closing and opening assembly 20, between a first engagement and switching surface 51 and a second engagement and switching surface 111 of said closing and opening element 5 and said striker element 11, respectively, results in a first switching of said closing and opening element 5 from said first position to said second posit