Avoid using more than a few drops of dish soap, as excess soap can lead to streaks and residue.

To prevent residue that sometimes remains on glasses after being run through the dishwasher, add 1⁄4  c (59 ml) of white vinegar to the machine’s rinse cup. [4] X Research source

You can also dry using nail polish remover (acetone) to remove hard water streaks.

If the cloudy deposits don’t go away after you clean it, then your glass may be etched. If you have soft water, use less dishwasher detergent and don’t let the glasses dry under high heat. [9] X Research source