Skip to content

How to Get Rid of House Flies: Inspection, Sanitation, Traps, Treatment

House flies are more than a nuisance—they can contaminate food, spread disease-causing organisms, and damage your reputation if you run a restaurant or commercial kitchen. If you’re wondering how to get rid of house flies fast and keep them out for good, this complete, research-based guide covers everything you need: inspections, sanitation, exclusion, trapping, and when to consider professional treatment. You’ll also learn about house fly biology, health risks, and the best DIY and commercial fly control methods to protect your home or business.

Use this step-by-step plan for house fly control in homes and in commercial settings like restaurants, groceries, and food processing facilities. If you’re in Eastern North Carolina—including Greenville, Kinston, Goldsboro, or New Bern—see the regional tips below and explore our local service options for rapid, targeted help.


Quick Facts About House Flies

  • Species: House fly (Musca domestica)
  • Flight range: 0.5–2 miles commonly; can travel farther with winds and attractive odors
  • Reproduction: One female can lay 350–900 eggs in her lifetime
  • Development speed: Egg to adult in 7–10 days under warm, moist, nutrient-rich conditions
  • Lifespan: Adults typically live 2–4 weeks, depending on temperature, food, and predators
  • Preferred breeding sites: Moist, decaying organic matter—garbage, manure, soiled litter, food waste, lawn clippings, and wet compost

Why this matters: If you want to know how to get rid of house flies, start by removing and preventing their breeding sites while blocking their entry.


House Fly Biology: Life Cycle, Behavior, and Where They Breed

Understanding the house fly life cycle makes control dramatically easier.

The House Fly Life Cycle

  1. Eggs (0–24 hours)
    • Laid in clusters of 75–150 on moist, decaying organic material.
    • Appears white, rice-like. Hatches in about a day under warm conditions.
  2. Larvae (Maggots) (3–5 days)
    • Live in the food source: wet garbage, manure, soiled bedding, decaying produce, or organic muck.
    • Avoid light and seek moisture and warmth.
  3. Pupae (2–6 days)
    • Crawls to a drier spot to pupate. Brown, capsule-like case.
    • Transformation to adult completed in several days, faster in heat.
  4. Adults (2–4 weeks)
    • Feed on sugary or protein-rich liquids; regurgitate digestive fluids to liquefy solids.
    • Females begin laying eggs 2–3 days after emerging.

Warmth and moisture accelerate development. In summer, a generation can complete in a week—leading to explosive population growth if breeding sites remain.

Where Do House Flies Lay Eggs?

  • Food waste in trash cans and dumpsters, especially if bags leak
  • Pet feces, soiled litter, and backyard waste
  • Rotting produce in kitchen or garage bins
  • Organic sludge in recycling bins, drain catch basins, and mop buckets
  • Lawn clippings, compost piles that are too wet, and livestock manure

Eliminate these sites and you’ll break the life cycle—this is the foundation of effective house fly control.


Health Risks: Why House Flies Are a Serious Concern

House flies are mechanical vectors: they pick up germs on their legs and mouths and deposit them onto food and surfaces. Studies and extension resources link house flies with bacteria like Salmonella, E. coli, Shigella, and others associated with foodborne illness. They frequent garbage, feces, and decaying matter, then land on food-prep areas and dishes.

Bottom line: Reducing fly pressure is a public health measure—especially important for households with vulnerable individuals and for any business that handles food.


House Fly vs. Stable Fly: What’s Buzzing Around You?

Correct identification matters. Stable flies (Stomoxys calcitrans) look similar but behave differently.

  • House fly (Musca domestica)
    • Does not bite humans.
    • Feeds on liquids, decaying matter, and sugars.
    • Thorax with four dark stripes; sponging mouthparts.
    • Common on windows, garbage, and indoor surfaces.
  • Stable fly
    • Bites people and animals; painful stab with a bayonet-like proboscis.
    • Often found on legs of livestock, on beaches, and around outdoor seating.
    • Check for protruding mouthpart when viewed from the side.

