Part of the The Complete Guide to Flies: Identification, Prevention & Elimination guide.
Every spring and summer, residents near lakes and rivers in North America experience a phenomenon that can be genuinely alarming the first time they see it: clouds of fragile, winged insects so dense they pile against storefront windows, carpet bridge railings, and foul the air around streetlights. These are mayflies, and while they share a name with the insect order that includes house flies, they are something else entirely — ancient, ecologically essential, and mercifully short-lived.
For a comprehensive overview, see our Complete Guide to Flies.
What Are Mayflies?
Mayflies belong to the order Ephemeroptera — not Diptera, the order of true flies. This distinction matters. Despite the name, mayflies are not flies at all. They are more closely related to dragonflies and damselflies than to house flies, crane flies, or any of the Diptera species discussed in our gnats vs. flies guide.
Ephemeroptera is one of the oldest orders of winged insects, with a fossil record extending roughly 350 million years into the Carboniferous. Modern mayflies look strikingly similar to their prehistoric ancestors — a sign of how well the body plan has served them.
Identifying Features
Adult mayflies are easy to recognize once you know the key field marks:
- Two or three long tail filaments (cerci and a central paracercus) extending from the abdomen, often as long as or longer than the body itself
- Two pairs of wings, with large triangular forewings and much smaller hindwings, held vertically over the body at rest like a sail
- Large compound eyes, particularly prominent in males, sometimes divided into upper and lower sections
- Vestigial mouthparts: Adult mayflies cannot eat — their digestive systems are non-functional
- Dull coloring: Usually tan, gray, brown, or pale yellow, never the metallic sheen of blow flies
Size varies widely by species, from under 5 millimeters to over 30 millimeters in body length. The giant Hexagenia limbata — which produces famous hatches on the Great Lakes and Mississippi River — can exceed 35 millimeters including tails.
| Feature | Mayfly (Ephemeroptera) | Crane Fly (Tipulidae) | House Fly (Muscidae) |
|---|---|---|---|
| Wing pairs | Two (large + small) | One | One |
| Tail filaments | 2–3, long | None | None |
| Mouthparts | Non-functional (adults don't eat) | Non-functional | Functional sponging |
| Larval habitat | Freshwater streams and lakes | Moist soil, decaying vegetation | Garbage, dung, organic matter |
| Bites? | No | No | No |
| True fly? | No | Yes | Yes |

The Mayfly Life Cycle
The mayfly life cycle is unusual among insects in that it includes a winged but sexually immature stage called the subimago — called a "dun" in fly fishing — before the final sexually mature adult (imago). No other living insect order retains a winged subadult stage.
Aquatic nymph stage: Mayfly larvae (nymphs) live on stream and lake bottoms for 1 to 3 years, depending on species. They are critical links in aquatic food webs, feeding on algae and organic detritus and being consumed in turn by fish, waterfowl, and other predators. Nymph gill structures along the abdomen serve as the primary respiratory organ.
Subimago stage: When development is complete, nymphs swim to the surface or crawl onto emergent vegetation and shed their skin into the winged but sexually immature subimago. Subimagos fly to streamside vegetation, where they molt one final time within hours.
Adult (imago) stage: The adult that emerges from the final molt is sexually mature and lives only long enough to mate and, for females, deposit eggs back into the water. Most species survive as adults for just 1 to 3 days; some Caenis species live fewer than 90 minutes as adults. The word "Ephemeroptera" itself derives from the Greek ephemeros, meaning "lasting only a day."
This explains why adult mayflies have no functional mouthparts. Eating would be an evolutionary waste — they carry sufficient energy reserves from their years as aquatic nymphs to complete mating and reproduction.
Why Massive Swarms Occur
The spectacular mass emergence events — "the hatch" in fly fishing terminology — happen because mayflies of the same species synchronize their adult emergence over a very short window, sometimes just 1 to 3 days per year. Water temperature, photoperiod, or a combination of both triggers the timing.
This synchronization is an evolutionary defense against predation called predator satiation. By all emerging simultaneously, mayflies overwhelm predators. Trout, swallows, bats, and other predators consume enormous numbers during an emergence event, but the sheer quantity ensures enough individuals survive to mate and reproduce. Cicadas use the same strategy.
Swarms concentrate near lights because mayflies, like most insects, exhibit positive phototaxis — they navigate toward light sources. A riverside restaurant with bright exterior lighting during a mayfly emergence can accumulate millions of individuals in a single night. Our article on flies attracted to light explains why insects respond this way and what wavelengths of light are most problematic.
Mass emergences on the Great Lakes and Mississippi River can be large enough to appear on weather radar. Dead insects piling on bridges and roads have caused vehicle accidents on slippery surfaces — this is not a hypothetical risk.
How Long Do Mayflies Live?
This is the source of the widespread myth that flies live only 24 hours. The claim applies to the briefest-lived mayfly adult species — it does not describe how long fly species in general live. The complete mayfly life cycle, including the aquatic nymph stage, spans 1 to 3 years. The adult stage of most species lasts 1 to 3 days, with some species surviving a week or more.
House flies live 15 to 30 days as adults. Fruit flies average 40 to 50 days. Cluster flies can survive months when overwintering. The "24-hour fly" narrative is a mayfly story that got applied to all flies incorrectly.
Are Mayflies Harmful?
Mayflies cause no direct harm to humans, animals, or structures. They do not bite, sting, damage plants, carry human diseases, or breed indoors. As adults, they cannot eat.
Their nuisance impacts are:
- Accumulation under lights: Dead and dying adults pile against windows, storefronts, and under streetlights in significant numbers during peak emergence
- Decomposition odor: Large accumulations near water produce a pronounced fishy or organic smell for several days
- Slippery surfaces: Bodies piling on roads and bridges create slip hazards
- Temporary air quality: In dense emergences, airborne particles from dead insects can irritate the eyes and airways of sensitive individuals
The ecological benefits far outweigh these nuisances. Mayfly nymphs are a primary food source for trout, bass, and countless other fish species. Their mass emergences provide an annual pulse of nutrition for birds, bats, frogs, and fish at exactly the time when many predators are rearing young. Healthy mayfly populations are a reliable water quality indicator — they disappear quickly from polluted waterways.
Reducing Mayfly Nuisance Near Your Property
You cannot eliminate mayfly swarms — they are a natural ecological event driven by aquatic populations that exist well outside your control. But you can meaningfully reduce the impact:
- Switch to amber or yellow LED exterior lighting: Mayflies are far less attracted to longer wavelengths than to white or blue-white light. This single change consistently reduces accumulation around homes and businesses near water
- Turn off non-essential exterior lights during peak emergence periods, typically May through July in most of North America
- Install window screens to prevent dead individuals from accumulating on interior window sills
- Time exterior maintenance (painting, sealing, varnishing) for periods when emergences are not active — dead bodies adhering to fresh coatings are a real problem
- Clean up accumulations promptly before they decompose and create odor or attract secondary pests
In my 15 years of pest management in central Florida, mayfly calls are less frequent than in the Great Lakes region — our most significant emergences come from lake shoreline species rather than large river species. I've consulted for a lakefront restaurant that dealt with exterior lighting issues every spring. Switching from broad-spectrum white LEDs to amber-spectrum fixtures on their waterside patio reduced the mayfly accumulation by roughly 70 percent. No insecticide, no trapping — just a lighting change.
Mayflies are one of the clearest cases where understanding the biology completely changes your response. There is nothing to treat or eliminate. Managing your lighting is essentially the entire playbook.
Solutions and Actions
Mayfly management is constrained by the fact that swarms are driven by aquatic populations entirely outside residential control. Practical actions target the light attraction that concentrates adults near structures during peak emergence.
Replace white or blue-spectrum exterior bulbs with amber or yellow LED bulbs on all outdoor fixtures visible from the water side of the property. This single change consistently reduces accumulation by 60--80 percent near active emergence sites. Turn off all non-essential exterior lighting during peak emergence events, typically the evenings of warm spring and early summer nights when water temperatures favor synchronized emergence.
Install fine-mesh window screens to prevent dead mayflies from accumulating on interior window sills. Sweep or shop-vacuum accumulated dead insects promptly before they decompose and attract secondary pests such as blow flies and scavenging beetles.
Prevention
There is no prevention for mayfly emergences themselves; they are ecological events driven by multi-year aquatic life cycles. Property-level prevention focuses on reducing impact rather than eliminating the phenomenon.
Long-term structural lighting management is the most effective approach: amber and yellow light sources permanently installed on waterside exteriors reduce mayfly accumulation year after year without seasonal effort. This is a one-time infrastructure decision that pays dividends each emergence season.
Time exterior maintenance (painting, sealing, finishing wood) to avoid the emergence window, typically May through July in most of North America. Mayfly bodies adhering to fresh paint or sealant are difficult to remove without damaging the surface. Confirm the local emergence calendar with a regional fishing or conservation organization if you are unsure of the peak period for your specific waterway.
Main Causes
Indoor flies activity is driven by accessible breeding material and warmth. House flies and blow flies breed in garbage, pet waste, compost, and dead animals; fruit flies breed in overripe produce, drain biofilm, fermenting liquids, and unrinsed recycling; drain flies breed in the gelatinous film inside infrequently used drains; phorid flies breed in broken sewer lines and decomposing material under slabs. Adults find their way inside through torn screens, gaps around doors, vents, and any opening to the outside. Warm weather accelerates the entire life cycle, and a sustained population always points to an unaddressed source either inside the structure or close enough that adults keep arriving in volume.
How to Identify
Identify the species before treating, because effective control depends on locating the correct breeding site. House flies are gray with four dark thoracic stripes and feed on garbage and feces. Fruit flies are tiny, tan or yellow with red eyes, and breed in fermenting produce or drain biofilm. Drain flies are fuzzy, moth-like, and emerge in small slow flights from drains. Blow flies are large and metallic blue or green and indicate a dead animal nearby. Phorid flies hover in jerky paths and breed in broken sewer lines under slabs. Cluster flies are slow and dark and overwinter in attics. Sticky cards placed near suspected sources for 24 to 48 hours both confirm the species and pinpoint the breeding zone.
Risk and Severity
Flies are mechanical disease vectors, picking up pathogens from feces, decomposing material, and garbage on their bodies and depositing them on food and surfaces. House flies in particular regurgitate digestive fluids when feeding, contaminating any surface they land on. Documented transmissible pathogens include Salmonella, E. coli, Shigella, and Campylobacter. Blow flies in homes signal a dead animal in or near the structure — a secondary health concern from decomposition gases and additional pest activity around the carcass. Biting flies (horse flies, stable flies, black flies) deliver painful bites and can trigger allergic reactions; in some regions they transmit parasites or bacterial infections. Children, elderly, and immunocompromised individuals face elevated risk.
Frequently Asked Questions
Why do mayflies only appear for a few days each year?
The brief adult emergence is genetically programmed and environmentally triggered. Water temperature, daylight length, or both signal mature nymphs to emerge simultaneously. The short window is an adaptive strategy: synchronized emergence overwhelms predators and ensures enough individuals survive to mate before the adult stage ends.
Do mayflies bite or carry disease?
No. Adult mayflies have non-functional mouthparts and cannot bite, sting, or pierce skin. They do not feed at all as adults and carry no human pathogens. They are completely harmless to people, pets, and livestock.
Why are there so many dead mayflies under my porch light?
Mayflies navigate toward light sources because of phototaxis — the same behavior described in our flies attracted to light article. Adult mayflies live only days regardless of what they do, so those that fly toward artificial lights and exhaust themselves circling die there. Switching to amber or yellow outdoor bulbs significantly reduces accumulation without affecting visibility.
Are mayflies a sign of good water quality?
Yes. Mayfly nymphs are established bioindicators — sensitive to pollution, low dissolved oxygen, and chemical contamination. Their presence signals relatively clean, well-oxygenated water. A robust mayfly emergence from a waterway is generally good ecological news, even when the flies themselves are inconvenient.
Sources: EPA — Aquatic Biological Indicators | Cornell University Insect Diagnostic Lab
Continue reading:
The Complete Guide to Flies: Identification, Prevention & Elimination →Sources & Further Reading
- House Flies — Pest Notes — University of California Statewide IPM Program
- Fruit Flies in the Home — Penn State Extension
- Controlling Pests Safely — U.S. Environmental Protection Agency