Exterminator Says
Flies & Gnats

Phorid Flies

Family Phoridae

Nuisance
Phorid Flies

Overall pest rating: Nuisance

Pest alertIdentify the flySmall phorid flies have a hump-backed profile and often run before flying. They can resemble fruit or fungus gnats.
Pest alertHidden breeding siteRecurring indoor phorids can be associated with drains, moist decomposing material or plumbing failures that require professional diagnosis.
Pest alertMushroom industryMushroom-fly crop losses in Pennsylvania are serious, though those numbers cannot be attributed entirely to phorid flies.

What it is

A tiny brown fly darts across a kitchen counter, stops abruptly, then runs a few steps before taking off. It does not look quite like the familiar red-eyed fruit flies that gather around old fruit. At a mushroom-growing facility, another similarly shaped fly may appear in large numbers near a window. Both could belong to the phorid fly family, but their sources and significance may be very different.

Phorid flies, sometimes called humpbacked or scuttle flies, belong to the large family Phoridae. Many are only a few millimeters long, with a visibly raised thorax, relatively small head and characteristic quick running movement. The family contains many species that use different foods and habitats. Household nuisance phorids may develop in decaying organic matter, waste deposits or plumbing-associated material. Some other species are highly specialized.

In southeastern Pennsylvania's mushroom industry, the mushroom phorid Megaselia halterata is particularly important. It is associated with fungal mycelium in mushroom-growing compost, not simply with every garbage container in a home. Its adult flies are often conspicuous around mushroom houses and can move into neighboring residential areas. Phorid species do not all reproduce in exactly the same material.

Life cycle and source clues

Phorids develop through egg, larva, pupa and adult stages. Many household species place eggs where larvae can feed on moist decaying organic material. The larvae may remain hidden within waste or other suitable substrates and emerge as adults after pupation. Adults can appear repeatedly even while the actual breeding site is out of sight. A humpbacked fly on a counter is therefore a clue, not conclusive proof that the nearby sink is the source.

The mushroom phorid has a different specialized life cycle. Mated females are attracted to actively growing mushroom mycelium and deposit eggs in suitable mushroom compost. The larvae feed on the fungal tissue. The development cycle varies with temperature and growing conditions; development takes approximately 20 to 30 days from egg to adult in a documented mushroom production context. That number does not apply automatically to household phorid species.

Repeated flies near a facility may reflect adults arriving from an agricultural operation, development within a building, or both. Identifying the species and the likely source is essential before drawing conclusions about sewage, sanitation or crop damage.

Sources: Penn State Extension: Mushroom Phorid Fly Infestations in Mushroom Farms and Surrounding Neighborhoods · Penn State Extension: Phorid Fly in Commercial Mushroom Production · Penn State Extension: All About Monitoring Mushroom Flies · University of Minnesota Extension: Humpbacked (Phorid) Flies

How to recognize it

Look for a small tan-to-brown fly with a noticeably arched or humpbacked thorax when viewed from the side. Phorids often run erratically across surfaces in short bursts, then stop and run again. Their wings have relatively reduced or distinctive vein patterns, which may be visible in close photographs or under magnification. The scuttling behavior is memorable but does not replace expert identification.

Fruit flies are commonly more compact and may have bright red eyes. Fungus gnats look longer-legged and are often associated with potted plants. Drain flies are fuzzy and moth-like. A mushroom phorid near a greenhouse or mushroom farm may require more specialized identification than an ordinary household nuisance fly. A clear specimen, accurate location and description of the activity help an expert distinguish them.

The family is large and variable. A single photograph of a dark speck should not be used to assign the highly specialized mushroom phorid species, or to claim that a particular house has a sewage leak.

Sources: Penn State Extension: Mushroom Phorid Fly Infestations in Mushroom Farms and Surrounding Neighborhoods · Penn State Extension: Phorid Fly in Commercial Mushroom Production · University of Minnesota Extension: Humpbacked (Phorid) Flies

Where you will find it

In ordinary buildings, phorids may appear near moist organic deposits, certain drains, garbage areas or plumbing-related leaks. They can also be found on countertops, window ledges or in utility areas because adults move away from where they developed. Persistent activity in one room may justify investigation of hidden sources, but the location of the adult does not identify its exact origin.

In Pennsylvania's mushroom-producing region, particularly southeastern parts of the state, adult mushroom phorids may be abundant around cultivation rooms, packing sheds and adjacent properties during seasonal peaks. Mushroom-growing compost supports specialized larvae, and adult movement between facilities and nearby areas is documented. A home near mushroom agriculture should not automatically be assumed to contain an indoor breeding site when small flies appear.

Across New Jersey, New York, Delaware and Maryland, phorid flies are also present, but the Pennsylvania mushroom-industry figures and facility patterns are not a uniform five-state statistic. The relevant local habitat and species should determine the interpretation.

Sources: Penn State Extension: Mushroom Phorid Fly Infestations in Mushroom Farms and Surrounding Neighborhoods · Penn State Extension: Phorid Fly in Commercial Mushroom Production · University of Minnesota Extension: Humpbacked (Phorid) Flies

