Expert Tips On How To Get Rid Of Gnats And Fruit Flies | AccuWeather

Go Back
  • For Business
  • |
  • Warnings
  • Data Suite
  • Forensics
  • Advertising
  • Superior Accuracy™
District 1, Ho Chi Minh 27°C Location Chevron down Location News Videos Use Current Location Recent

District 1

Ho Chi Minh

27° No results found. Try searching for a city, zip code or point of interest. settings Help District 1, Ho Chi Minh Weather Today WinterCast Local {stormName} Tracker Hourly Daily Radar MinuteCast® Monthly Air Quality Health & Activities

Around the Globe

Hurricane Tracker

Severe Weather

Radar & Maps

News

News & Features

Astronomy

Business

Climate

Health

Recreation

Sports

Travel

For Business

Warnings

Data Suite

Forensics

Advertising

Superior Accuracy™

Video

AccuWeather Early Hurricane Center Top Stories Trending Today Astronomy Heat Climate Health Recreation In Memoriam Case Studies Blogs & Webinars

News / Health

Are annoying gnats, fruit flies plaguing your home? Banish them with these expert tips

By Ashley Williams, AccuWeather staff writer

Copied

You might suspect that the annoying, tiny black flies you find hanging around your home are gnats, but other types of flying insects are often mistaken for gnats.

“There are actually three different types of flying insects that [it could be]: the fruit fly, the fungus gnat and the drain fly,” said Dave Burns, president of Burns Pest Elimination.

Infographic - Different types of flies that might enter a home

Whichever type of flies they may be, it’s likely that you want these pests out of your home.

Before figuring out how to get rid of gnats specifically, it’s important to understand what attracts them in the first place.

Why gnats find you and your home irresistible

“Gnats thrive in moist environments, which is why you're used to seeing them in the spring and summer, especially after rainfall or if you live in a humid area,” said Sean Knox, owner of Knox Pest Control.

Gnats tend to lay their eggs in moist soil or on wet fungi or plants, and their life cycles rely on temperature, Knox added. The tiny flies typically prefer temperatures ranging from 75 to 80 degrees Fahrenheit, but they’re able to live in almost any temperature above freezing, according to Pestnet.

Outside of your home, you’ll likely find gnats collecting around moist soil near your vegetable garden, fruit trees or flowers. If you overwater your lawn or flowerbeds, you’re providing both moisture and a potential breeding ground for fungus or mold. These serve as primary food sources for certain flying insects including the fungus gnat, according to Terminix.

Fungus gnat - Getty Images

(Photo/Henrik_L/Getty Images)

“Letting standing water collect on your property can [also] provide breeding grounds,” Knox said.

Indoors, gnats will be drawn to moist soil in potted plants, poorly sealed food containers or trash cans, dirty dishes in the sink or fruits and vegetables, he added.

If you’re finding yourself often swatting those pesky flies away from your face, it’s likely because you’re unknowingly attracting gnats with your scent, which is how they find their targets.

“Strong perfumes, particularly sweet scents, can be a draw,” Knox said. “Things like floral-scented shampoos, hair sprays or soaps can leave behind [an attractive smell].”

Moisture in the form of sweat or mucus around your eyes or nose might also draw gnats to your face, he said.

Although gnats can bite, you typically won’t have to worry about catching any diseases from them, experts say. However, gnats can spread contamination to humans by carrying unwanted bacteria from waste or trash to human consumables and food sources, according to Burns.

“Female gnats bite because they need blood to produce eggs that will properly develop, and when they bite, they release an anticoagulant,” said Knox.

This is what makes the bite itch, and scratching the open wound makes you more vulnerable to illness, he added.

RELATED:

How to soothe itchy mosquito bites, why you shouldn't scratch Keep bugs away this summer with these five DIY hacks How to protect your pets from ticks and other pests

How to get rid of gnats, fruit flies

If you're actively taking steps to prevent mosquitoes from swarming near your yard, you're also probably keeping your gnat problem under control, Knox said.

Gnats are repelled by many of the same scents that mosquitoes despise, including pure vanilla, citronella or lemon oil, according to Knox. Experts also recommend getting rid of them by using the scents that attract them as bait.

“A shallow dish filled with apple cider vinegar or wine mixed with a few drops of dish soap can draw gnats in, but the dish soap reduces the surface tension and drowns them,” Knox said.

