how to get rid of flies in kitchen

Introduction

Flies in the kitchen are more than just annoying. They contaminate food, spread bacteria, and make your home feel dirty even when you clean regularly. The good news: you can get rid of flies quickly and keep them from coming back with the right combination of cleaning, traps, and prevention.

This guide explains why flies appear in your kitchen, then walks through proven methods to eliminate them, natural remedies if you prefer chemical-free options, and practical prevention tips. Everything here is focused on clear, actionable steps you can implement today.

Why Flies Appear in Your Kitchen

Flies invade kitchens for three main reasons: food, moisture, and breeding sites. Understanding which type of fly you’re dealing with helps you target the source.

Common Types of Kitchen Flies

  • House flies
    These are the larger gray flies you often see buzzing around windows and food. They are attracted to:
    • Uncovered food and leftovers
    • Trash and recycling bins
    • Pet waste and litter boxes
  • Fruit flies
    Small, brownish flies that hover around:
    • Overripe fruits and vegetables
    • Open juice, soda, wine, beer
    • Sticky spills on counters or floors
    • Dirty drains and garbage disposals
  • Drain flies (moth flies)
    Tiny, fuzzy flies usually found near:
    • Sinks, floor drains, and garbage disposals
    • Leaky pipes or standing water
    • Organic sludge inside drain pipes

Main Reasons Flies Show Up

  • Accessible food sources – Exposed food, dirty dishes, crumbs, and spills provide easy meals.
  • Breeding areas – Flies lay eggs in moist organic material:
    • Trash bags and bins
    • Compost containers
    • Rotting produce
    • Greasy drains and sink overflows
  • Easy entry points – Open doors, unscreened windows, gaps around windows/doors, and vents let flies in.
  • Moisture – Standing water under sinks, in buckets, or around leaky pipes attracts certain species.

To get rid of flies effectively, you need to remove both the adult flies and the sources where they breed.

5 Proven Methods to Get Rid of Flies in the Kitchen

Use several of these methods at the same time for faster results: one to kill adults, one to destroy breeding sites, and one to block entry.

1. Deep Clean and Remove All Food Sources

If you only trap or spray flies but don’t clean, they will keep coming back. Start with a focused deep clean of your kitchen.

Step-by-step:

  • Clear counters completely
    • Remove all food, appliances, jars, and containers.
    • Wipe counters, backsplash, and edges with hot soapy water, then a disinfectant.
    • Pay attention to sticky spots where juices, alcohol, or sauces may have dried.
  • Check all produce
    • Inspect fruit bowls, onions, potatoes, and other produce kept at room temperature.
    • Throw away anything overripe, moldy, or bruised.
    • Store remaining produce in the fridge if possible until the fly problem is gone.
  • Clean dishes immediately
    • Do not leave dirty dishes overnight.
    • Rinse plates and cups right after use if you can’t run the dishwasher immediately.
  • Empty and wash the trash can
    • Take out the trash daily until flies are gone.
    • Wash the inside of the trash can with hot soapy water.
    • Disinfect the lid, rim, and pedal—flies often land there.
    • Use a trash bag that fits snugly and tie it tightly when full.
  • Clean under and behind appliances
    • Pull out the stove, refrigerator, and trash can if possible.
    • Vacuum and mop up crumbs, grease, and spills.
  • Floor and surfaces
    • Vacuum or sweep thoroughly, then mop with a degreasing cleaner.
    • Focus on baseboards, corners, and under cabinets where crumbs collect.

This method alone often reduces fly numbers dramatically within 24–48 hours, especially for fruit flies.

2. Target Drains and Moist Areas

Drains are a hidden breeding ground, especially for fruit and drain flies. Even if they look clean, they can hold organic sludge inside the pipes.

How to clean kitchen drains:

  • Physical scrub
    • Remove the drain cover if possible.
    • Use a drain brush or an old bottle brush to scrub the inside of the drain neck.
    • Scrub the underside of stoppers and strainers where slime builds up.
  • Baking soda and vinegar flush (for organic buildup, not heavy clogs)
    • Pour about 1/2 cup of baking soda into the drain.
    • Follow with 1/2–1 cup of white vinegar.
    • Let it fizz for 10–15 minutes.
    • Flush with a full kettle of boiling water.
  • Use an enzyme drain cleaner (optional but effective)
    • Choose a biological/enzyme cleaner designed for organic buildup.
    • Apply at night according to the label so it can work undisturbed.
  • Dry out wet areas
    • Fix any leaks under the sink.
    • Dry out wet sponges and dishcloths; don’t leave them in the sink.
    • Empty and rinse mop buckets and trays after use.

