Small black flies in the house: which one is it?

Kevin

In brief

From half a metre away, small black flies in the house all look the same: a little dark fly that darts off just too fast to get a good look. Yet it's usually one of four different insects, with four different sources. A trap made for one does nothing against another.

The quickest way to find out isn't to study the insect. It's to look at where it comes from.

Rising up out of a houseplant's compost: fungus gnat. Around the fruit bowl or the bin: fruit fly. On the bathroom wall or near a drain: drain fly. And does it bite? Then it's none of the three.

On this page
  1. In brief
  2. Start with the place, not the insect
  3. Fungus gnat: from the potting compost
  4. Fruit fly: near fermenting fruit
  5. Drain fly: from the drain
  6. Biting midge: this one bites
  7. And if it's none of the four
  8. What works in every case
  9. What doesn't work
  10. Frequently asked questions

Start with the place, not the insect

Identifying them by appearance is harder than it looks. The Dutch Knowledge and Advisory Centre on Animal Pests (KAD) does it professionally and offers a separate identification service. At home you usually don't need that, because you have something a laboratory doesn't: you know where the insect came from.

Keep an eye out for a few days. Not where they fly around, because that's everywhere, but where they turn up before you've touched anything. In most homes, that place is the whole answer.

Fungus gnat: from the potting compost

One to five millimetres, slender and dark, with long legs. Gnat-like. The most useful feature isn't how it looks but how it moves: fungus gnats don't fly easily and get around mostly in short hopping flights over a surface. Across the windowsill, over the compost in the pot, over your keyboard.

The eggs are usually laid in the top layer of damp soil. The larvae live there on algae, fungi and dead organic matter. A leak under the sink or a broken drain pipe in the void under the floor can also be a breeding site, so a home without houseplants isn't exempt.

They occur all year round, with several generations a year. There's no seasonal peak. So if you see them in January, that's no strange one-off.

On the left a fruit fly with red eyes on an apple, on the right a fungus gnat on potting compost
Left: fruit fly. Yellowish brown, bright red eyes, found near fruit.Right: fungus gnat. Dark, slender, long legs, comes out of the potting compost.

What to do: let the top layer of compost dry out between waterings, and water via the saucer. The rest is in how to get rid of fungus gnats in houseplants.

Fruit fly: near fermenting fruit

Three to four millimetres including the wings. In most species the eyes are bright red, and that's the feature you can just about make out from half a metre. The colour ranges from yellow and brown to almost black, with brown bands across the abdomen, and it looks slightly swollen. With a magnifying glass you can see that the tip of the antenna is forked. Without one, that's not much help.

It hangs around the fruit bowl, the kitchen bin, the food waste bin or the sink. Not around undamaged fruit, because it leaves that alone: it's all about fermentation and rot. A banana with a brown patch, the last mouthful in a bottle, a film of grime in the plughole.

What to do: find the source first, then catch. How to get rid of fruit flies lists the places that most often go wrong. Unsure about a homemade trap? Read making your own fruit fly trap: does it work?

Drain fly: from the drain

Also one to five millimetres, but otherwise it looks nothing like the others. A drain fly is densely hairy and its wings are bigger than its body. At rest they lie over it like a little roof, so that on a pale wall, from a distance, it looks like a tiny heart. You can see that standing up, without a magnifying glass.

It's a poor flier: one to one and a half metres at a time, and then it settles again. So you mostly see it sitting still. It's drawn to light, so it turns up by the mirror, the light above the washbasin, the window.

Its larvae live in a drain: the toilet, the shower or the washbasin. A fly screen won't stop it, because it's small enough to get through fine mesh, and it doesn't come from outside anyway.

What to do: check the U-bends and flush the drains through. After that, control isn't necessary, as the KAD says in so many words. How that works exactly is in bugs in the bathroom.

Biting midge: this one bites

One to four millimetres, so smaller than a mosquito, and the only one in this line-up that bites. Only the females of the genus Culicoides bite people, and the bite can itch terribly. In the Netherlands they are rarely reported, according to the KAD. In Scotland, the KAD notes, they can become a real plague, so bad that working outdoors is no longer possible in some places.

Midges belong near water. The females lay their eggs in still or running water, in hollow trees, in a pot of water, even in mud. They are mostly active at the end of the day.

What to do: cover up, keep moving, and switch on a fan — the airflow keeps them at bay. Keeping them out works with fine-mesh screens; more on that in fly screens, fly curtains and mosquito nets. According to the KAD, no effective control method that doesn't damage the environment is currently known. Not a comforting answer.

And if it's none of the four

Scuttle fly

This is the mix-up we'd most often make ourselves. A scuttle fly is half a millimetre to six millimetres long, black, brown or yellowish, stocky, with a high, rounded back, which is why it's also called the humpbacked fly. It looks like a fruit fly, but its eyes are usually dark rather than red.

Its gait gives it away. It runs across a surface, stops suddenly, runs on again, and only then takes off. Stop-start.

It doesn't come from your fruit bowl. It comes from damp organic matter that has built up somewhere: under a leaking fridge, washing machine or dishwasher, in an old disconnected pipe where water stands, around rotting parts of a houseplant, or in the drip tray of the coffee machine, where water and coffee grounds together make an ideal breeding ground. That drip tray is the first thing we'd check.

A fruit fly trap is the wrong tool here. According to the KAD, chemical control is not desirable; tracking down and cleaning up the source is the most important part of a successful approach.

Mosquito

