How to Get Rid of Gnats - This Old House 3. Bleach Your Drains. If you notice gnats around your kitchen sink or bathtub, pour a cup of diluted bleach down the drain to kill the gnats. Be sure to pour the cup of bleach down each drain or garbage disposal very slowly until there are no more gnats in your line of sight. Get 10% off your order now!