3. Use Effective Traps to Kill Adult Flies

While cleaning removes the source, traps quickly reduce the adult fly population.

For house flies

  • Sticky fly strips
    • Hang several near windows, doors, and above trash areas.
    • Replace when they are covered or dusty.
  • UV light traps
    • Plug in a UV light trap designed for indoor use.
    • Place it away from direct sunlight, ideally near where flies gather.
    • These attract and capture flies on glue boards or electrocute them depending on the model.

For fruit flies

  • Commercial fruit fly traps
    • Place them near fruit bowls, trash, or compost.
    • Follow the placement and replacement instructions on the packaging.
  • DIY vinegar traps (details in the natural remedies section below, but they’re extremely effective and cheap).

For drain flies

  • Trap to monitor
    • At night, place a piece of clear tape sticky-side down over half of the drain opening.
    • In the morning, check for small flies caught on the tape; if you see them, you have an active source in that drain.
    • Combine this with drain cleaning (method 2).

4. Apply Safe, Targeted Insecticides (If Needed)

If cleaning and traps don’t fully solve the problem, a limited use of insecticide can help. Always prioritize safety in food areas.

Guidelines:

  • Use indoor-safe sprays labeled for flying insects.
  • Remove or cover food, dishes, and utensils before spraying.
  • Focus on hotspots:
    • Around windows where flies rest
    • Near trash bins and under sinks
    • Cracks and gaps where they enter
  • Avoid spraying directly over food-preparation surfaces. Wipe any overspray immediately with soapy water.
  • Consider residual sprays for baseboards and entry points if the infestation is heavy (and if allowed in your region). Follow label directions strictly.

If you have pets, children, or sensitivities, consider skipping chemical sprays and doubling down on traps and cleaning.

5. Seal Entry Points and Improve Kitchen Habits

Once you’ve cut down the current population, stop new flies from entering and re-infesting the area.

  • Install or repair window and door screens
    • Fix any tears or gaps in screens.
    • Use weatherstripping around doors that don’t close tightly.
  • Keep doors closed
    • Use a self-closing mechanism or door closer where practical.
    • Avoid leaving doors propped open without a screen.
  • Improve daily habits
    • Cover food immediately after cooking.
    • Don’t leave open bottles or glasses of juice, soda, wine, or beer sitting out.
    • Rinse recyclables (cans, bottles) before placing them in the bin.

Natural Remedies to Get Rid of Flies in the Kitchen

If you prefer to avoid chemical sprays, these natural methods are highly effective when combined with good cleaning.

1. Apple Cider Vinegar Fruit Fly Trap

This is one of the most reliable home remedies for fruit flies.

You’ll need:

  • Small jar or glass
  • Apple cider vinegar
  • A few drops of dish soap
  • Plastic wrap (optional)

Instructions:

  • Pour 1–2 cm (about 1/2 inch) of apple cider vinegar into the jar.
  • Add 2–3 drops of dish soap and gently swirl (this breaks the surface tension so flies sink).
  • Optionally, cover the jar with plastic wrap and poke a few small holes—flies enter but struggle to escape.
  • Place traps near fruit, trash, or wherever flies gather.
  • Replace every 1–3 days or when the trap fills with flies.

2. Red Wine or Beer Trap

Fruit flies and some house flies are attracted to the smell of fermentation.

  • Pour a small amount of leftover red wine or beer into a glass.
  • Add a drop of dish soap.
  • Cover with plastic wrap and poke small holes (optional but more effective).
  • Place near problem areas; discard and refill as needed.

3. Essential Oils as Repellents

Some essential oils can help repel flies when used correctly. They don’t kill flies but can discourage them from entering or landing in certain areas.

Effective oils include: peppermint, eucalyptus, lavender, lemongrass, and citronella.

How to use:

  • Spray solution
    • Mix 10–15 drops of essential oil with 1 cup of water and a teaspoon of vodka or rubbing alcohol to help disperse the oil.
    • Shake well and spray around windows, doors, and non-food surfaces.
    • Reapply daily or as needed.
  • Soaked cotton balls
    • Place a few drops of essential oil on cotton balls.
    • Set them near windowsills, trash cans, or under the sink.
    • Refresh every few days.

Keep essential oils away from pets that may be sensitive (especially cats) and avoid direct contact with food.

4. Herbs and Plants That Deter Flies

These are mild repellents and work best as a supplement to cleaning and trapping.

  • Plant or keep pots of basil, mint, lavender, or bay near windows and doors.
  • Hang small bundles of dried lavender or bay leaves in the kitchen.
  • Replace fresh herbs regularly to maintain their scent.