About five millimetres, with a long proboscis, and it whines. It's only here because small gnats around houseplants are so often mistaken for mosquitoes. If they don't bite and they come out of a plant pot, you don't need to do anything about mosquitoes. Otherwise see mosquitoes in the bedroom.

On the left a mosquito with a long proboscis on a white curtain, on the right a fungus gnat on potting compost
Left: mosquito. About 5 mm, long proboscis, whines.Right: fungus gnat. 1 to 5 mm, doesn't bite, comes out of the pot.

What works in every case

For each of these insects, the KAD essentially says the same thing: find the breeding source and clean it up. That's not a matter of principle — everything you do before that is temporary. A trap, a sticky strip or a spray can deals with the adults that are there right now. The next batch is already in the compost, the skin or the drain.

So: keep an eye out for a few days to see where they come from, deal with that place, and only then buy something. In that order.

What doesn't work

Buying a trap before you know what you have

This misunderstanding costs the most money. A fruit fly trap lures with the smell of fermentation, and it's built for the fruit fly. For fungus gnats, the KAD and the Royal Horticultural Society (RHS) advise something quite different: yellow sticky traps near the plant, and less water. Put down the wrong trap and after a week you conclude that traps don't work, when really you just had the wrong insect.

Spraying at random

A spray can kills what you hit. With all the insects above, the problem is somewhere else: in the compost, in the skin, in the U-bend, under the washing machine. You can spray the whole kitchen and be back where you started next week.

A fly screen against drain flies

See above. They're small enough to get through, and they come from the wrong side.

Frequently asked questions

How can I be sure which one I have?

By looking at where it comes from, not by studying it. If you really want to be certain, you can have an insect identified by a specialist; in the Netherlands the KAD offers this. We can't do it for you, and nobody gets any wiser from a blurry photo.

I have them in the middle of winter. Is that possible?

With fungus gnats, certainly: they occur all year round and have no peak. With drain flies too, because their source is indoors, in the drain. And for fruit flies the KAD names no season at all — what they need is fermentation, not a particular month. It's probably true that summer feels busier, because there's more ripe fruit in the house then, but we haven't found an evidence-based peak month.

They're in my bathroom, but not near the drain. What could they be?

Then also look at what isn't flying. Silverfish and grey silverfish walk, and they have their own story. That's in bugs in the bathroom.

Do you sell products for all of these?

No. According to the KAD there's no effective control of biting midges that doesn't damage the environment, and scuttle flies and drain flies are solved with a U-bend and a mop, not with a purchase. That way you know before you order something, not afterwards.

Where can I see the differences side by side?

Which pest do I have? puts the pairs that look most alike side by side in tables.

Lees ook

Back to blog

Where this information comes from

  1. Appearance, the short hopping flights over a surface, the breeding sites, the larvae's food and that fungus gnats occur all year round with several generations Kennis- en Adviescentrum Dierplagen (KAD), the Dutch Knowledge and Advisory Centre on Animal Pests, knowledge base Rouwmuggen (Sciaridae), in Dutch, accessed 26 November 2026view the source
  2. That the KAD advises watering fungus-gnat-infested plants via the saucer the same KAD page
  3. Yellow sticky traps near the plants and letting the compost dry out against fungus gnats Royal Horticultural Society (RHS), Fungus gnats (sciarid flies), accessed 3 December 2026view the source
  4. Length, bright red eyes in most species, colour and bands across the abdomen, the forked tip of the antenna, that fresh and undamaged fruit is not affected and the places where they occur in homes Kennis- en Adviescentrum Dierplagen (KAD), knowledge base Fruitvliegen (Drosophila spp.), in Dutch, accessed 26 November 2026view the source
  5. Length, hairiness, the wings lying over the body like a roof, the heart shape on a white wall, that they are drawn to light, that fine mesh does not stop them, the flight distance of 1 to 1.5 metres, the breeding sites in drains and dried-out U-bends, and that control is not necessary once the source is dealt with Kennis- en Adviescentrum Dierplagen (KAD), knowledge base Motmuggen (Psychodidae), in Dutch, accessed 26 November 2026view the source
  6. Length of 1 to 4 mm, that only females of the genus Culicoides bite people and that the bites can itch terribly, that they are rarely reported in the Netherlands, that in Scotland they can become a real plague making outdoor work impossible in some places, egg-laying in water, activity at the end of the day, and the advice to cover up, keep moving, use a fan and fit fine-mesh screens Kennis- en Adviescentrum Dierplagen (KAD), knowledge base Knutten (Ceratopogonidae spp.), in Dutch, accessed 30 November 2026view the source
  7. That no effective control of biting midges without damage to the environment is currently known the same KAD page
  8. Appearance and length of the scuttle fly (0.5 to 6 mm), the usually dark eyes, the jerky running over a surface, the breeding sources under a leaking fridge, washing machine or dishwasher, in old disconnected pipes, in rotting parts of houseplants and in the drip tray of the coffee machine, and that chemical control is not desirable Kennis- en Adviescentrum Dierplagen (KAD), knowledge base Bochelvliegen (Phoridae), in Dutch, accessed 30 November 2026view the source
  9. Size of the common house mosquito Kennis- en Adviescentrum Dierplagen (KAD), knowledge base Gewone steekmug (Culex pipiens), in Dutch, accessed 26 November 2026view the source
  10. That the KAD offers an identification service Kennis- en Adviescentrum Dierplagen (KAD), page Determinatie, in Dutch, accessed 26 November 2026view the source
  11. Not substantiated, and therefore not presented as fact in the text a peak month or peak season for fruit flies; the KAD page does not name one

How we write these pages, and what we do when we cannot back something up, is explained on How our advice pages are made.