Place a dishwasher-safe cup filled with plain white vinegar on the top rack of the dishwasher. Using the hottest water available, run the dishwasher through a cycle. The vinegar will help to wash away the loose, greasy grime, sanitizes, and helps remove the musty odor. Next, sprinkle a cupful of baking soda around the bottom of the tub and run it through a short cycle. The baking soda will help freshen and removing stains.
Lemonade Kool-Aid as Dishwasher Cleaner Clean lime deposits and iron stains inside the dishwasher by pouring a packet of lemonade Kool-Aid (the only flavor that works) into the detergent cup and running the (empty) dishwasher. The citric acid in the mix wipes out stains; you don't have to.