Since the dishwasher is always closed and water is always present, a musty odor can often develop in your dishwasher, making using the unit a potential problem. Add to that the dirty dishes that you may place in the dishwasher and allow to sit for several days at a time before running the dishwasher, and the appliance can quickly develop an unbearable odor that needs removal.
Pour 2 cups of white vinegar into a bowl.
Sit the bowl on the top shelf of your dishwasher. Close the unit and allow the vinegar to absorb odor for 1 hour.
Turn on the dishwasher and run a normal wash cycle with the bowl of vinegar still sitting in the dishwasher. The vinegar will be emitted from the bowl and sanitize the entire dishwasher.
Open the dishwasher after the wash cycle completes and repeat if any odor remains.