A small infestation of gnats can be extremely agitating when working in your garden. Gnats are a type of tiny fly that feeds on living and decaying plants. They also develop and multiply well in areas with wet soil and poor drainage. You can eliminate gnats in several ways, including homemade, natural, organic and chemical repellents. Try to get rid of your gnat problem by using these homemade remedies first, and then try other repellents if the problem persists.
Monitor how much you are watering your plants. The direct cause of your gnat problem could be soil not having a way to drain. Make sure your soil is dry before watering your garden.
Remove organic material where the gnats are feeding. If you are creating compost or using it on your garden, make sure that it is not too wet and that it is decomposing.
Try using lighting outdoors that will repel gnats. For example, sodium lights provide an orange glow that keeps gnats away. You should be able to find such outdoor lighting at your local home and garden store.
Pour 1/2 cup vinegar and 1/2 cup dish soap into a small bowl and stir well. Pour the mixture into a spray bottle, and spray around the area of gnat infestation.
Purchase a chemical repellent if the problem continues. The most powerful solutions you can use to make sure you get rid of all gnats contain DEET and Permethrin. Use these carefully and as directed.