Why it matters

Households, food settings and hygiene

Household phorids can be a nuisance, and persistent populations may indicate moist organic material or a building-maintenance issue. They are generally not biting pests. Some species associated with decaying material can potentially move microorganisms mechanically, but a fly's presence does not demonstrate transmission of a human infection. In commercial food premises, repeated fly activity should prompt identification and source-focused sanitation assessment.

Mushroom production and economic impact

Phorids are a genuine production concern for mushroom growers. Phorid and sciarid mushroom flies can affect cultivated mushrooms, spread crop problems or require extensive monitoring and management. A 2026 Penn State article estimates that Pennsylvania mushroom growers may lose 10 to 40 percent of crops during peak mushroom-fly populations. That estimate concerns the combined mushroom-fly pressure described by Penn State; it reflects combined mushroom-fly pressure rather than phorid flies alone and is not a fixed statewide annual loss.

The specialized mushroom phorid Megaselia halterata is not known to be an ordinary human disease hazard. Its importance is agricultural and ecological, alongside nuisance adult movement into neighboring spaces. That distinction matters when public communication describes nearby agricultural operations.

Sources: Penn State Extension: Mushroom Phorid Fly Infestations in Mushroom Farms and Surrounding Neighborhoods · Penn State Extension: Phorid Fly in Commercial Mushroom Production · Penn State Extension: All About Monitoring Mushroom Flies · University of Minnesota Extension: Humpbacked (Phorid) Flies

What to do

Photograph representative flies, note their quick running behavior and record the rooms or outdoor areas where they gather. For a household, note observations about odors, repeated moisture issues or other relevant building symptoms without assuming that a hidden pipe has failed. Routine housekeeping around food and waste can continue while a qualified professional evaluates persistent fly activity.

Do not pour pesticides into drains, open hidden sewage lines, or dismantle building materials in search of a suspected breeding source. In mushroom-growing regions, report persistent neighborhood nuisance to appropriate facility or property contacts while allowing specialists to confirm whether the insects are agricultural phorids or a different group. Growers should work with crop-specific Extension or integrated pest management personnel instead of copying household insect instructions into mushroom production.

Sources: Penn State Extension: Mushroom Phorid Fly Infestations in Mushroom Farms and Surrounding Neighborhoods · Penn State Extension: Phorid Fly in Commercial Mushroom Production · University of Minnesota Extension: Humpbacked (Phorid) Flies

When to call a professional

Seek a licensed pest professional if tiny running flies persist indoors, their identity is uncertain, or repeated activity suggests a concealed organic source. Building specialists may be required where plumbing problems are suspected. Mushroom growers should involve crop IPM specialists when monitoring indicates increasing fly pressure, and nearby residents may need species confirmation before attributing the flies to a particular operation.

What a professional will do

A technician will inspect the fly's diagnostic features, document adult activity and investigate likely developing sites appropriate to that species. If moisture or sewage issues are suspected, they may coordinate with a qualified building professional. In mushroom production, specialists use monitoring to distinguish adults arriving in growing rooms from those emerging from crops, then recommend management suited to the stage and site. The professional should distinguish verified findings from assumptions and should not promise a treatment outcome.

Sources: Penn State Extension: Mushroom Phorid Fly Infestations in Mushroom Farms and Surrounding Neighborhoods · Penn State Extension: Phorid Fly in Commercial Mushroom Production · Penn State Extension: All About Monitoring Mushroom Flies · University of Minnesota Extension: Humpbacked (Phorid) Flies

Additional Sources

Questions

Why do phorid flies run across counters?

Their rapid stop-and-go running behavior is characteristic of many humpbacked phorid flies.

Are phorid flies the same as fruit flies?

No. Phorids often have a more distinctly humpbacked profile and different running behavior and breeding sites.

Can phorids indicate a plumbing issue?

Some persistent indoor occurrences are associated with plumbing or sewage-related organic material, but a confirmed source is needed.

Do all phorid flies breed in mushrooms?

No. The family includes many species; Megaselia halterata is specialized for cultivated fungal mycelium.

Are mushroom phorids an important Pennsylvania pest?

Yes. Phorids and other mushroom flies pose serious challenges to the mushroom industry.

Do phorid flies destroy 40 percent of Pennsylvania's mushrooms?

That claim is too broad. Penn State's 10 to 40 percent figure refers to mushroom-fly pressure during peak populations, not phorids alone or an annual statewide total.

Do phorid flies bite people?

Common nuisance phorids are not blood-feeding biting flies.

Who should assess recurring phorids around a mushroom farm?

A pest or agricultural IPM specialist familiar with mushroom-fly identification and monitoring.

Not sure it is a phorid fly?Upload a photo for a free, instant AI-assisted guess. No account needed.

This page is general information, not a diagnosis. Pests vary by region and situation, and an on-site inspection is the reliable way to know what you have.