How Long Do Nats Live? The Lifespan of Common Types

Most adult gnats live somewhere between one and four weeks, though the exact span depends heavily on which insect you’re actually looking at and the environment it’s living in. “Gnat” is not a single species but a loose everyday label applied to at least half a dozen different groups of small flies, and their lifespans vary considerably. The adult stage, the tiny buzzing creature you notice in your kitchen or on a hike, is also just one chapter of a longer lifecycle that includes eggs, larvae, and pupae, so the total time from egg to death is longer than most people assume.

What Counts as a Gnat

Before talking about lifespans it helps to know what you’re actually swatting at. In common usage, “gnat” gets applied to fungus gnats, eye gnats, biting midges (also called no-see-ums), black flies (sometimes called buffalo gnats), and drain flies. People also frequently mistake small fruit flies for gnats, since both hover around kitchens and look roughly the same size. Each of these belongs to a different insect family with its own biology, habitat, and lifespan. When someone asks “how long do gnats live,” the honest answer starts with “which kind?”

Fungus Gnats

Fungus gnats, mainly species in the families Mycetophilidae and Sciaridae, are the ones you typically see hovering around houseplants or damp potting soil. They’re drawn to moist organic matter where fungi and decaying plant roots give their larvae something to eat. Adults are weak fliers and spend most of their brief lives mating and laying eggs near the soil surface.

An adult fungus gnat lives roughly seven to ten days under typical indoor conditions. That short window is enough for a female to lay a few hundred eggs in the top layer of moist soil. The eggs hatch in four to six days, and the larvae feed for about two weeks before pupating. The pupal stage lasts another three to five days. Adding it all up, the full lifecycle from egg to dead adult runs about three to four weeks. This fast turnover is why a single overwatered houseplant can seem to produce an endless cloud of gnats: by the time you notice the adults, the next generation of larvae is already feeding below the surface.

Eye Gnats

Eye gnats belong to the genus Liohippelates and a few related groups. They’re tiny, non-biting flies attracted to moisture around eyes, noses, and open wounds, which makes them a genuine nuisance in warm agricultural areas. Their larvae develop in loose, sandy, or loamy soils rich in organic matter, often near irrigated fields.

Adults typically live about two to three weeks under warm conditions, though lifespan can stretch a bit longer in cooler weather when metabolic rates slow down. Females need to feed on secretions from the eyes or mucous membranes of animals to mature their eggs, which is why they’re so persistent about landing on your face. The full egg-to-adult development cycle takes roughly three weeks in summer heat, meaning populations can build up quickly during the growing season and then crash once temperatures drop or the soil dries out.

Biting Midges and No-See-Ums

Biting midges in the family Ceratopogonidae are among the most irritating of all gnats because they’re small enough to pass through standard window screens and their bites produce an itchy welt out of proportion to their size. The most familiar species in North America belong to the genus Culicoides, and similar species cause misery in coastal, marshy, and highland areas worldwide.

Adult biting midges live longer than most other gnats, with females surviving anywhere from two to seven weeks depending on temperature and whether they get blood meals. Research on the Scottish biting midge Culicoides impunctatus has shown that adult survival is both temperature-dependent and density-dependent, with warmer conditions speeding up egg maturation but also shortening the overall window of survival.1Physiological Entomology. Oogenesis and laboratory survival in the Scottish biting midge Culicoides impunctatus Females held at lower temperatures took longer to develop eggs but generally lived longer, while those at higher temperatures matured eggs faster and died sooner. Males tend to die more quickly than females because their sole purpose is mating and they don’t take blood meals.

The larval stage of biting midges develops in wet or semi-aquatic habitats like salt marshes, muddy shorelines, and tree holes. This stage can last several weeks and is the longest part of the lifecycle, meaning the total egg-to-death span often reaches six to eight weeks or more. In regions with cold winters, larvae can overwinter in a dormant state, effectively pausing the clock until spring.

Black Flies and Buffalo Gnats

Black flies, family Simuliidae, are sometimes grouped with gnats even though they’re a bit stockier and more aggressive than the typical kitchen gnat. They breed in running water, attaching their eggs to rocks and vegetation in streams and rivers. The larvae filter-feed on organic particles in the current, which means black fly populations are closely tied to flowing freshwater habitats.

