Open your dishwasher. Remove all dishes and utensils, and any leftover dishwasher soap in the soap dispenser. Remove food particles or any other debris -- especially in the utensil holder and dishwasher rack -- with a toothbrush dipped in baking soda paste.
Place 1/2 cup of liquid bleach on the bottom shelf of the dishwasher in a bowl or cup. Run a regular wash cycle. Allow the dishwasher to complete the entire cycle, including the drying mode.
Remove the cup or bowl from the dishwasher. Wipe down the inside of the dishwasher with a dry towel to ensure that no bleach remains.
Place a cup or bowl containing 2 cups of white vinegar on the bottom rack of the dishwasher, and run a low-wash cycle. Stop the dishwasher halfway through the cycle, and allow the vinegar to sit in the dishwasher for 20 minutes before completing the cycle.