Turn the washing machine to the hottest water temperature setting. Pour 2 cups of chlorine bleach into the washer drum as it begins to fill with water.
Close the lid, and allow the washing machine complete the full cycle. The bleach will kill mold, mildew and bacteria growing in the washing machine.
Turn the washing machine to a lukewarm water temperature, and then add 2 cups of white vinegar. The vinegar will remove odors trapped in the washer. Let the washing machine finish the complete cycle.
Leave the washing machine lid open when not using. This will help lower the humidity inside the washing machine while allowing the drum to dry.
Refrain from leaving damp clothing to sit inside the washing machine. Doing so will increase the risk of fungus growth in the washer and on the clothing.