Remove all the dishes from inside the dishwasher.
Pour 1 gallon of white distilled vinegar into the bottom of the dishwasher. Allow the vinegar to sit in the dishwasher for two to three hours to remove any odors.
Open the dishwasher door. Add 1/2 cup of citric acid powder to the soap dispenser reservoir.
Run the dishwasher through one complete cycle using the hottest water possible.
Soak paper towels with vinegar if mineral deposits remain. Place the paper towels over the hard water deposits and allow them to sit for one hour. Rinse the inside of the dishwasher with clean water.
Pour lemon juice into a spray bottle if lime buildup remains. Spray the lemon juice directly onto the buildup and allow it to sit for one hour. Wipe the inside of the dishwasher with a damp washcloth to rinse away the lemon juice.