has a laundry inlet opening through which laundry is placed into the drum type washing machine a control panel 10 is installed on one side of an upper portion of the front panel 8 and displays various information regarding the operating state of the drum type washing machine a detergent container 12 is installed on the other side of the upper portion of the front panel 8 and contains detergent a door 14 is installed on the front panel 8 by a hinge so as to open or close the laundry inlet outlet hole a door switch 20 is provided on the front panel 8 and determines whether the door 14 is open or closed fig2 illustrates a cross sectional view of the door switch 20 shown in fig1 and fig3 illustrates a lateral view of the door switch 20 shown in fig2 referring to fig2 and 3 the door switch 20 includes a switch contact unit 22 which may or may not be placed in contact with the door 14 according to whether the door 14 is open or closed a switch housing unit 24 which is connected to the switch contact unit 22 and a water infiltration prevention unit which prevents the infiltration of water into the switch housing unit 24 by isolating the switch housing unit 24 from the front panel 8 so that the switch.