DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowEarly Black FridayAmazon USEarly Black Friday picks are worth checking nowAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to the story
ANIMALSO
Breeding

How to Get Rid of Flies in Your House, According to Pest Experts

The reliable way to get rid of house flies is to remove the breeding site—not keep spraying adults. Learn how to tackle fruit flies, drain flies, fungus gnats, and more safely around pets.

By Animalso Team 8 min read

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

A few flies near the kitchen are usually an annoyance. A steady stream of flies, flies emerging from a drain, or metallic flies appearing around windows can point to a breeding site—and that site may be garbage, a damp plant pot, pet waste, a plumbing problem, or even a dead animal inside a wall.

The lasting solution is not to keep spraying the room. Identify the fly, remove what it is breeding in, block new entry points, and use traps to catch the adults that remain. If you have dogs, cats, birds, rabbits, or other pets, keep pesticides, fly baits, and traps where they cannot reach them.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

First, identify which fly is in your house

Different flies are attracted to different materials. A vinegar trap may help with fruit flies but do little for drain flies, while treating a plant’s soil will not solve a house-fly problem caused by an open garbage can.

What you see Likely fly Common source
Gray flies about 1/4 inch long House flies Garbage, pet waste, spoiled food, compost, or outdoor waste entering through doors and windows
Tiny tan flies, roughly 1/16 to 1/8 inch, often with red eyes Fruit flies Overripe produce, fermenting liquids, recycling residue, trash, or sticky spills
Tiny, fuzzy, moth-like flies Drain flies Gelatinous organic buildup inside sink, shower, bathtub, or floor drains
Tiny dark flies around houseplants, lamps, or windows Fungus gnats Continuously damp potting soil
Shiny blue or green flies Blow flies or bottle flies Dead animals, feces, garbage, or pet waste
Small, dark, humpbacked flies that run more than they fly Phorid flies Decaying organic matter, plumbing defects, or sewer-line leaks

When you cannot tell which type you have, put clear tape over individual drains with the sticky side facing down overnight, place a yellow sticky card beside suspect plants, and watch where the flies gather. These simple tests can show whether the source is a drain or a plant rather than the kitchen bin.

Remove the breeding site

Adult flies are the visible part of the problem. Their larvae develop in moist organic material, so killing flying adults without cleaning the source usually produces only short-term relief.

Popular on Amazon
Kensizer 30-Pack Window Fly Traps for Indoors, House Fly Trap | Fruit Fly Traps for Indoors, Paper Sticky Strips, Fly Catcher Clear Windows Trap, House Fly Killer, Lady Bug Traps
  • No Trace Left - After peeling it off, there's nothing sticky will be left on the window, it will absolutely keep your window clean.
  • Clean and Transparent - It will not affect the light transmittance of window, and not easily be spotted by the flies. -PLEASE NOTE: Unique Dual-Side Design. Must be installed with CATCH SIDE facing INDOORS towards the room to work correctly.
  • Strong Viscosity - Adopting specially designed glue of no chemical and no pollution, there is no way to escape once the flies stick on it.
  • Safe and Convenient - Odorless, non-toxic and Eco-friendly, it won't affect the health of babies or pets and easy to use.
  • Included - Each package contains 30pcs disposable window fly trap. Ship new and old packaging at random. If there is any issue with quantity, please feel free to contact us.
  1. Empty and wash garbage cans. Check beneath the liner and around the lid. Tie waste bags securely and use a tight-fitting lid. If your pet’s food or waste goes into the bin, empty it more frequently during warm weather.
  2. Clean recycling containers. Rinse bottles, cans, food tubs, and pet-food containers before putting them in the recycling bin. Sticky residue can support fruit flies.
  3. Inspect food and appliances. Discard overripe produce and look beneath the refrigerator, oven, dishwasher, and cabinets for spilled food. Check the refrigerator’s condensate pan and drain if accessible according to the appliance manual.
  4. Deal with pet-related sources. Pick up dog feces promptly, clean litter boxes regularly, wash soiled bedding, and do not leave wet pet food sitting out for hours. Keep food bowls and feeding mats free of dried residue.
  5. Check drains. Sink, shower, bathtub, utility-room, and floor drains can collect an organic film. Scrub the inside of the drain and trap area with a stiff brush where accessible. A biological drain cleaner may help break down remaining buildup if its label permits use in that drain.
  6. Check damp materials. Wet mops, floor mats, cleaning rags, compost containers, and leaking pipes can all provide the moisture flies need.
  7. Look for hidden decay. Persistent blue or green flies may indicate a dead mouse, bird, or other animal in an attic, chimney, crawl space, wall void, or roof area. Do not put a pet into a contaminated area to investigate.