If you’re getting bitten, you’re likely dealing with stable flies or other biting flies, not house flies. Identification guides: UC IPM’s Flies in and Around Homes.

For detailed identification photos and tips, see our guide: House Fly vs. Stable Fly.


Why Are There Flies in My House?

Common causes include:

  • Unsealed trash or recycling, leaky bags, and food residue in bins
  • Ripe or rotting fruit left uncovered
  • Pet waste in the yard or litter boxes not cleaned daily
  • Open doors and unscreened windows during warm weather
  • Gaps under doors, damaged screens, torn weather stripping
  • Sticky soda/beer residues in cans and recycling containers
  • Overflowing outdoor garbage cans and nearby dumpsters
  • Overwatered compost or wet lawn clippings
  • Nearby animal facilities, poultry or hog farms, and manure storage

Fixing these attractants is key to how to get rid of house flies quickly and keep them away.


The 5-Step House Fly Control Plan

This integrated, step-by-step plan works for homes and commercial kitchens alike. Each step supports the next.

Step 1: Inspect and Find the Source

  • Indoors:
    • Check kitchen trash, recycling bins, under-sink areas, and floor drains.
    • Inspect fruit bowls, bread boxes, and pantry for overripe items.
    • Look under appliances for spills and grease build-up.
    • Check mop buckets and dirty rags; launder and dry after use.
    • Verify window screens and door sweeps are intact.
  • Outdoors:
    • Inspect garbage cans for cracked lids, leaky bottoms, or residue.
    • Look for pet feces, decaying produce near compost, and wet yard waste.
    • Examine recycling bins for sugary residues.
    • Check around grills, patio tables, and outdoor feeding areas.
    • For restaurants: assess dumpster pads, compactor seals, and grease bins.

Professional tip:

  • Use a flashlight and nose test—follow odors. If you smell sour or rotten, there’s likely a breeding source.
  • Place a few sticky cards near suspected hotspots for 24–48 hours to map fly activity and confirm entry points.

Step 2: Sanitation—Remove What Feeds and Breeds Flies

Sanitation is the single most important element of house fly control.

  • Trash and recycling:
    • Use durable bags and tie them tightly; double-bag juicy waste.
    • Rinse food containers before recycling.
    • Wash bins weekly with hot soapy water, then disinfect per label. Let dry fully.
    • Keep lids tightly closed; replace cracked lids immediately.
  • Kitchen and dining:
    • Wipe counters after meals; clean up crumbs and sticky spills.
    • Store fruit in the fridge or covered containers.
    • Clean under appliances and inside drip pans regularly.
    • Run dishwasher promptly; avoid leaving dirty dishes overnight.
  • Drains and wet areas:
    • Degrease and clean floor and sink drains weekly; use a microbial drain cleaner to break down organic film. Avoid pouring bleach into drains if it could damage plumbing or create unsafe fumes.
    • Dry mop heads between uses; empty and clean mop buckets daily.
  • Pet and yard waste:
    • Scoop pet feces daily; bag and dispose of properly.
    • Keep litter boxes clean and dry; seal used litter in bags before discarding.
    • Compost correctly—balance browns and greens, turn to aerate, and avoid excessive moisture.
  • Outdoors and dumpsters:
    • Hose down garbage can interiors and dumpster pads; apply a degreaser on residues.
    • Keep dumpsters closed and positioned away from doors. Schedule frequent pick-ups in warm months.

Commercial tip:

  • Build a daily/weekly sanitation checklist. Tie cleaning schedules to HACCP or food safety plans. Document everything—health inspectors and auditors love records.

Authoritative cleaning guidance:

Step 3: Exclusion—Block Their Way In

  • Screens and seals:
    • Repair window screens; install 16–18 mesh for standard flies.
    • Add door sweeps and weather stripping to close light gaps.
    • Install self-closing hinges and keep doors closed when not in use.
  • Doors and airflow:
    • For restaurants, consider air curtains at main entries and drive-through windows.
    • Maintain slight positive air pressure in dining and prep areas to push flies out, not pull them in.
  • Vents and openings:
    • Screen vents, louvers, and soffits with corrosion-resistant mesh.
    • Seal around pipes and conduits with appropriate exterior-grade sealant.
  • Lighting:
    • Use yellow “bug” bulbs outdoors or relocate bright lights away from doors to reduce attraction.