Adult black flies live about two to three weeks under field conditions. Females need a blood meal to produce eggs and can travel considerable distances from their breeding sites to find a host, which is why you sometimes encounter them far from any obvious stream. The total development time from egg through four larval stages and a pupal stage depends on water temperature but generally falls in the range of three to six weeks during warm months. In colder climates, eggs or larvae can overwinter in the stream and emerge as adults when temperatures rise in spring.

Drain Flies

Drain flies, also called moth flies because of their fuzzy wings, belong to the family Psychodidae. You’ll find them near bathroom sinks, shower drains, and anywhere else that organic slime builds up inside plumbing. They’re poor fliers, usually resting on walls near their breeding site and making short, erratic hops when disturbed.

Adult drain flies live about two to three weeks. Their larvae develop inside the gelatinous biofilm that lines drains and sewer pipes, feeding on bacteria and organic gunk. The larval stage lasts roughly nine to fifteen days, and the pupal stage adds another day or two. The complete lifecycle from egg to death wraps up in about three to four weeks under typical household conditions. Because the breeding habitat is inside pipes, drain flies can appear year-round in heated buildings regardless of outdoor weather.

Fruit Flies Often Get Lumped In

Fruit flies, primarily Drosophila melanogaster, aren’t technically gnats at all, but they’re small enough and common enough in kitchens that many people use the terms interchangeably. Fruit flies live considerably longer than true gnats. Under laboratory conditions, wild-caught Drosophila melanogaster females have been found to have a total lifespan in which the post-reproductive period alone accounts for about 40% of total life, suggesting these flies keep living well after they’ve stopped laying eggs.2PubMed Central. Reproductive and post-reproductive life history of wild-caught Drosophila melanogaster under laboratory conditions In a controlled lab setting with steady food and no predators, Drosophila can live 40 to 50 days or more. In the wild, where hazards are constant, that number is shorter, but fruit flies still tend to outlive fungus gnats and drain flies by a wide margin.

If you’re trying to figure out whether the tiny flies around your fruit bowl are gnats or fruit flies, the answer matters for control strategy. Fruit flies are attracted to fermenting fruit and sugary liquids, while fungus gnats head for moist soil. A vinegar trap catches fruit flies effectively but does little for fungus gnats, and drying out your potting soil eliminates fungus gnats but won’t touch a fruit fly problem.

Why Temperature Changes Everything

Temperature is the single most powerful factor determining how long any gnat lives. Insects are ectotherms, meaning their body temperature tracks their environment, and their metabolic rate rises with heat. A warmer environment speeds up every biological process: eggs hatch faster, larvae grow faster, and adults burn through their energy reserves sooner. The tradeoff is that adults in warm conditions tend to die earlier.

This pattern has been documented across a wide range of fly species. Research on the Scottish biting midge found that egg development timing shifted from about 132 hours at 15°C to just 96 hours at 30°C after a blood meal.1Physiological Entomology. Oogenesis and laboratory survival in the Scottish biting midge Culicoides impunctatus That’s a meaningful acceleration, and it applies in a general sense to most gnat types. In your home, this means gnats in a warm kitchen will cycle through generations faster than gnats in a cool basement, but the cool-basement gnats will individually live longer.

Humidity matters too, though mainly for the larval stage. Gnat larvae, especially those of fungus gnats and drain flies, are extremely vulnerable to drying out. Studies on related fly larvae have shown that even species with impressive desiccation resistance still lose substantial body mass when exposed to dry conditions.3PubMed. Extreme resistance to desiccation in overwintering larvae of the gall fly Eurosta solidaginis (Diptera, Tephritidae) For household gnats, this is actually good news: reducing moisture around breeding sites, whether by letting soil dry between waterings or by cleaning drains, is one of the most effective ways to break the lifecycle.

Why They Seem to Live Forever

One of the most common frustrations with gnats is that they never seem to go away, which gives the impression that individual gnats live much longer than they actually do. The reality is that you’re seeing overlapping generations, not the same flies. A single female fungus gnat lays up to 200 eggs over the course of her week-long life. Those eggs hatch, develop, and produce new adults in about three weeks. By the time you’ve been dealing with gnats for a month, you could be on the third generation from a single founding female.

