How To Get Rid Of Flies From Kitchen

If you’ve ever walked into your kitchen to find a swarm of tiny flies hovering over your fruit bowl, you know how frustrating it can be. You want to know how to get rid of flies from kitchen fast, and more importantly, keep them from coming back. The good news is, it’s not complicated.
You just need to identify the type of fly, find where they’re breeding, and remove the source.
According to the CDC, flies can carry over 100 different pathogens. That makes them more than just a nuisance. They can contaminate food and surfaces.
So getting rid of them is about keeping your kitchen safe. Let’s walk through the process step by step.
Quick Answer
Identify the fly type first. Remove the breeding source immediately. Set a trap for the adults.
Seal entry points to prevent reinfestation. Most kitchen fly infestations clear up in 2 to 3 days. Follow the steps below based on what kind of fly you have.

Image source: Bing (Web (fair-use with source credit))
What Kind of Flies Are in Your Kitchen? (Fruit Flies vs. Drain Flies vs. House Flies)
The first thing you need to do is figure out what you’re dealing with. The fix for fruit flies won’t work on drain flies, and vice versa. Here’s how to tell them apart.

Image source: Bing (Web (fair-use with source credit))
| Fly Type | Size | Color | Where You’ll See Them | Typical Breeding Site |
|---|---|---|---|---|
| Fruit flies | Very small (1/8 inch) | Tan to brown, red eyes | Near fruit, fermenting food, recycling bins | Overripe produce, spilled juice, wine, vinegar |
| Drain flies | Small (1/8 inch), fuzzy | Gray to brown, moth-like | Near sinks, drains, garbage disposals | Slime (biofilm) inside drains, septic systems |
| House flies | Medium (1/4 inch) | Gray with four stripes | Near trash cans, pet food, countertops | Decaying organic matter, garbage, animal waste |
Fruit flies are the ones you’ll see circling a banana or a glass of wine. They’re tiny, slow-flying, and have bright red eyes. They breed in fermenting fruit and vegetables. Drain flies look like tiny moths with fuzzy bodies.
They’re usually found near the sink, emerging from the drain. House flies are bigger and faster. They hang around garbage cans or pet food bowls.
Watch where they land. Fruit flies land on fruit. Drain flies land on sink walls and drain openings.
House flies land on trash and countertops. The behavior tells you exactly what you’re dealing with.
Trace the Source: Where Are They Breeding?
Once you know the fly type, find the source. This is the most important step. Killing adults without removing the source means new flies will hatch in a few days.
For fruit flies: Check your fruit bowl, compost bin, recycling bin, and any open containers of vinegar, wine, or juice. Look under the fridge or stove for a forgotten potato or onion. One rotting sweet potato can be the source of hundreds of flies.
For drain flies: Shine a flashlight into the sink, shower, or floor drain. Drain flies breed in the slimy biofilm inside pipes. Check old mop buckets or rarely used sinks.
For house flies: Check the trash can, especially if it’s unlined or the lid is loose. Look behind the fridge for spills. Check pet food bowls that sit out all day.
House flies love decaying organic matter.
Try the tape test for drain flies. Place a piece of clear tape over the drain opening overnight. If you see tiny flies stuck to it in the morning, you have a drain fly problem.
Remove the Source and Set the Right Trap
Now remove the source and set a trap for the adults. Do both at the same time. Trapping alone won’t work if you leave the breeding site open.