Homeowner tip:

  • Stand inside at night and look for daylight around doors and windows. If you see light, flies can enter.

Step 4: Trapping—Reduce Adult Populations Quickly

Trapping knocks down adult flies while sanitation and exclusion starve out new generations.

  • Indoor traps:
    • UV light traps (ILT) with sticky boards are best for food areas; position 4–6 feet high, away from competing bright lights, and not visible from entrances.
    • Sticky ribbons or discreet wall-mount traps near entry points and warm windowsills.
    • Baited jar traps in garages or mudrooms—avoid food prep zones.
  • Outdoor traps:
    • Baited jug or bag traps placed 20–50 feet from doors, in sun and out of prevailing winds toward the building.
    • Odor-baited traps attract flies away from entries; don’t hang them by the back door.
  • DIY trap ideas:
    • Vinegar and dish soap in a jar (works best for small flies and some house flies).
    • Yeast-sugar bottle traps to produce CO2 and attract flies.

Professional tips:

  • Rotate attractants periodically to prevent trap fatigue.
  • Replace sticky boards monthly or when dusty/filled; check ILT bulbs annually and replace per manufacturer specs.
  • Don’t rely solely on traps—they collect adults but won’t solve breeding.

Step 5: Targeted Treatments—Baits, IGRs, and Limited Sprays

When sanitation and exclusion are strong, targeted products can speed relief. Always read and follow the EPA-approved product label and safety directions.

  • Fly baits:
    • Granular or paint-on baits containing active ingredients like imidacloprid or dinotefuran are effective for adult house flies.
    • Apply outdoors on sheltered surfaces near fly resting spots (e.g., sunny exterior walls, dumpsters). Keep away from kids, pets, and food.
    • In restaurants, use only in labeled, permitted locations and never where food could be contaminated.
  • Insect growth regulators (IGRs):
    • Products with cyromazine or pyriproxyfen target larvae development at breeding sites.
    • Useful near dumpsters, manure areas, and waste compaction zones when paired with sanitation.
  • Residual sprays:
    • Exterior spot treatments on typical fly rest areas—sunny walls, eaves, and dumpster corral surfaces—may help.
    • Avoid broad, indiscriminate spraying and protect pollinators. Never apply to food, food-contact surfaces, or where runoff can occur.
  • Space sprays and aerosols:
    • Provide quick knockdown of exposed adult flies but no residual control.
    • Best for emergency relief in non-food areas; ventilate properly after use.
  • Drain treatments:
    • Use foam or microbial drain products to remove organic build-up; not conventional insecticides.

Guidelines:

When in doubt, contact a licensed house fly exterminator to design an integrated program: Book a Fly Inspection.


Special Focus: Flies Around Garbage Cans and Dumpsters

Garbage cans and dumpsters are fly magnets if not managed vigorously.

  • Choose the right can:
    • Rugged plastic or metal with tight-fitting lids and intact seals.
    • For businesses, use a compactor or locked-top dumpster when possible.
  • Keep it clean:
    • Rinse and scrub interiors weekly with hot soapy water. Disinfect after cleaning (follow label).
    • Allow to dry fully before reuse; keep lids closed at all times.
  • Bag smart:
    • Double-bag wet waste; don’t overload bags to avoid tears.
    • Tie bags securely; never place loose food waste directly into cans.
  • Location and pad:
    • Keep cans/dumpsters on a clean, graded, drainable pad away from doors and air intakes.
    • Maintain a regular pick-up schedule—more frequent in hot months.
  • Odor control:
    • Use enzyme-based cleaners to break down organic residues and odors.
    • Avoid scented covers that attract more flies without fixing the source.
  • Larvae control:
    • If maggots appear, remove bags, rinse residue, and clean thoroughly. Reduce moisture and organic matter—the maggots will die off.
    • Consult local extension guidance for acceptable sanitation practices in your area: NCSU Extension’s Flies in and Around Homes.