Do not pour bleach, boiling water, or ordinary chemical drain cleaner into a drain as a fly treatment. These approaches do not reliably remove the organic film where drain-fly larvae develop, and mixing cleaning products can create dangerous fumes. Physical scrubbing is the important step.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Block flies from coming back inside

House flies often enter through open doors, unscreened windows, vents, and small gaps rather than breeding in the living room. Repair window and door screens, replace damaged weather-stripping, and seal cracks around frames and utility penetrations. Make sure vents are screened without blocking necessary airflow.

Reduce outdoor sources near the house. Remove pet feces, dead animals, rotting vegetation, and wet organic debris from the yard. Keep compost properly managed and outdoor garbage cans clean and closed. If a dog door is present, check that its flap closes completely; a damaged or poorly fitted flap can become a regular entry route.

Also popular on Amazon
Zevo Flying Insect Trap for Fruit Flies & Gnats, 1 Plug-In Base & 1 Refills | Catches Fruit Flies & Gnats Near Fruit Bowls & Trash Bins, Spray-Free, Odor-Free, Blue & UV Light Trap, Safe for Kids & Pets*
  • Catch Flying Insects 24/7: This plug-in flying insect trap uses blue & UV light to attract and catch house flies, fruit flies, gnats, and flying pests. Its continuous attraction helps catch insects day and night for everyday indoor flying pest control.
  • No-Mess Adhesive Cartridge: Disposable glue cartridge works like bug sticky traps by holding trapped insects hidden on the wall-facing adhesive pad, while the no-mess tab makes cartridge removal simple when it is time to toss and replace.
  • Spray-Free, Zap-Free, Odor-Free Design: This quiet fly trap helps quickly and continuously control small flying insects indoors without spraying, zapping or added odors, making it a discreet everyday option in kitchens, living rooms, bathrooms, enclosed patios, and other indoor spaces.
  • Family-Friendly Fly Trap: Safe for use around children and pets when used as directed.* Works best placed near the source - fruit bowls, trash bins and indoor plants, where flying insects and fungus gnats gather.
  • Year-Round Indoor Fly Control: Blinking blue light reminds you to check the cartridge every six weeks. Includes 1 device & 1 cartridge for everyday fly control in your kitchen and home. Stock up on refills or choose a Value Pack to keep a fly catcher in every room.

Use the right trap for the fly

House flies

For one or two flies, a swatter is often the simplest option. Sticky ribbons can help in areas where they will not touch pets, children, food, or cooking surfaces. An indoor UV light trap may help with larger flies when positioned away from windows and other competing light sources. Place it around 4 to 6 feet above the floor, where house flies commonly travel.

Do not use high-voltage outdoor bug zappers indoors. They can scatter insect fragments onto nearby surfaces, including food-preparation areas. Any trap should be secured or placed where a curious cat, dog, bird, or small mammal cannot chew it, knock it over, or contact its adhesive or electrical components.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Fruit flies

Make a temporary trap with a small amount of apple-cider vinegar, wine, beer, or sugar water and a few drops of dish soap. The soap reduces the liquid’s surface tension, making it harder for flies to escape after landing. Replace the bait every few days.

Put the trap beside the suspected source, but keep it completely inaccessible to pets. It is not enough to catch adults: discard overripe produce, wash fruit bowls, rinse bottles and cans, clean the recycling bin, and inspect the garbage-disposal splash guard and nearby drains. A vinegar trap can continue catching flies while eggs and larvae remain in residue elsewhere.