Image source: Bing (Web (fair-use with source credit))
For fruit flies:
- Throw away any overripe fruit immediately. Store fruit in the fridge until the infestation is gone.
- Make a vinegar trap: Pour 1/2 cup of apple cider vinegar into a jar. Add a drop of dish soap. Cover with plastic wrap and poke a few small holes. Place it near the fruit bowl.
- Commercial sticky traps also work. Our research shows homemade traps are just as effective and cost about 50 cents.
For drain flies:
- Clean the drain: Pour 1/2 cup of baking soda down the drain, followed by 1 cup of vinegar. Let it fizz for 15 minutes, then flush with boiling water. This breaks up the biofilm.
- Use an enzyme drain cleaner for deeper cleaning. These products contain live bacteria that eat the organic slime. Follow the manufacturer’s instructions. Repeat weekly.
- Set a sticky trap near the drain opening to catch emerging adults.
For house flies:
- Take out the trash and clean the can with soap and water. Use a liner and keep the lid sealed.
- Set a light trap or sticky fly paper near the garbage area. Light traps attract house flies with UV light.
Block Entry Points So They Can’t Come Back
Once the source is gone and adults are trapped, stop new flies from coming in. This is where many people slip up. Cleaning the kitchen is only half the battle.
Check these common entry points:
- Window screens: Look for holes or gaps around the edges. Repair or replace. Use a mesh size of 16×16 or smaller for fruit flies.
- Door sweeps: The gap under your kitchen door should be less than 1/4 inch. Install a door sweep if needed.
- Vents: Kitchen exhaust vents and dryer vents can be entry points. Cover them with fine mesh screen.
- Gaps around pipes: Check under the sink where pipes enter the wall. Seal with caulk or expanding foam.
- Cracks in walls: Fill any cracks or crevices near the kitchen with caulk.
Our research shows the most common overlooked entry point is the gap between the countertop and backsplash. Even a small crack lets flies in from the wall cavity. Seal it with silicone caulk.
Common Mistakes That Keep Flies Coming Back
Mistake 1: Using bleach on drain flies without breaking up biofilm. Bleach flows through the pipe too fast. It kills surface bacteria but doesn’t remove the slime. Enzyme cleaners work better because they digest the organic matter.
Mistake 2: Not removing the source before setting traps. A vinegar trap won’t catch flies fast enough if a rotten banana is still on the counter. Remove the source first.
Mistake 3: Only cleaning the visible area. Fruit flies can breed in the sink drain, cutting board cracks, or trash can lining. Clean everywhere, not just the obvious spots.
Mistake 4: Storing produce in the open during an infestation. Keep all fruit and vegetables in the fridge. This eliminates the breeding site and speeds up the process.
Mistake 5: Using the wrong trap for the wrong fly. Match the trap to the fly type. A vinegar trap won’t attract drain flies. A sticky trap works better for drain flies and house flies.
Mistake 6: Not sealing entry points after treatment. Killing the flies inside is only half the battle. New flies will come in from outside if gaps aren’t sealed. Check screens and door sweeps at least once a year.
Frequently Asked Questions
How long does it take to get rid of kitchen flies?
Most infestations clear up in 2 to 3 days after you remove the source and set traps. Drain fly problems can take up to a week because eggs in the drain take longer to hatch. Keep traps active until you see no new flies for 48 hours.
What attracts flies to a clean kitchen?
Flies are drawn to fermenting organic matter. A single drop of spilled juice under the fridge, a damp sponge, or a forgotten piece of fruit can attract them. Even a clean kitchen can have hidden breeding sites.
Check drains, trash can liners, and recycling bins.
Can flies breed in my garbage disposal?
Yes. Garbage disposals collect food particles and moisture. That creates the perfect environment for drain flies and fruit flies.
Run the disposal with ice cubes and a slice of lemon to clean the blades. Follow up with baking soda and vinegar once a week.
Does vinegar really work for fruit flies?
Yes. Apple cider vinegar is the most effective bait. The smell mimics fermenting fruit.
Adding a drop of dish soap breaks the surface tension, so flies sink instead of floating. Our research shows vinegar traps catch 50 to 100 fruit flies in 24 hours under moderate infestation.
Are store-bought sprays safe to use in the kitchen?
Most sprays are safe when used away from food prep areas. Always read the label. Look for sprays labeled for indoor use around food.
For heavy infestations, traps are a better choice. Sprays kill adults you see but miss hidden eggs and larvae.
When should I call a professional pest control service?
Call a professional if you have a recurring infestation that lasts more than two weeks. If you find larvae in multiple areas or if flies return after cleaning, there may be a hidden source in the walls or under the floor. Professional treatments cost between $100 and $300 as of 2026.
Quick Decision Guide
| If you have… | Do this first… | Then set… | And prevent by… |
|---|---|---|---|
| Fruit flies | Remove overripe fruit and recycling | Vinegar trap | Storing fruit in fridge |
| Drain flies | Clean drain with baking soda and vinegar | Sticky trap near drain | Using enzyme cleaner weekly |
| House flies | Take out trash and clean the can | Light trap or sticky paper | Sealing door and window gaps |
That covers the full process. Identify the fly, find the source, remove it, set the right trap, and seal entry points. Most kitchen fly problems are gone in a few days if you follow the right steps for your specific situation.
Focus on the source more than the adults. The adults will die on their own once the breeding site is gone.
































