Operate your washing machine on a high heat, such as 130 degrees Fahrenheit. Although it may be more environmentally friendly to wash your clothes at a lower temperature, the risk of your washer malfunctioning greatly increases.
Perform a maintenance wash once a month by placing your washer on the hottest setting available with only water and detergent -- no laundry.
Leave the soap dispenser and washer door open after each wash to allow the inside to dry out completely. This will prevent the moist, warm atmosphere that bacteria thrive in.
Wipe the soap dispenser with a kitchen towel, using a bleach or mildew remover.
Apply disinfectant to all tap and hose fittings and remove biofilm using a small brush.
Include a capful of distilled white vinegar in an empty wash on a hot cycle to remove mold and off-putting smells.