Also popular on Amazon
Hot Shot Flying Insect Trap, Discreet, Hassle-Free Attracts, Captures House and Fruit Flies, 24/7 Continuous Attraction, No Plug-in or Electricity Needed, 6 Count 984ml Each, 0.2 Kilograms
  • CAPTURES FRUIT FLIES: This innovative trap attracts, captures and traps fruit flies and house flies. Not intended for fungus gnats or drain flies.
  • 24/7 CONTINUOUS ACTION: Decreases the number of fruit flies and house flies around your home.
  • DISCREET & COMPACT: The non-noticeable trap seamlessly blends in with home decor, so use throughout your home in kitchens and other living spaces, or near sources of food such as fruit bowls, sinks and kitchen counters.
  • FAST ACTING: This flying insect trap starts working immediately and provides fast, continuous action.
  • READY TO USE: With the hassle-free trap, there’s no mess and no plug-in or electricity required.

Drain flies

Use clear tape over a drain opening overnight, with the sticky side facing down, to see whether flies are emerging there. Then scrub the drain’s inner walls and removable parts to remove the organic film. Follow the cleaner label carefully, and keep pets away from treated plumbing until the product instructions say the area is safe.

Fungus gnats

Place yellow sticky cards near affected plants to monitor adults, but keep the cards out of reach of pets. Allow the soil surface to dry between waterings and stop keeping the potting mix continuously wet. Empty standing water from saucers.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A product containing Bacillus thuringiensis var. israelensis (Bti) may be useful as a soil drench only if its label specifically permits indoor-plant use. Follow the label; do not improvise with garden pesticides around animals. If you are unsure whether the plant is the source, cover it with screen or cheesecloth for several days and watch for emerging flies.

Be careful with insecticides around pets

Indoor sprays usually kill adult flies temporarily. They do not remove larvae in garbage, drains, wet soil, dead animals, or plumbing leaks, so repeated spraying can expose people and pets without fixing the infestation.

If you use a pesticide, read the label before buying or applying it. The label must permit the intended pest, location, and indoor use. Follow its instructions for removing pets, covering food and water bowls, ventilation, reentry time, and cleaning treated surfaces. Never:

Also popular on Amazon
Sale
TERRO T518 Fly Magnet Indoor Housefly, 8 Count Pack, Sticky Fly Trap Indoor Hanging
  • INCLUDES 8 FLY PAPERS - These sticky fly traps for indoors can be spread around your home
  • CONVENIENTLY DISPOSABLE - Indoor fly trap for home
  • ATTRACT AND TRAP FLIES - Use these sticky hanging fly strips indoors
  • FLY MAGNET STICKY FLY PAPER - No baiting, no odor, no mess
  • FLY RIBBON - Easy-to-use ribbon design
  • Use an outdoor pesticide inside the house.
  • Apply pesticide to a pet, its food, bedding, skin, or fur unless the product is specifically labeled for that animal and use.
  • Spray near birds, fish tanks, reptiles, or small mammals without following species-specific safety instructions.
  • Put fly bait, glue traps, or insecticide where an animal can lick, chew, or knock it over.
  • Use more product than the label directs.

Birds are particularly sensitive to airborne contaminants, and aquatic pets can be harmed by substances that enter aquarium water. When pesticide exposure occurs, move the animal away from the product and contact a veterinarian or animal poison service with the product name and active ingredients.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Why common fly fixes fail

Common fix Why it fails Better approach
Vinegar trap only It catches adult fruit flies but leaves eggs and larvae in food residue, drains, trash, or recycling. Use the trap while removing the breeding material.
Spraying the whole room It knocks down adults but does not remove the source and may expose pets. Clean, exclude, and trap; use pesticide only as a labeled supplement.
Bleach or boiling water in a drain It does not reliably scrub away the film that supports drain-fly larvae. Physically brush the drain and correct leaks or drainage problems.
Assuming every tiny kitchen fly is a fruit fly Drain flies, fungus gnats, phorid flies, and fruit flies need different treatments. Observe body shape and test drains or plant soil.
Bug bombs Total-release foggers carry fire, inhalation, and pesticide-exposure risks and do not replace sanitation. Avoid them for ordinary fly problems and use source removal first.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

