The present invention relates to a cooker (1) comprising a casing (18) for the control unit (4) situated between a plate (2) and a top plate (5) that is assembled such that the plate (2) is covered, isolating the control unit (4) against heat and humidity.