Commercial Fly Control: Restaurants, Groceries, and Food Plants

Flies in a food business threaten customer confidence and regulatory compliance. A commercial fly control plan should be documented and auditable.

Key elements:

  • Facility design and maintenance:
    • Self-closing doors, air curtains, and door sweeps.
    • Screens on windows and vents; seal wall penetrations.
    • Positive air pressure in prep and dining areas.
  • Waste and grease management:
    • Daily cleaning of dumpster pads and grease bin areas.
    • Covered, leak-free containers and scheduled pickups.
  • Sanitation SOPs:
    • Assign responsibilities for floors, drains, and equipment undersides.
    • Eliminate wet mops and dirty rags; use color-coded tools for zones.
  • Monitoring and thresholds:
    • Install ILTs and sticky monitors; map and log weekly counts.
    • Establish action thresholds (e.g., more than X flies per trap per week).
  • Targeted controls:
    • Exterior baits, IGRs near dumpsters, and strategic residual treatments on non-food surfaces where allowed.
    • No zappers in exposed food prep areas; choose ILTs with containment.
  • Training and auditing:
    • Train staff to keep doors closed, report spills immediately, and maintain the waste area.
    • Conduct monthly audits and trend trap data.

For tailored commercial fly control, see: Commercial Fly Control for Restaurants.


Regional Notes: Fly Control in Eastern North Carolina

Warm, humid weather and regional agriculture can intensify fly pressure from spring through fall. In areas near livestock operations, poultry houses, or waste handling sites, flies can surge rapidly after rain and heat waves.

Local tips:

  • Increase garbage pickup frequency in peak summer.
  • Add exterior ILTs in sheltered locations and rotate attractants.
  • Focus on yard sanitation—pet waste and lawn clippings are major drivers.
  • Inspect soffit vents and install fine mesh where needed.

Local help and same-week service:


DIY Methods That Work (And What to Skip)

Effective DIY:

  • Rigorous sanitation and moisture control indoors and out.
  • Repair screens, add door sweeps, and reduce outdoor lighting near entries.
  • Use ILTs and sticky traps indoors; baited traps outdoors, away from doors.
  • Microbial drain cleaners to remove organic build-up.

Use with care:

  • Fly baits and residual sprays—follow labels strictly; keep away from kids/pets and food areas.
  • Essential oils (e.g., lemongrass, eucalyptus) may repel briefly but won’t solve breeding.

Skip or be skeptical:

  • Penny-in-a-bag water tricks. Anecdotal at best; not reliable.
  • Overusing aerosols indoors. Temporary knockdown only; invest in source control.
  • Hanging baited traps right by doors; they draw more flies to entries.

Troubleshooting: If Flies Keep Coming Back

  • Re-check for hidden breeding sites:
    • Under or behind appliances, floor drain traps, mop sinks, recycling bins, and garage trash.
    • Stuck-on residues in outdoor trash can seams and dumpster gaskets.
  • Consider alternate culprits:
    • Blow flies indicate a carcass (rodent or wildlife) in a wall, attic, or crawlspace.
    • Stable flies bite—look outdoors near seating or livestock areas.
  • Escalate controls:
    • Increase frequency of bin cleaning and waste pickups.
    • Add exterior baits and an IGR program near waste areas.
    • Expand ILT coverage and refine placement using trap catch maps.

If you’re still battling a house fly infestation after two weeks of diligent sanitation and exclusion, it may be time for a professional inspection: Book a Fly Inspection.


Frequently Asked Questions About House Flies

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

The fastest way to reduce house flies is to locate and remove the source attracting or producing them. This usually means inspecting for garbage, food residue, pet waste, decaying organic material, dirty drains, or other breeding sources. Sanitation should be combined with exclusion, properly placed traps, and, when necessary, professional pest control.

Why do I keep getting house flies inside my home?

House flies usually enter through open doors, damaged screens, gaps around windows, or other openings. If flies continue appearing indoors, there may also be a nearby breeding source such as garbage, animal waste, spoiled food, or decaying organic material. Repeated fly activity should be investigated instead of relying only on sprays.