When to call a professional

Contact a pest professional, plumber, wildlife-control specialist, or other appropriate expert when:

  • Large numbers of blue or green flies keep appearing.
  • Flies emerge from a wall, ceiling, chimney, attic, crawl space, or beneath a floor.
  • You suspect a dead animal but cannot safely locate or remove it.
  • Drain flies continue after the drain has been physically cleaned.
  • There is a sewage odor, a slow drain, damp flooring, or a suspected sewer-line break.
  • The infestation continues after you remove food, waste, moisture, and entry points.

Persistent flies can be a sign of a structural or plumbing problem rather than poor housekeeping. A professional can inspect inaccessible voids and identify the source without exposing your pets to unnecessary treatments.

Also popular on Amazon
Sale
Fruit Fly Traps for Indoors, Blue Gnat Trap Indoor with Suction & Timer | Uv Light Lures Fruit Flies/Gnats, Timer 6/12hrs, Plug in Fly Trap with Suction, Kid & Pet Applicable, Low Noise, 10 refills
  • Efficient Indoor Pest Trapping:Place the fly trap indoor near fruits, vegetables, plants, or trash cans indoors. It uses ultraviolet light of a specific wavelength to actively attract small flying insects such as fruit flies, mosquitoes, and moths, offering wide coverage and high capture efficiency.
  • Mosquito Control:This indoor fruit fly trap uses a physical method to capture pests: First, a high-suction fan draws the pests inside, and then they become stuck to the sticky pad. The entire process uses physical methods, so whether for people or pets, you can feel relieved using it at home.
  • Timer Setting:To use this gnat traps for house indoor, simply plug the USB cable and adapter into a power source and press the power button. You can choose between continuous operation or 6- or 12-hour timer modes—making it perfect for everyday use.
  • Sleek & Minimalist:This indoor fly trap features a compact design that takes up little space and blends seamlessly with any home decor. Its understated, modern look delivers powerful mosquito control without compromising your living space's aesthetic.
  • Versatile & Quiet:Suitable for bedrooms, living rooms, kitchens, nurseries, offices, and more. Operating at a whisper-quiet level , it won't disturb your sleep, work, or reading. You can enjoy your time while still maintaining peace and comfort.

FAQ

What is the fastest way to get rid of flies in the house?

Remove the breeding source first: empty and wash garbage cans, remove pet waste, discard spoiled food, clean recycling residue, scrub affected drains, and dry overwatered plant soil. Then repair screens and use an appropriate trap for the remaining adults. Spraying alone is faster only at killing visible flies, not at ending the infestation.

Are homemade vinegar traps safe around dogs and cats?

Keep them out of reach. Apple-cider vinegar and a small amount of dish soap are not a substitute for pet-safe placement, and an animal can spill or drink the mixture. Put traps behind a closed door, inside a secured area, or use a commercial trap placed exactly as its label directs.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Why are flies coming from my sink drain?

Drain flies may be breeding in the slimy organic film inside the drain or in a nearby overflow channel, floor drain, or plumbing defect. Confirm the source with clear tape over the drain, then physically scrub the buildup and investigate leaks if the flies persist.

Can flies harm my pet?

A few ordinary house flies are generally an annoyance, but flies can contaminate food and surfaces, and a heavy infestation may indicate feces, decay, or sewage nearby. More immediate risks often come from careless pesticide use, glue traps, or bait that a pet can lick or chew. Keep treatment products inaccessible and ask a veterinarian about any suspected exposure.

The Bottom Line

For lasting fly control, follow this order: identify the fly, remove its moist organic breeding site, clean pet-waste and food areas, seal entry points, and trap the remaining adults. Avoid routine indoor spraying, drain “home remedies,” and unsecured traps around animals. If flies keep emerging from walls, drains, ceilings, or other inaccessible areas, bring in a pest or plumbing professional.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply. Prices as of November 10, 2026 4:50 am GMT+0530.

catsdogsflieshome carepest controlpet safety

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from The Den

Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.