Knox recommended using DEET-containing products to keep gnats away while you’re outdoors, but warned that these formulas only work temporarily and won’t do much to stop an infestation.

Fruit flies  - Getty Images

(Photo/Drbouz/Getty Images)

Homeowners might also consider cleaning their drains with a bleach solution and a bottle brush, Burns suggested.

Simply scrub the drain, while paying special attention to the undersides of the drain and screen, he recommended. Then, use a disinfectant to flush the garbage disposal and the dishwasher drain line. “Gnats can be controlled by using a cap full of flea and tick shampoo, which needs to contain pyrethrum as its active ingredient, in your plant's water,” Burns added. “Lightly mist the plant's leaves, top and bottom, with the same solution.”

To get rid of fruit flies, experts recommend eliminating sources that attract them in and around your kitchen as well as your bathroom and drains.

“While a bowl of fresh, raw fruit on the kitchen counter looks lovely, this is a great target for a fruit fly infestation,” said Joe LaBrie, director of store operations for the family-owned retail company, Bug and Weed Mart. “Minimize any fruits and vegetables not stored in the refrigerator.”

LaBrie also recommended purchasing a decorative fly light that plugs into your power outlet and resembles a night light.

“It actually catches flying insects on a replaceable glue paper insert on the backside, where nobody sees what you've caught,” he said.

Infographic - Getting rid of fruit flies

Keep checking back on AccuWeather.com and stay tuned to the AccuWeather Network on DirecTV, Frontier, Spectrum, FuboTV, Philo, and Verizon Fios.

Report a Typo

Weather News

Weather Forecasts

Wildfire season to ramp up early as drought covers over 40% of the US

Feb. 18, 2026 Winter Weather

Winter hanging on in Midwest, Northeast with more snow, ice inbound

Feb. 19, 2026 Weather News

Deadly pileups, fast-moving Plains wildfires fueled by dangerous winds

Feb. 18, 2026 Show more Show less Chevron down

Topics

AccuWeather Early

Hurricane Center

Top Stories

Trending Today

Astronomy

Heat

Climate

Health

Recreation

In Memoriam

Case Studies

Blogs & Webinars

Top Stories

Winter Weather

Weekend snowstorm threat looms for Northeast, could intensify

4 hours ago

Severe Weather

Tornado danger grows in Ohio Valley as volatile storms erupt

4 hours ago

Weather Forecasts

El Nino is brewing: Here’s what it means for US weather in 2026

10 hours ago

Winter Weather

California faces a new storm threat, adding to staggering snowfall

4 hours ago

Weather News

155,000-acre wildfire explodes across Oklahoma, Kansas

4 hours ago

More Stories

Featured Stories

Winter Weather

Search teams working to recover bodies of skiers killed in avalanche

9 hours ago

Weather Forecasts

Wildfire season to ramp up early as drought covers over 40% of the US

1 day ago

Climate

Winter is getting shorter across nearly 200 U.S. cities

2 days ago

Winter Weather

‘Pothole season’ is here as winter takes its toll on roads in the East

2 days ago

Weather News

Shipwreck missing since 1872 discovered at bottom of Lake Michigan

2 days ago

AccuWeather Health Are annoying gnats, fruit flies plaguing your home? Banish them with these expert tips Company Proven Superior Accuracy™ About AccuWeather Digital Advertising Careers Press Contact Us Products & Services For Business For Partners For Advertising AccuWeather APIs AccuWeather Connect Personal Weather Stations Apps & Downloads iPhone App Android App See all Apps & Downloads Subscription Services AccuWeather Premium AccuWeather Professional More AccuWeather Ready Business Health Hurricane Leisure and Recreation Severe Weather Space and Astronomy Sports Travel Weather News Company Proven Superior Accuracy™ About AccuWeather Digital Advertising Careers Press Contact Us Products & Services For Business For Partners For Advertising AccuWeather APIs AccuWeather Connect Personal Weather Stations Apps & Downloads iPhone App Android App See all Apps & Downloads Subscription Services AccuWeather Premium AccuWeather Professional More AccuWeather Ready Business Health Hurricane Leisure and Recreation Severe Weather Space and Astronomy Sports Travel Weather News © 2026 AccuWeather, Inc. "AccuWeather" and sun design are registered trademarks of AccuWeather, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Cookie Policy | Data Sources

Tag » Why Are Gnats So Annoying