A homemade dishwasher cleaner recipe consists of 2 cups baking soda, 2 cups of vinegar, 3 tablespoons of hydrogen peroxide and 1 tablespoon of dish detergent. Adding 10 to 20 drops of scented oil is an option for this recipe to add scent.
Mix the baking soda and hydrogen peroxide in a bowl until it has the consistency of damp sand. Use a large spoon to make scoops of the mixture that can be formed into balls. Place these balls into the dishwasher overnight. After this process, fill a glass with vinegar and dishwashing detergent, and place it on the top rack of the dishwasher along with another ball of the baking soda and hydrogen peroxide mixture on the bottom rack. Run the dishwasher on its hottest setting so that the mixture in the glass and baking soda and hydrogen peroxide ball can effectively clean it.