Quick answer
How do you get rid of flies in San Francisco, CA?
Flies in a San Francisco home or business are eliminated by finding and removing the material the larvae breed in, because killing adult flies gives only temporary relief. 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. Most visits take 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 (628) 290-6439 for a San Francisco quote.
San Francisco is 31 miles west of Daly City in San Francisco County. Ants & Rodents Daly City covers San Francisco from the same phone line, (628) 290-6439.
| 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
What makes flies a problem in San Francisco?
The mean monthly temperature in San Francisco is 50°F or higher in 12 months of the year (January through December), measured at San Francisco Oceanside. Garbage and animal waste outdoors breed house flies and blow flies through nearly all of that window, and under summer conditions a house fly develops from egg to adult in as little as 7 days.
The average high in San Francisco in October, its warmest month, is 66°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, which is why the fly problems that persist in San Francisco are those breeding inside heated buildings.
About 49% of homes in San Francisco are in buildings with 5 or more units. Shared drain lines, trash rooms and compactor chutes hold the organic film and garbage that drain flies and phorid flies breed in, and phorid flies can travel long distances from a source, which is why flies in one San Francisco apartment often trace to a common area.
California facts that apply in San Francisco
- 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 October | 66°F |
| Homes in buildings with 5 or more units | 49% |
| Single-family detached homes | 18% |
| Housing units | 411,542 |
Ants & Rodents local data for San Francisco, compiled December 2026 from public housing and weather records. How we compile it.
Identification
How do I identify the flies in my San Francisco home?
Each fly breeds in a different material, so identifying the species tells the technician where to look. Fermenting produce is what a fruit fly points to, a drain fly points 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
How do I know where the flies are coming from?
- Adult flies caught overnight in a clear plastic bag taped over a drain or disposal opening are confirmation that the pipe is the breeding source.
- When house flies swarm around the trash cart, garbage has sat longer than the 7 days a house fly needs to develop in summer.
- Tiny flies hovering over a fruit bowl, recycling bin or mop bucket are fruit flies, which are drawn to fermenting juice, beer, vinegar and overripe produce.
- 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.
- Phorid flies are the small flies that run across a counter or wall instead of taking off, a species that breeds in decaying matter, drain openings and leaking sewage.
- Sluggish flies that gather at windows in little-used rooms on warm, sunny days in late fall, winter or early spring are cluster flies that have come out of the walls.
- Shiny metallic blue or green flies appearing indoors in winter or early spring are blow flies, which develop in carrion or manure.