This fast generational turnover also explains why gnats seem to appear from nowhere. A few unnoticed adults lay eggs in a damp spot, the larvae develop out of sight in soil or drain slime, and two to three weeks later a swarm of new adults emerges all at once. What looks like a sudden invasion is actually the payoff of a breeding cycle that started weeks earlier. Effective control has to target the larvae, not just the adults. Killing adult gnats with sprays or traps removes the visible annoyance but does nothing about the hundreds of larvae already developing in the breeding site.

How Males and Females Differ

Across nearly all gnat species, females outlive males. The difference isn’t dramatic in absolute terms, often just a few days, but it’s consistent. Males of most gnat species emerge, form mating swarms, mate, and die within a few days to a week. Their bodies are optimized for flight and reproduction, not endurance. Females, on the other hand, need to survive long enough to find a suitable egg-laying site and, in the case of biting species, to locate and feed on a blood host before their eggs can mature. That functional requirement keeps them alive longer.

In biting midges, the female’s survival is tightly linked to whether she gets a blood meal. Fed females live longer and produce far more eggs than unfed ones. Unfed females of some Culicoides species can still produce a small batch of eggs using energy reserves from the larval stage, a process called autogeny, but they generally die sooner than blood-fed individuals. For non-biting species like fungus gnats, the female’s survival depends more on finding a moist, organic-rich substrate for her eggs than on feeding, since adults of many fungus gnat species barely eat at all.

Gnats as Pollinators and Decomposers

It’s easy to think of gnats as purely annoying, but they fill roles in ecosystems that are easy to overlook. Fungus gnat larvae are significant decomposers, breaking down decaying organic matter in forest soils and helping cycle nutrients. Without them and similar soil-dwelling insects, leaf litter would accumulate much more slowly and nutrient turnover in forest floors would be noticeably different.

Some gnats also serve as pollinators, particularly in habitats where bees and butterflies are scarce. Certain wildflowers and early-blooming plants in wetlands and vernal pools rely on gnats and other small flies for pollination. This is especially true in cold or shaded environments where bee activity is low. The same gnats you might curse on a hiking trail could be carrying pollen between the wildflowers along that trail. Their short individual lifespans are, in a sense, part of what makes them effective in these roles: rapid reproduction means large population numbers, and large numbers mean frequent flower visits even if each individual fly lives only a week or two.

Indoor Versus Outdoor Lifespans

Gnats that end up inside your home often live slightly longer than their outdoor counterparts, because indoor environments eliminate most of the things that kill gnats prematurely. There are no predators like spiders, dragonflies, or birds. Temperature stays relatively stable. Humidity around houseplants or drains can be consistently high. A fungus gnat that might survive five days outdoors in variable weather could last its full ten-day potential indoors.

That stability also means indoor gnat populations can persist year-round. Outdoor gnats in temperate climates face a hard stop when winter arrives, either dying off as adults or entering a dormant overwintering stage as larvae or pupae. Indoor gnats skip that seasonal reset entirely. If the conditions in your home stay favorable, a population can cycle through continuous generations indefinitely. This is why a gnat problem in a houseplant collection or a persistently wet bathroom can feel like it lasts for months, because it genuinely does, even though no individual gnat lives more than a few weeks.

For anyone trying to eliminate indoor gnats, the practical takeaway from all of this biology is straightforward: focus on the breeding site rather than the adult flies. Let potting soil dry out completely between waterings to kill fungus gnat larvae. Clean drain biofilm with an enzyme-based cleaner or a stiff brush to eliminate drain fly larvae. Use a fan to reduce humidity in damp rooms. The adults you see are the end of their lifecycle; the larvae hidden in soil or slime are the beginning of the next one. Breaking the reproductive cycle at the larval stage is what actually ends the problem, because even the longest-lived adult gnat will be gone within a month if it has nowhere to lay eggs.

Beth Richards

Honey bee health has been Beth Richards's research focus since her PhD in entomology at UC Davis, where she studied Varroa mite resistance. She has spent 10 years as an extension apiculturist at a land-grant university, with applied research on mite treatments and colony nutrition.