How to Get Rid of Fruit Flies

Does Baking Soda and Vinegar Clear Fruit Flies from Drains?

Does the fizzing drain trick clear fruit fly breeding? What actually works.

Tip baking soda into the drain, pour vinegar after it, watch the dramatic foam rise up the plughole — it looks like the fizz is scouring the pipe clean. It is one of the internet's favourite drain fixes for fruit flies, and it is mostly theatre. The reaction is real, but it is weak, brief, and has no power to strip the greasy biofilm where the larvae actually live. This guide explains honestly what the fizz does and doesn't do, and the simple method that genuinely clears a drain.

⚡ Quick answer

The fizzing baking-soda-and-vinegar drain trick looks satisfying but does not reliably strip the greasy biofilm where fruit fly and drain fly larvae actually breed. The bubbling loosens only loose debris at best. To truly clear a breeding drain, scrub the pipe walls with a brush, flush with boiling water, and finish with an enzyme cleaner.

A pile of white baking soda (sodium bicarbonate), used to clean and deodorize drains
Photo: Thavox

In short

Does the fizz work?
Not reliably — it is a weak, short reaction that does not lift biofilm off the pipe
Why it fails
Fruit fly larvae live in a clinging gel of gunk that needs scrubbing, not bubbles
What actually works
A drain brush, then boiling water, then an enzyme or biofilm cleaner
Bonus
It also deodorises, so it is a fine finishing touch — just not the cure
The rule
Pair drain cleaning with trapping the adults, or the swarm returns

The theory behind the trick

The idea is appealing. Baking soda (sodium bicarbonate) is a mild alkali; vinegar is a mild acid. Pour them together and they react, releasing carbon dioxide — the foaming, fizzing bubbles. The hope is that this reaction loosens grime, kills larvae, and flushes the drain clean. Add boiling water on top and it feels like a complete, chemical-free treatment. Because both ingredients are cheap and already in the cupboard, it spreads far and wide as the go-to drain remedy.

There is nothing dishonest about the chemistry — the fizz genuinely happens. The problem is what that fizz can and cannot achieve against a fruit fly nursery.

Why the fizz does not clear the drain

Fruit flies and their look-alike drain flies breed in biofilm — a slick, tenacious gel of food residue and bacteria that clings to the inner wall of the pipe. Larvae feed and develop inside that film, safely below the plughole and out of sight. Removing an infestation means removing that film, and this is exactly what baking soda and vinegar cannot do:

  • The reaction is brief. Once the two ingredients neutralise each other — a matter of seconds — the fizzing stops and you are left with salty water. There is no sustained action.
  • It is chemically weak. The acid and the alkali largely cancel each other out. The result is close to neutral, with none of the strength needed to dissolve a greasy, protein-rich film.
  • The bubbles have no scrubbing force. Carbon dioxide foam rising up the pipe does not physically scour the wall. Biofilm is designed by nature to resist being rinsed away; gentle bubbles do not shift it.
  • It washes straight past. Like any pour-in liquid, it runs down the centre of the pipe and away, barely touching the film clinging to the sides where the larvae are.

So the swarm comes back within days: the eggs and larvae in the untouched biofilm keep hatching, and a fruit fly's egg-to-adult cycle is only about a week in a warm kitchen. You can foam the drain every evening and still be swatting flies, because the nursery is intact. The same limitation applies to pouring in bleach or hydrogen peroxide — none of these liquids reliably strips biofilm.

Reality check: The baking soda and vinegar fizz deodorises a drain and shifts loose debris, but it does not remove the biofilm where fruit flies breed. Treat it as a freshener, not a fly cure.

What actually clears a fruit fly drain

Removing biofilm is a mechanical job, not a chemical fizz. Three steps, in order, do what the bubbles cannot:

  1. Scrub with a drain brush. A long, stiff-bristled drain or bottle brush pushed down the pipe physically scrapes the biofilm off the wall — the single most important step. Work it around the full circumference and up under the rim of the plughole where gunk hides.
  2. Flush with boiling water. Follow the scrubbing with a kettle of boiling water to rinse away the loosened film and any dislodged larvae. (Pour carefully, and avoid boiling water on certain plastic pipes — warm-hot is a safe compromise there.)
  3. Finish with an enzyme or biofilm cleaner. An enzyme-based drain product digests the remaining organic gel over several hours. Applied last thing at night so it sits undisturbed, it reaches the residue the brush missed and keeps the pipe inhospitable.

Repeat the brush-and-enzyme routine for a few days to catch any late-hatching larvae, and the drain stops producing flies. The full walkthrough — including the tape test that confirms the drain is your source — lives in drains and garbage disposals, with bathroom-specific detail in fruit flies in bathroom drains.

Use the fizz for what it's good at: After you have brushed and enzyme-treated the drain, a baking soda and vinegar rinse followed by hot water is a pleasant way to deodorise and keep loose debris down between deeper cleans.

Don't forget the adults

Even a perfectly cleaned drain leaves adult flies circling the kitchen for a few days, and they will happily find a new spot to breed if you let them. Cleaning the source and trapping the adults must happen together — that is the whole principle of clearing fruit flies.

Baking soda and vinegar, weighed up

Pros

  • Cheap, safe, and already in the cupboard
  • Deodorises a smelly drain and shifts loose debris
  • A harmless finishing rinse after a proper clean

Cons

  • The reaction is weak and lasts only seconds
  • Bubbles have no power to scrub biofilm off the pipe
  • Larvae in the film survive, so the swarm returns
  • Not a cure — a drain brush and enzyme cleaner are what work

Tip: If you have foamed the drain repeatedly and the flies keep coming, stop pouring and start scrubbing — and if the problem still persists, work through why fruit flies won't go away. The wider plan is on the remove fruit flies hub.

Bottom line: Baking soda and vinegar make an impressive fizz that deodorises a drain but cannot strip the biofilm where fruit flies breed. Scrub the pipe with a brush, flush with boiling water, and finish with an enzyme cleaner — then trap the adults. That is what actually clears a drain.

Sources

Keep them gone for good

Once the flies are gone, the next step is stopping new ones from coming in.