Remove silverware holders from your detached dishwasher and pick out any food particles stuck in them. Clean out any other stuck-on food inside the dishwasher or in the dishwasher's food filter.
Fill a bowl with hot water and 1 tsp. of dish soap. Dip the toothbrush into the soapy water and scrub any crevices in the dishwasher. Dip the cloth into the soapy water and wipe down the inside and outside of the unit. Rinse off the cloth and wipe down the outside to remove any soap.
Fill the bottom of the dishwasher with 2 cups of white vinegar. Attach your dishwasher to the kitchen sink and turn on hot water. Turn on the dishwasher to the hottest cycle and run it. Stop the cycle in the middle and let the dishwasher sit for 20 minutes. Allow the dishwasher to finish the cycle.
Wipe out the inside of the dishwasher with the cloth.