If you’ve noticed that you suddenly have a swarm of tiny flying insects buzzing around your indoor plants and trash cans, it’s safe to say you probably have a gnat problem. Fungus gnats and fruit flies can be a bit of a nuisance, and if not dealt with immediately with a homemade gnat spray, your small problem can quickly turn into a gnat infestation.
These tiny insects are often found, in mass, around houseplants, because the gnat larvae feed on the organic matter until they metamorphosis into adult gnats.
You can significantly reduce their presence in your house by eliminating the conditions that gnats find attractive, as well as using home remedies to kill gnats.
- Can I Kill Gnats with Dish Soap?
- How Can I Get Rid of Gnats with Vinegar?
- What Can I Spray to Keep Flies Away?
- Recipe for Homemade Gnat Spray
Can I Kill Gnats with Dish Soap?
You can quickly get rid of gnats with a soap spray, by far the best DIY insect killer spray you can find. You can treat the leaves of your plants that are infested with gnats by making homemade insecticidal soap and DIY fungus gnat spray.

Finally, an email that Transforms Your Home.
Get the latest home and garden tips from our experts, delivered straight to your inbox.
tb1234
DIY Insecticidal Gnat Spray
- 2 tablespoons liquid Castile soap
- 2 tablespoons vegetable oil
- 1 teaspoon cayenne pepper
- 1 gallon of water
tb1234
Before your gnat problem will turn into a gnat infestation, add the ingredients to a one-gallon container. Replace the top and shake the bottle to mix. Transfer some of the bug spray into a spray bottle.
Spray the tops and bottoms of the leaves to kill and prevent additional gnats. It may be necessary to repeat the process daily for several weeks to completely rid your house of gnats, but it is an effective gnat control solution.
Use this DIY mosquito spray for your yard, too. It eliminates gnats, mosquitoes, and other unwanted flying insects. It’s also a great fruit fly killer spray. Keep a bottle handy for flying bugs you find in the house.
How Can I Get Rid of Gnats with Vinegar?
One of the best ways to get rid of house flies with vinegar is to create a gnat trap using apple cider vinegar or red wine. Black flies, or gnats, are attracted to the sweet smell of the vinegar.
To trap gnats, pour an inch of apple cider or white vinegar into a small container, like a Mason jar. Add a few drops of dish soap to the liquid. Cover the opening of the jar with plastic wrap and secure it with a rubber band.
Use a toothpick to pierce small holes through the Saran wrap, giving the gnats a way to get to the vinegar trap. When the gnats fly into the container, their wings and legs will become covered with dish soap, leaving them unable to fly back out.
What Can I Spray to Keep Flies Away?
To answer the question “What can I spray to keep flies away,” we need to turn to essential oils. Essential oils have long been used to repel insects, including drain flies and gnats. There are several essential oils that you can use in your gnat repellent.
Some of the best gnat repellent on the market contain essential oils. The best essential oils to use to repel gnats are peppermint, eucalyptus, rosemary, cedarwood, tea tree, geranium, patchouli, and neem.
Dealing with gnats in and around your home can be incredibly frustrating because of how quickly they reproduce. With these simple gnat repellent solutions you can get your gnat infestation under control and finally rid your home of these pesky flying insects.
Recipe for Homemade Gnat Spray
Materials
- 1/2 gallon tap water
- 1/2 tsp cayenne pepper powder
- 1 tbsp canola or other oil
- 1 tbsp liquid natural soap
Tools
- 1/2 gallon container with a lid
- 16-ounce sprayer
- Teaspoon
- Tablespoon
Instructions
- Mix the liquids in the container.
- Replace the lid and shake to combine.
- Pour some of the gnat repellent into the sprayer.
- Spritz flying bugs.
- Add more liquid to the sprayer as needed.
Notes
Castile is a trusted natural soap.
We hope you enjoyed learning about how to make a homemade gnat spray to take care of the gnat problem in your home. If you found the information useful in this article, please don’t hesitate to share it with your friends and family.
FAQs
Homemade gnat repellent spray: A mixture of dish soap, water, baking soda, and vinegar can be filled into a spray bottle. The mixture should contain a few drops of dish soap, a tablespoon of vinegar, and baking soda per cup of water. A few sprays of this mixture is an effective gnat repellent.
What is the fastest home remedy to get rid of gnats? ›
Use a small saucer to mix a few tablespoons of apple cider vinegar, a few drops of dishwashing soap and a little sugar. Put the saucer near the gnats. Use more than one saucer, if needed. The gnats will be drawn to the sweet solution, fall in and get trapped.
What is the best homemade gnat repellent? ›
Fill a glass or a bowl with 1 tablespoon of sugar, 2 tablespoons of apple cider vinegar, a half cup of warm water, and about 5 drops of liquid dish soap and stir well. Gnats will be attracted to the sweet sugar and pungent vinegar, but the sticky dish soap will disable them from escaping.
How do you make homemade gnat killer? ›
Combine equal parts vinegar and soap and then add a few tablespoons of sugar – once you mix it all together you can place the bowl wherever the gnats have been gathering. They will be attracted to the sugar and vinegar and drown in the mixture.
What smell do gnats hate the most? ›
Or, you can switch up your favorite scent with something they don't like. Try Lighting citronella candles using lemon or vanilla sprays. While gnats are a fan of sweet-smelling fruit, they can't seem to stand vanilla, lemon, or even lavender. A little spritz can at least keep them at bay.
What spray kills gnats immediately? ›
Homemade gnat killer spray: A mixture of half a cup of water, half a cup of isopropyl alcohol, and a teaspoon of dish liquid can be filled in a spray bottle. This mixture can be sprayed on the gnats directly to kill them.
How do I get rid of gnats in 5 minutes? ›
Apple cider vinegar and a couple drops of dish soap, A little bit of red wine and some dish soap.
How do you stop gnats from flying around you? ›
Use an insect repellant on the clothing you wear and on your skin and in your hair. Many lotions contain insect repellant that will keep gnats away. Use a nontoxic spray in and under your hair and around your neck. Use insect repellants only as directed for safety.
What is the best homemade bug spray for humans? ›
For a "foolproof recipe" that banishes mosquitoes, combine 1/3 cup witch hazel and 1/3 cup water with 40 drops of eucalyptus essential oil. "Mosquitoes detest the strong aroma of eucalyptus, so this easy homemade mosquito repellent is sure to be a winner," says Harlow-Ellis.
Why am I getting so many gnats in my house? ›
Inside the home, gnats can be attracted to unsealed produce, fresh flowers, houseplants, food spillage and open or overflowing garbage cans. Gnats may also live in sink drains where food residue can collect.
A peroxide solution apparently kills larvae and eggs on contact, effectively killing off all infant gnats and disrupting the lifecycle. You should be able to buy hydrogen peroxide from any high street pharmacy or online. Mix 1 part 9% hydrogen peroxide with 6 parts water.
How do you make homemade flea and gnat killer? ›
How to Make a Corn Syrup Flea Trap
- Choose the Right Spot for the Trap. Determine where the fleas are most active. ...
- Mix Water and Corn Syrup. Bring equal parts corn syrup and water to a boil in a pot over high heat. ...
- Put the Mixture Into a Bowl. ...
- Trap the Fleas in the Mixture.
What is a homemade fruit fly and gnat spray? ›
Combining two tablespoons of dish soap, four tablespoons of apple cider vinegar and six tablespoons of water involves nothing more than a quick stir.
What kills gnats overnight? ›
Vinegar Traps
One method includes setting a bowl near the infestation and pouring apple cider vinegar, a teaspoon of sugar and a teaspoon of dish soap into the bowl. The sugar will attract the gnats, the dish soap will prevent them from escaping and the vinegar will kill them.
Do dryer sheets repel gnats? ›
Dryer sheets can also be used to protect houseplants from annoying pests. Since they have been proven to repel fungus gnats, placing several dryer sheets near your houseplants could protect them from these root-eating pests.
How to stop gnats from biting you? ›
The best way to avoid getting bitten by gnats is to wear an insect repellent. Ask your mom or dad to apply one that contains 10% to 30% DEET. When it's possible, wear long-sleeved shirts and long pants if you'll be hiking or playing near rivers and streams.
What draws out gnats? ›
Body heat and moisture also play a role. Many species of gnats and flies are attracted by body heat. Others are in search of moisture. Not only are they drawn to perspiration, but also the mucous around your eyes and nose that can be a source of moisture.
How to stop gnats from flying around you? ›
Use an insect repellant on the clothing you wear and on your skin and in your hair. Many lotions contain insect repellant that will keep gnats away. Use a nontoxic spray in and under your hair and around your neck. Use insect repellants only as directed for safety.
What does baking soda do to gnats? ›
Baking soda and vinegar work together as an effective natural remedy to get rid of gnats because the combination produces carbon dioxide, which suffocates the gnats.