Talk to a licensed technician about flies in San Francisco
Free quote by phone. Same-day visits are often available when you call before noon.
Our process
What steps does Ants & Rodents take to control flies in San Francisco?
In fly control, detective work comes first and treatment second. The technician identifies the species, finds what it is breeding in, removes or cleans that material, and only then deals with the adult flies, because insecticide aimed at adults alone will not solve the problem.
Identify the fly species
Flies are collected from windows, light fixtures and sticky cards and examined 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. The species sets the search area.
Trace the flies to the source
To trace small flies, the technician inverts clear cups lightly coated with vegetable oil or petroleum jelly over each suspect drain for several days, and sticky traps show where catches are highest. Trash storage, pet waste, compost and any dead animal in a wall, attic or crawl space are checked for house flies and blow flies.
Remove or clean the breeding material
Infested produce and garbage get discarded, and the bins are washed. A stiff wire brush strips the gelatinous film from drains, which are then treated with a bacterial or enzyme product poured around the drain lip or injected as foam. No insecticide is ever poured down a drain.
Set traps for adult flies
The technician mounts ultraviolet light traps indoors 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
The technician lists 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
What decides the price of fly control in San Francisco?
How hard the breeding source is to find and reach decides the price of fly control. A single visit handles fruit flies in a kitchen. 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
- Every sink, shower and floor drain that tests positive gets its own brushing and treatment. A kitchen with 20 floor drains takes far longer than a house with one slow shower drain. Food businesses are covered under restaurant pest control.
- Species and source
- One visit solves a source in plain view, such as produce or a trash cart. A source inside plumbing or below ground takes repeat monitoring with cups and sticky traps before it is located.
- 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.
- 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 San Francisco home?
Refrigerate or discard ripe produce
Once fruit and vegetables ripen, eat, refrigerate or throw them out, and cut away cracked or damaged portions. One fruit fly female lays about 500 eggs. Stored-food insects are covered under pantry pest control.
Keep drains scrubbed
Clean sink and floor drains with a brush to remove the slime layer, and flush seldom-used drains and toilets. Wherever water collects for a week or more, drain fly larvae can live.
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.
Fit tight screens
Windows and doors need tight-fitting 16 mesh screens, and cracks around the frames should be sealed. Cluster flies enter through small openings in walls, so window screens do not stop them.
Take garbage out weekly
Garbage and other organic waste should go out at least once a week, with lids kept tight. Going from egg to adult takes a house fly as little as 7 days in summer.
Rinse bottles, mops and bins
Rinse empty bottles and cans, wring out mops and cleaning rags, and wash trash and recycling bins. All of them are fruit fly breeding sites.
Safety
Is fly treatment safe around food, children and pets?
Cleaning and trapping make up most fly work, and neither involves any pesticide at all. EPA's advice for any pest is to remove sources of food, water and shelter first, and to ask 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.
Where bait or residual spray is needed, it is placed in trash areas and on exterior walls, applied according to the EPA-registered label and 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. UC IPM cautions against using fly swatters and bug zappers near food preparation areas.
Service area
Where does Ants & Rodents provide fly control near San Francisco?
Ants & Rodents Daly City provides fly control in Daly City and 10 surrounding communities, all within 31 miles of Daly City. Each has its own page with local housing and climate data.
| Service area | County | Population | Median year homes built |
|---|---|---|---|
| Fly Control in Daly City, CA | San Mateo County | 102,560 | 1965 |
| Fly Control in South San Francisco, CA | San Mateo County | 64,487 | 1963 |
| Fly Control in San Bruno, CA | San Mateo County | 42,612 | 1961 |
| Fly Control in Pacifica, CA | San Mateo County | 37,527 | 1966 |
| 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 Oakland, CA | Alameda County | 438,072 | 1953 |
| Fly Control in Berkeley, CA | Alameda County | 120,223 | 1946 |
| Fly Control in San Leandro, CA | Alameda County | 88,531 | 1959 |
| Fly Control in Hayward, CA | Alameda County | 159,201 | 1972 |
Questions
Fly control questions from San Francisco residents
What kind of flies show up indoors 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. Indoors, drain flies keep developing year-round.
Who can apply fly bait or insecticide at my San Francisco home or business?
Anyone paid to apply pesticides at a San Francisco home or business must be licensed under California law by 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.
Why do I suddenly have so many flies in my San Francisco house?
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 San Francisco 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.
Are drain flies coming up from the sewer?
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. Indoors, common sources include seldom-used toilets, basement and garage floor drains and the drain pans under refrigerators.
Will a UV light trap get rid of flies?
Used indoors where they are not competing with daytime sunlight, ultraviolet light traps work on house flies. Sticky ribbons are effective only in relatively confined areas and will not work against adult blow flies. A trap that keeps filling means the breeding source has not been found, because traps catch adults and leave the larvae untouched.
Can house flies make people sick?
Yes, house flies can carry the organisms that cause diarrhea, food poisoning, dysentery and eye infections, and they breed in manure and garbage before landing on food. The breeding site may be off the property, because house flies easily move one to two miles.
Will pouring hot water down the drain get rid of drain flies?
Pouring hot water down the drain controls drain flies only for a short term. Living in the slime layer, the larvae can stay submerged for a day or more by trapping air bubbles. Removing the film takes a stiff wire brush or steam, followed by a bacterial or enzyme product to break it down.
How soon will the flies be gone after treatment in San Francisco?
Flies in a San Francisco building decline over one breeding cycle once the source is removed, 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. Traps shorten the wait.
Why us
Why choose Ants & Rodents for pest control in San Francisco?
Ants & Rodents is a national pest control brand, and San Francisco has its own dedicated line. This is what you get here that you will not get from every pest control company in California.
Licensed in California, every job
Every job in San Francisco is carried out by a technician who holds a California pest control license from the Structural Pest Control Board (SPCB). Ask to see the license at the door.
A technician who works your ZIP code
Calls are routed by ZIP code, so the technician who comes out is the one who works your part of San Francisco, not someone sent in from another region.
Built on San Francisco data
We keep track of the weather and housing records for San Francisco and publish a San Francisco pest calendar, so you know 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. Finding out what a job costs does not require booking a visit.
Fast: same-day visits
Same-day visits are often available when you call (628) 290-6439 before noon. The quote and the booking happen on one call.
One number for every pest
The name comes from ants and rodents, but termites, bed bugs, mosquitoes, wasps and wildlife in San Francisco and 10 nearby communities are covered by the same number.
Method
How Ants & Rodents built this page
For every city it serves, Ants & Rodents compiles its own local data set, and it checks treatment facts against public references. This is what sits behind the numbers on this page.
- Ants & Rodents local data for San Francisco
- Housing age, housing type and population are compiled from U.S. Census Bureau American Community Survey tables for San Francisco (2019 to 2023). Temperature and rainfall are 30-year monthly averages (1991 to 2020) from the NOAA weather station at San Francisco Oceanside, 29 miles from San Francisco. 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 San Francisco
One call to (628) 290-6439. Enter your ZIP code and you are connected with a licensed California technician.