Where do house flies lay their eggs?

House flies commonly lay eggs in moist, decaying organic material where their larvae can develop. Common sources may include garbage, spoiled food, animal waste, compost, and other decomposing material. Finding and removing the breeding source is one of the most important steps in long-term house fly control.

Will cleaning the house get rid of flies?

Good sanitation can significantly reduce house fly activity, especially when food debris, garbage, spills, and other organic material are removed. However, cleaning alone may not solve the problem if flies are entering from outdoors or breeding in a hidden or nearby location. Inspection, sanitation, exclusion, and trapping often work best together.

What attracts house flies to a home?

House flies are attracted to food odors, garbage, sugary liquids, pet waste, decaying organic material, and other sources they can feed on or use for breeding. Kitchens, trash containers, pet areas, garages, and exterior garbage storage areas are common places to inspect when fly activity increases.

Are house flies dangerous?

House flies can contact garbage, waste, decaying material, and other contaminated surfaces before landing on food preparation areas, dishes, counters, and other household surfaces. Because of this behavior, controlling house flies is important for sanitation as well as comfort.

Do fly traps actually work?

Fly traps can help reduce adult fly populations when they are selected and positioned correctly. Sticky traps, light traps, and other fly-control devices are most effective when used as part of a broader control program. Traps should not replace the inspection and removal of breeding sources.

Where should fly traps be placed?

Fly traps should generally be placed where flies are active while avoiding locations that may attract flies deeper into food preparation or living areas. Placement depends on the type of trap being used. Monitoring fly activity can help identify the most effective locations.

Why do I still have flies after spraying?

Sprays may kill exposed adult flies, but they do not necessarily eliminate the source producing new flies. If breeding material remains, additional adults can continue emerging. A complete fly-control program should focus first on inspection, sanitation, breeding-source removal, and exclusion.

How can I keep house flies from coming inside?

Keep doors and windows closed when possible, repair damaged screens, seal gaps around openings, keep garbage containers covered, remove food waste promptly, and maintain clean exterior areas. Reducing outdoor attractants near doors and windows can also help lower fly pressure around the building.

Can house flies breed in garbage cans?

Yes. Garbage containers containing moist food waste and decaying organic material can become attractive breeding sites for flies. Trash containers should be emptied regularly, kept covered, and cleaned when residue builds up inside or around them.

Can pet waste cause a house fly problem?

Yes. Animal waste can attract flies and may provide suitable material for fly development. Pet waste should be removed frequently from yards, kennels, litter areas, and other locations where it can accumulate.

Why are there suddenly so many flies in my house?

A sudden increase in flies can indicate a new breeding source, a sanitation problem, increased outdoor fly pressure, or an entry point that is allowing large numbers of flies indoors. A thorough inspection should focus on both the inside and outside of the property.

How long does it take to get rid of a house fly infestation?

The amount of time required depends on the source and severity of the problem. Adult flies can often be reduced quickly, but ongoing activity may continue if eggs or larvae are developing in breeding material. Removing the source is essential for breaking the fly life cycle.

Should I use insecticide or traps for house flies?

Traps and insecticides serve different purposes. Traps can monitor and reduce adult flies, while insecticides may be used in appropriate situations to control exposed flies. Neither method should replace sanitation, exclusion, and breeding-source removal, which are critical for long-term control.

When should I call a professional pest control company for flies?

Professional assistance may be appropriate when fly activity continues after sanitation and exclusion efforts, when the breeding source cannot be located, or when flies are affecting a restaurant, rental property, business, or other sensitive environment. A professional inspection can help identify where the flies are coming from and determine the most appropriate control strategy.

Does D & D Pest Control Co. provide professional fly control in Eastern North Carolina?

Yes. D & D Pest Control Co. provides professional pest control services in Eastern North Carolina. Fly-control service may include inspection, identification of contributing conditions, sanitation recommendations, exclusion guidance, trapping, and treatment when appropriate. Call D & D Pest Control Co. at (252) 523-8255 or visit our pest control website for more information.