5. Salt and Baking Soda for Drains

Beyond the baking soda and vinegar method, a salt mixture can help with drain flies.

  • At night, pour 1/2 cup salt, 1/2 cup baking soda, and 1 cup vinegar into the drain.
  • Let sit overnight without running water.
  • Flush with boiling water in the morning.

This helps break down organic material where drain flies lay eggs.

Prevention Tips: How to Keep Flies from Coming Back

Once you’ve eliminated the current infestation, prevent future issues with consistent, simple habits.

Daily Habits

  • Clear and wipe counters every day – No crumbs, sticky spots, or exposed food.
  • Do dishes promptly – Or at least rinse them thoroughly if they must sit.
  • Cover food and drinks – Use lids, wraps, or containers; don’t leave open bottles or plates out.
  • Empty kitchen trash regularly – At least every 1–2 days, more often in hot weather.
  • Rinse recyclables – Especially cans, bottles, and jars that held sweet or fatty foods.

Weekly Tasks

  • Clean trash cans – Wash inside and out with hot soapy water; disinfect rims and lids.
  • Check produce – Remove anything starting to spoil; don’t let fruit overripen on the counter.
  • Wipe inside cabinets and drawers if you often get crumbs there.
  • Flush drains – Pour boiling water down kitchen drains once a week to reduce buildup.

Seasonal or As-Needed Steps

  • Inspect doors and windows – Repair screens, seal gaps, and adjust door sweeps.
  • Check for hidden sources – Look under appliances, behind the fridge, and in rarely opened cabinets.
  • Manage outdoor attractants
    • Keep outdoor trash bins sealed and clean.
    • Move compost piles away from doors and windows.
    • Clean up pet waste promptly.

FAQ

How do I get rid of flies in my kitchen fast?

Combine three actions at once: 1) remove all exposed food and deep clean counters, floors, and trash cans; 2) set up multiple traps (vinegar traps for fruit flies, sticky strips or UV traps for house flies); and 3) clean drains with a brush, baking soda, and boiling water. Most infestations drop sharply within 24–48 hours using this approach.

What is the best home remedy for fruit flies?

A jar with apple cider vinegar and a few drops of dish soap is one of the most effective home remedies. The vinegar attracts fruit flies, and the dish soap breaks surface tension so they drown. Placing several of these traps near problem areas is usually enough to wipe out fruit flies within a few days, provided you remove all rotting produce and clean spills.

Why do I still have fruit flies even after cleaning?

You may have missed one of these common sources:

  • Rotting or forgotten produce at the back of a cabinet or drawer
  • Residue in trash cans or recycling bins
  • Organic sludge in the sink drain or garbage disposal
  • Spills under appliances

Systematically check each area, clean drains thoroughly, and keep traps out for at least a week to break the breeding cycle.

Are kitchen flies dangerous?

Flies can carry bacteria and pathogens from garbage, feces, and decaying matter onto your food and surfaces. While a few flies don’t guarantee illness, they do increase the risk of contamination. That’s why it’s important to remove them quickly and keep your kitchen clean.

Can I use bleach in drains to kill flies?

Bleach poured down the drain may kill some flies on contact but often doesn’t penetrate the thick organic sludge where eggs and larvae live. It also washes away quickly. Enzyme-based cleaners, mechanical scrubbing, and baking soda/vinegar followed by boiling water are usually more effective for long-term control. If you do use bleach, never mix it with other chemicals and ventilate the area.

When should I call a professional exterminator?

Consider calling a professional if:

  • The infestation is severe and doesn’t improve after 1–2 weeks of cleaning, trapping, and treating drains.
  • You suspect a dead animal in a wall, crawlspace, or attic attracting flies.
  • There are structural issues allowing large numbers of flies to enter, and you can’t locate all entry points.

A professional can identify the species, locate hidden breeding sites, and apply targeted treatments safely.

Do natural remedies work as well as chemical sprays?

For most household kitchen fly problems, thorough cleaning plus natural traps (like vinegar or wine traps) are enough to solve the issue. Chemical sprays may kill flies faster on contact, but they’re rarely necessary if you remove the breeding sources and block access to food. Natural methods are safer around food and pets when used correctly.

By combining deep cleaning, smart trapping, and consistent prevention habits, you can get rid of flies in your kitchen and keep it that way long term.

Want a plan tailored to your home?

Based on your fly type, home situation, and preferences. Get a Personalized Fly Removal Plan to remove flies fast and safely.

Get My Custom Plan