Quick answer
How do you get rid of flies in Sunnyvale, CA?
Killing adult flies gives only temporary relief, so flies in a Sunnyvale home or business are eliminated by finding and removing the material the larvae breed in. An Ants & Rodents technician identifies the species, traces it to its source, such as a drain film, garbage or overripe produce, and removes it, with ultraviolet light traps or bait set for the remaining adults. A visit typically runs 45 to 60 minutes, and house flies can develop from egg to adult in as little as 7 days. Our 2026 price data puts fly extermination at $175 to $300 per treatment in the U.S. Call (510) 991-2327 for a Sunnyvale quote.
Sunnyvale is 17 miles south of Hayward in Santa Clara County. Ants & Rodents Hayward covers Sunnyvale from the same phone line, (510) 991-2327.
| Primary method | Find and remove the breeding source: drain film, garbage, rotting produce, manure or carrion |
|---|---|
| For adult flies | Ultraviolet light traps indoors, sticky traps, and bait in outdoor trash storage areas |
| First visit | 45 to 60 minutes, including species identification and source tracing |
| Time to results | One breeding cycle: about 7 days for house flies, 10 to 15 days for drain flies |
| What is treated | Drains, trash areas, entry points and exterior resting walls, not the air in the room |
| Season | Year-round indoors for drain and fruit flies; fall for cluster flies entering walls |
| What you should not do | Pour insecticide down a drain or rely on aerosol sprays; neither removes the breeding material |
| Typical cost | $175 to $300 per treatment (Ants & Rodents 2026 U.S. price data) |
| License | Required in California; issued by Structural Pest Control Board (SPCB) |
Local conditions
Why do buildings in Sunnyvale get flies?
The mean monthly temperature in Sunnyvale is 50°F or higher in 12 months of the year (January through December), measured at Moffett Federal Airfield. Through nearly all of that window, house flies and blow flies breed outdoors in garbage and animal waste, and a house fly develops from egg to adult in as little as 7 days under summer conditions.
The average high in Sunnyvale in September, its warmest month, is 78°F. Here, indoor temperatures matter more than outdoor ones. At about 70°F drain flies complete a generation in 10 to 15 days, and at 77°F fruit flies take 8 to 10 days, so the fly problems that persist in Sunnyvale are those breeding inside heated buildings.
In Sunnyvale, about 38% of homes are in buildings with 5 or more units. The organic film and garbage that drain flies and phorid flies breed in collect in shared drain lines, trash rooms and compactor chutes, and phorid flies can travel long distances from a source, which is why flies in one Sunnyvale apartment often trace to a common area.
California facts that apply in Sunnyvale
- California structural pest control licenses are issued in three branches: Branch 1 for fumigation, Branch 2 for general household pests, and Branch 3 for termites and other wood-destroying pests and organisms.
- California's Healthy Schools Act requires public K-12 schools, child care centers, and the pest control businesses that serve them to report each year's pesticide applications to the Department of Pesticide Regulation by January 30 of the following year.
- Business and Professions Code Section 8555 exempts pest control that people perform on property they own, lease, or rent, so the California licensing requirement covers hired work, not a resident treating a home.
| Months with a mean temperature of 50°F or higher | 12 (January through December) |
|---|---|
| Average high in September | 78°F |
| Homes in buildings with 5 or more units | 38% |
| Single-family detached homes | 36% |
| Housing units | 61,808 |
Ants & Rodents local data for Sunnyvale, compiled December 2026 from public housing and weather records. How we compile it.
Identification
How do I identify the flies in my Sunnyvale home?
Identifying the species tells the technician where to look, because each fly breeds in a different material. A fruit fly points to fermenting produce, a drain fly to slime in a pipe, and a cluster fly to nothing indoors at all. These are the flies found in California buildings.
| Fly | Size | Appearance | Where it breeds | What it tells you |
|---|---|---|---|---|
| House fly | Under 3/8 inch | Gray with four dark stripes down the back of the thorax | Manure, garbage, lawn clippings, decaying vegetables and fruit | A source within a mile or two; check trash storage and pet waste first |
| Blow fly (bottle fly) | Robust body | Shiny metallic green or blue, sometimes with a copper tint | Carrion, manure and garbage | Several indoors at once call for a check for a dead animal in a wall or attic |
| Fruit fly | About 1/8 inch | Tan front, black rear, usually red eyes | Ripened produce, drains, disposals, empty bottles, mops and rags | Something is fermenting; one female lays about 500 eggs |
| Drain fly (moth fly) | 1/16 to 3/16 inch | Fuzzy and moth-like, with oval wings held roof-like over the body | Gelatinous film inside sink, shower and floor drains | A drain or trap needs mechanical cleaning |
| Phorid fly | About 1/8 inch | Humpbacked, light brown to yellow; runs when disturbed instead of flying | Decaying organic matter, dead animals, leaking sewage, drain openings | Can breed well below ground; persistent cases need a plumbing check |
| Cluster fly | A little larger than a house fly | Sluggish, with short golden hairs on the thorax | Larvae are parasites of earthworms outdoors; nothing breeds in the house | Sealing and a fall exterior treatment solve it, not sanitation |
| Fungus gnat | About 1/8 inch | Slender and black with long legs; resembles a mosquito | Moist potting soil and organic matter around houseplants | Plants are overwatered; let the soil dry out |
Sizes are for adult flies, and breeding sites vary by species.
What to look for
What tells me where flies are breeding?
- When small, fuzzy flies rest on the wall beside a sink, shower or floor drain, that drain is the likely source, as drain fly adults stay close to their breeding site.
- Sluggish flies that gather at windows in little-used rooms on warm, sunny days in late fall, winter or early spring are cluster flies coming out of the walls.
- When house flies swarm around the trash cart, garbage has sat longer than the 7 days it takes a house fly to develop in summer.
- Fruit flies are the tiny flies that hover over a fruit bowl, recycling bin or mop bucket, attracted by fermenting juice, beer, vinegar and overripe produce.
- Adult flies trapped overnight by a clear plastic bag taped over a drain or disposal opening confirm that the pipe is the breeding source.
- Small flies that run across a counter or wall instead of taking off are phorid flies, which breed in decaying matter, drain openings and leaking sewage.
- Blow flies are the shiny metallic blue or green flies that appear indoors in winter or early spring, which develop in carrion or manure.

