Fruit flies are not directly harmful to people. They don’t bite, sting, or carry venom. The real concern is subtler: fruit flies can transfer bacteria like E. coli, Salmonella, and Listeria from one food surface to another as they land and feed. That said, researchers have not yet proven that this transfer actually increases your chances of getting a foodborne illness. So while fruit flies aren’t dangerous in the way mosquitoes or ticks are, they’re not entirely harmless either.
They Don’t Bite or Sting
Common fruit flies lack the mouthparts needed to bite human skin. They feed by landing on soft, decaying organic material and consuming it through a sponging mechanism. You won’t get a rash, welt, or allergic reaction from a fruit fly landing on you. If you’re being bitten by tiny flying insects indoors, you’re likely dealing with fungus gnats or biting midges, not fruit flies.
Bacteria on the Move
Fruit flies spend their lives on rotting fruit, fermenting liquids, and food waste. As they move between surfaces, they pick up and deposit microorganisms. Research has confirmed that fruit flies can carry E. coli, Salmonella, and Listeria on their bodies and transfer these pathogens from contaminated food to clean food. These are the same bacteria responsible for common foodborne illnesses that cause nausea, diarrhea, and vomiting.
The practical risk, though, appears to be low. No studies have directly linked a fruit fly infestation in a home kitchen to an outbreak of food poisoning. The bacterial load a single fruit fly carries is tiny compared to what you’d encounter from, say, cross-contaminating raw chicken on a cutting board. Still, a large infestation buzzing around your kitchen for days increases the odds that bacteria end up somewhere you’d rather they didn’t.
What Happens If You Eat One
Accidentally swallowing a fruit fly or eating fruit that contains their eggs is unlikely to cause serious harm. Fruit fly eggs and larvae are found only near the surface of decaying fruit, so if you spot a small soft patch on a piece of fruit, you can cut it away and safely eat the rest without worrying about hidden larvae deeper inside. In rare cases, ingesting larvae from heavily contaminated or rotting food can cause mild gastrointestinal discomfort. A condition called intestinal myiasis, where fly larvae survive briefly in the digestive tract, has been documented but is extremely uncommon and typically resolves on its own.
Fruit Flies That Damage Crops
The common fruit fly you see in your kitchen (the tiny, red-eyed insect about an eighth of an inch long) is mostly a nuisance. But a close relative called the spotted wing drosophila is a serious agricultural pest. Unlike ordinary fruit flies that target fruit already rotting, the spotted wing drosophila has a serrated egg-laying structure that lets it cut into healthy, ripening fruit. Females deposit eggs inside intact berries and soft fruits, and the larvae feed from within, causing the fruit to collapse into a gooey mess within days.
This pest targets raspberries, blackberries, strawberries, blueberries, cherries, peaches, and grapes. In some cases, it causes complete crop loss in bramble fruits like raspberries. The egg-laying process also introduces fungi and bacteria that accelerate spoilage. If you grow berries at home, small scars or slits on otherwise healthy fruit are the first sign of an infestation. Soft, sunken spots develop around those marks shortly after.
Identifying Fruit Flies Correctly
Before worrying about harm, make sure you’re actually dealing with fruit flies. Several small flying insects invade homes and look similar at a glance. Fruit flies have a compact body shape similar to a house fly but are much smaller, roughly an eighth of an inch long. The most common species has distinctive red eyes, though a dark-eyed variety also exists. You’ll find them near fruit bowls, trash cans, recycling bins, and kitchen drains.
Fungus gnats look more like tiny mosquitoes and cluster around houseplant soil, where they breed in moist organic material. Drain flies are fuzzy, moth-like insects that live inside the slimy buildup in sink and floor drains. Each pest requires a different approach, so correct identification saves you time.
Getting Rid of an Infestation
Traps help reduce numbers, but the only reliable way to eliminate fruit flies is to find and remove their breeding sites. Fruit flies reproduce fast, and as long as decaying organic material is available, they’ll keep coming back.
Start with your fruit. Store bananas, melons, tomatoes, apples, and other ripe produce in the refrigerator until the infestation clears. Check under furniture and behind appliances for forgotten food scraps. Rinse out wine bottles, beer cans, juice containers, and soda cans before placing them in the recycling bin, since even a thin film of sugary liquid is enough for fruit flies to breed in.
Kitchen drains are a common overlooked source. You can test a suspect drain by taping a piece of clear plastic over the opening overnight. If flies are breeding inside, you’ll see them trapped against the plastic in the morning. Clean drain pipes with a brush to remove the organic buildup, then flush with boiling water.
For trapping, fill a small bowl or jar with about a quarter cup of apple cider vinegar and add a few drops of dish soap. The vinegar attracts the flies, and the soap breaks the surface tension so they sink instead of landing and flying away. Place traps near the areas where you see the most activity. Window and door screens with 16-mesh or finer screening will keep new flies from entering, but the screens need to fit tightly with no gaps.
Fruit flies are attracted to light, so reducing lighting near windows and doors in the evening, or switching to yellow bulbs in those spots, can help keep outdoor flies from congregating at entry points.