Talk to a licensed technician about flies in Sunnyvale
Free quote by phone. Same-day visits are often available when you call before noon.
Our process
What does an Ants & Rodents fly treatment in Sunnyvale involve?
Fly control is detective work first and treatment second. Because insecticide aimed at adults alone will not solve the problem, the technician identifies the species, finds what it is breeding in, removes or cleans that material, and only then deals with the adult flies.
Identify the fly species
The technician collects flies from windows, light fixtures and sticky cards and examines them with a hand lens. Four dark stripes on the thorax mark a house fly, red eyes a fruit fly, fuzzy roof-like wings a drain fly, and a humped back with a running gait a phorid fly. Knowing the species sets the search area.
Trace the flies to the source
For small flies, clear cups lightly coated with vegetable oil or petroleum jelly are inverted over each suspect drain for several days, and sticky traps show where catches are highest. For house flies and blow flies the technician checks trash storage, pet waste, compost and any dead animal in a wall, attic or crawl space.
Remove or clean the breeding material
Infested produce and garbage get discarded, and the bins are washed. Drains are scrubbed with a stiff wire brush to strip the gelatinous film, then treated with a bacterial or enzyme product poured around the drain lip or injected as foam. Pouring insecticide down a drain is never part of the work.
Set traps for adult flies
Indoors, ultraviolet light traps are mounted where they do not compete with daytime sunlight. Sticky ribbons go in confined areas, and fruit flies are collected in jar traps baited with a few ounces of cider vinegar. Outdoors, odor-baited cone traps are set at some distance from the building.
Bait and treat outdoor resting sites
Trash storage areas get fly bait, and a residual insecticide is applied to exterior walls and overhangs where flies rest when sanitation alone cannot keep up. For cluster flies the residual goes on in fall, beneath the eaves and around windows, before the flies move indoors.
Close the entry points
A list is made of the gaps found: torn screens, unsealed cracks around windows and doors, and doors propped open near dumpsters. Tight-fitting 16 mesh screens keep fruit flies out, and well-fitted screens limit house flies. For cluster flies, the long-term fix is sealing exterior openings.
Pricing
How much does fly control cost in Sunnyvale?
The price of fly control depends on how hard the breeding source is to find and reach. Fruit flies in a kitchen are a single visit. Phorid flies breeding in leaking sewage, or cluster flies in the walls of a large house, take more time and material.
| Service | U.S. price range | Priced |
|---|---|---|
| Fly extermination | $175 to $300 | per treatment |
| House flies | $150 to $250 | per treatment |
| Fruit flies | $100 to $175 | per treatment |
| Drain flies | $170 to $260 | per treatment |
| Cluster flies | $225 to $450 | per treatment |
Ants & Rodents 2026 price data, compiled November 2026 from published U.S. price guides. National ranges, not quotes: the price for your property depends on its size, the pest and how far the problem has spread. How we compile prices.
What changes the price
- Number of drains
- Each sink, shower and floor drain that tests positive is brushed and treated separately. A house with one slow shower drain takes far less time than a kitchen with 20 floor drains. For food businesses, see restaurant pest control.
- Traps and equipment
- Ultraviolet light traps are installed and serviced on a schedule in commercial kitchens and stores. While the source is being removed, homes usually need only temporary sticky or jar traps.
- Species and source
- A source in plain view, such as produce or a trash cart, is solved in one visit. Locating a source inside plumbing or below ground takes repeat monitoring with cups and sticky traps.
- One-time visit or plan
- Work that repeats, such as cluster fly treatment each fall or monthly drain service for a food business, is priced as a program. With a quarterly plan, house flies and other seasonal pests are covered on the same visits.
Prevention
What keeps flies from coming back to a Sunnyvale home?
Refrigerate or discard ripe produce
Eat, refrigerate or throw out fruit and vegetables once they ripen, and cut away cracked or damaged portions. A single fruit fly female lays about 500 eggs. Stored-food insects are covered under pantry pest control.
Dry out potted plants
Between waterings, let potting soil dry. A fungus gnat female lays 100 to 200 eggs on moist soil, and the eggs hatch in about four days.
Keep drains scrubbed
Clean sink and floor drains with a brush to remove the slime layer, and flush seldom-used drains and toilets. Drain fly larvae can live wherever water collects for a week or more.
Take garbage out weekly
Garbage and other organic waste should go out at least once a week, with lids kept tight. A house fly needs as little as 7 days to go from egg to adult in summer.
Fit tight screens
Fit windows and doors with tight-fitting 16 mesh screens and seal cracks around the frames. Cluster flies enter through small openings in walls, so window screens do not stop them.
Rinse bottles, mops and bins
Rinse empty bottles and cans, wring out mops and cleaning rags, and wash trash and recycling bins. Fruit flies breed in all of them.
Safety
What protects food, children and pets during a fly treatment?
Cleaning and trapping make up most fly work, and neither involves any pesticide at all. For any pest, EPA advises removing sources of food, water and shelter first, and asking a hired professional to find and correct the source of the problem before applying pesticides. Drain products used by Ants & Rodents are bacterial or enzyme cleaners, and insecticide is not poured into drains.
Bait or residual spray, where needed, goes in trash areas and on exterior walls, is applied according to the EPA-registered label and is kept away from food and food-contact surfaces. EPA advises that non-bait pesticides be applied to targeted locations instead of whole rooms, and that children and pets be kept away from treated areas. Fly swatters and bug zappers should not be used near food preparation areas, UC IPM cautions.
Service area
Where does Ants & Rodents provide fly control near Sunnyvale?
Ants & Rodents Hayward provides fly control in Hayward and 10 surrounding communities, all within 28 miles of Hayward. Each has its own page with local housing and climate data.
| Service area | County | Population | Median year homes built |
|---|---|---|---|
| Fly Control in Hayward, CA | Alameda County | 159,201 | 1972 |
| Fly Control in Union City, CA | Alameda County | 68,141 | 1979 |
| Fly Control in San Leandro, CA | Alameda County | 88,531 | 1959 |
| Fly Control in Castro Valley, CA | Alameda County | 65,389 | 1966 |
| Fly Control in Redwood City, CA | San Mateo County | 82,423 | 1968 |
| Fly Control in Oakland, CA | Alameda County | 438,072 | 1953 |
| Fly Control in San Mateo, CA | San Mateo County | 103,555 | 1964 |
| Fly Control in Alameda, CA | Alameda County | 76,876 | 1964 |
| Fly Control in Fremont, CA | Alameda County | 228,518 | 1978 |
| Fly Control in San Jose, CA | Santa Clara County | 990,054 | 1975 |
Questions
Fly control questions from Sunnyvale residents
Do ultraviolet fly traps work?
Ultraviolet light traps work on house flies when used indoors where they are not competing with daytime sunlight. Sticky ribbons will not work against adult blow flies and are effective only in relatively confined areas. Traps catch adults and leave the larvae untouched, so a trap that keeps filling means the breeding source has not been found.
Does hot water down the drain kill drain flies?
Hot water gives only short-term control of drain flies. The larvae live in the slime layer and can stay submerged for a day or more by trapping air bubbles. The film has to be removed with a stiff wire brush or steam, then broken down with a bacterial or enzyme product.
Can house flies make people sick?
House flies breed in manure and garbage before landing on food, and they can carry the organisms that cause diarrhea, food poisoning, dysentery and eye infections. The breeding site may be off the property, because house flies easily move one to two miles.
Who is allowed to apply fly bait or insecticide at a Sunnyvale home or business?
Applying pesticides for pay at a Sunnyvale home or business requires a license under California law from Structural Pest Control Board (SPCB). EPA says the operator should be able to provide information about the product, and advises writing down the name and EPA registration number of any chemical used by someone you hire.
Where did all the flies in my Sunnyvale house suddenly come from?
A sudden wave of flies means a batch of larvae has just matured nearby. A house fly lays several batches of 100 to 150 eggs, and in summer the eggs become adults in as little as 7 days. In a Sunnyvale house the usual sources are a trash cart, pet waste, forgotten produce, a drain, or a dead mouse in a wall or attic, which is a rodent control job.
Where do drain flies come from, the sewer or the drain?
The gelatinous film that builds up inside sink and floor drains is where drain flies breed, and infestations can also come from nearby sewage plants or waste disposal areas. Common indoor sources are seldom-used toilets, basement and garage floor drains and the drain pans under refrigerators.
Why are there flies in my house in winter?
Flies indoors in winter are usually cluster flies or flies breeding inside the building. Cluster flies overwinter in walls and attics and appear at windows on warm, sunny days; their larvae are parasites of earthworms, so they are not breeding in the house and are no health hazard. Drain flies keep developing indoors year-round.
How many days does fly control take in Sunnyvale?
Once the source is removed, flies in a Sunnyvale building decline over one breeding cycle, because adults already on the wing live out their lives. That cycle is about 7 days for house flies, 8 to 10 days for fruit flies and 10 to 15 days for drain flies, and adult fruit flies live about a month. The wait is shorter with traps.
Why us
Why choose Ants & Rodents for pest control in Sunnyvale?
Ants & Rodents is a national pest control brand, and Sunnyvale has its own dedicated line. This is what you get here that you will not get from every pest control company in California.
A California license on every job
The technician on every Sunnyvale job holds a California pest control license from the Structural Pest Control Board (SPCB). Ask to see the license at the door.
Technicians who cover your ZIP code
ZIP code routing means the technician who comes out is the one who works your part of Sunnyvale, not someone sent in from another region.
Written from Sunnyvale data
Sunnyvale's weather and housing records are tracked here, and we publish a pest calendar for Sunnyvale, so you can see what is active here this month and what is coming next.
Price ranges you can read before you call
Price ranges for all 54 services are published here, and quotes are free by phone. You can find out what a job costs without booking a visit.
Fast: same-day visits
Call (510) 991-2327 before noon and a same-day visit is often available. One call covers the quote and the booking.
One number for every pest
Ants and rodents gave the brand its name, and the same number also covers termites, bed bugs, mosquitoes, wasps and wildlife across Sunnyvale and 10 nearby communities.
Method
How Ants & Rodents built this page
Ants & Rodents compiles its own local data set for every city it serves and checks treatment facts against public references. This is what sits behind the numbers on this page.
- Ants & Rodents local data for Sunnyvale
- Housing age, housing type and population are compiled from U.S. Census Bureau American Community Survey tables for Sunnyvale (2019 to 2023). Temperature and rainfall are 30-year monthly averages (1991 to 2020) from the NOAA weather station at Moffett Federal Airfield, 2 miles from Sunnyvale. We recalculate season lengths and the pest calendar from those records for each city.
- Ants & Rodents 2026 price data
- Price ranges come from our November 2026 review of 57 published U.S. pest control price guides, including Fixr. They are national ranges, not quotes.
- Treatment and safety facts
- Checked against the public references below. Last updated November 30, 2026. How we write and check pages.
References we used
- University of Kentucky Department of Entomology. Small Flies (ENTFACT-657).
- University of California Statewide IPM Program. Flies (Pest Notes).
- University of Kentucky Department of Entomology. Drain Flies or Moth Flies (ENTFACT-615).
- California Department of Consumer Affairs, Structural Pest Control Board. Questions & Answers About Household Pest Control (Revised 05/2019).
- California Department of Pesticide Regulation. Healthy Schools Act and Training - Department of Pesticide Regulation.
- California Department of Consumer Affairs, Structural Pest Control Board. Structural Pest Control Act and Rules and Regulations (Updated as of July 2025).
- University of Kentucky Department of Entomology. Cluster Flies, Face Flies, and Blow Flies in Homes (ENTFACT-624).
- University of Kentucky Department of Entomology. Fruit Flies (ENTFACT-621).
- Penn State Extension. Moth Flies in the Home.
- U.S. Environmental Protection Agency. Do's and Don'ts of Pest Control.
- University of Kentucky Department of Entomology. How Far Can House Flies Fly? (ENTFACT-506).
Get a fly control quote in Sunnyvale
One call to (510) 991-2327. Enter your ZIP code and you are connected with a licensed California technician.




