Most gnats that people encounter around their homes and gardens die when temperatures climb above roughly 40 °C (104 °F) or drop below about −7 to −10 °C (19 to 14 °F), though the exact lethal thresholds vary enormously across species, life stages, and how long the exposure lasts. “Gnat” is an informal label covering dozens of fly families, from the fungus gnats breeding in your houseplant soil to the biting midges swarming near lakes, so there is no single kill temperature. The spread turns out to be surprisingly wide, with some cold-adapted species surviving temperatures that would shatter most insects.
How Heat Kills Gnats
Sustained heat above about 35 to 40 °C is where most gnat species start to suffer. Research on Bradysia odoriphaga, a dark-winged fungus gnat that is a serious agricultural pest in Asia, used 40 °C as a defined high-temperature stress treatment and found that even a one-hour exposure triggered a broad stress response, activating heat-shock proteins and altering metabolism and detoxification pathways.1PubMed. Comparative transcriptome analysis of differentially expressed genes in Bradysia odoriphaga Yang et Zhang (Diptera: Sciaridae) at different acute stress temperatures In other words, 40 °C is not just uncomfortable for these gnats; their cells are scrambling to avoid irreversible damage.
For closely related small flies, the picture is similar. Drosophila suzukii, a fruit fly roughly the size of many gnats, shows significant harm when developing at just 30 °C (86 °F). Females reared at that temperature had smaller ovaries, males had depleted sperm stores, and overall egg-to-adult survival dropped.2PubMed. Impact of heat stress on development and fertility of Drosophila suzukii Matsumura (Diptera: Drosophilidae) Development did not require outright lethal temperatures to collapse; temperatures in the low 30s were enough to cripple reproduction. The practical lesson for gnat control is that you do not need to literally cook gnats to reduce a population. Sustained warmth in the mid-30s can prevent the next generation from materializing.
Another fruit fly species, Bactrocera dorsalis, showed that pupae and adults tolerated 36 °C fairly well over short exposures, with survival still above 84 percent after three days, but their lifespans shortened substantially compared to individuals kept at a comfortable 26 °C.3PubMed Central. Fruit Fly in a Challenging Environment: Impact of Short-Term Temperature Stress on the Survival, Development, Reproduction, and Trehalose Metabolism of Bactrocera dorsalis (Diptera: Tephritidae) Heat stress does not always kill outright. It can instead erode fitness gradually, cutting lifespan and reproductive output even when the individual survives the exposure itself.
Cold Thresholds for Common Gnats and Midges
On the cold end, the lethal temperature depends heavily on which life stage you are looking at. A study on the biting midge Culicoides nubeculosus tested every stage from egg to adult. Eggs were the toughest, surviving down to at least −18 °C (about 0 °F). Pupae died around −14 °C, first-stage larvae and adults at −10 °C, and late-stage larvae were the most vulnerable, succumbing at −7 °C.4PubMed Central. Substantial cold tolerance in all life stages of Culicoides nubeculosus (Diptera: Ceratopogonidae) Longer exposure made things worse at marginal temperatures, and even cold that did not kill outright left sublethal marks: fewer larvae successfully emerged as adults, and the adults that did emerge had wings up to about 10 percent smaller than normal.
Two other biting midge species studied in southern Africa, Culicoides imicola and C. bolitinos, had higher lethal thresholds. Half of C. bolitinos individuals died around −6 °C when acclimated to warmer conditions, and C. imicola, a more tropical species, fared even worse, with only about a one-degree margin of cold hardiness regardless of acclimation.5PubMed Central. Thermal limits of two biting midges, Culicoides imicola Kieffer and C. bolitinos Meiswinkel (Diptera: Ceratopogonidae) Those numbers matter because temperatures at field sites where C. bolitinos dominated routinely dropped below the critical limits for C. imicola. In plain terms, local climate already acts as a barrier that determines which midge species can persist in a given area.
For the common indoor fungus gnats most people ask about (Bradysia species and their relatives), hard experimental kill-temperature data are thinner. The Bradysia odoriphaga study treated 4 °C as its cold stress benchmark, a temperature that triggered defensive gene activity but did not represent an outright lethal threshold for short exposures.1PubMed. Comparative transcriptome analysis of differentially expressed genes in Bradysia odoriphaga Yang et Zhang (Diptera: Sciaridae) at different acute stress temperatures A reasonable general estimate for common fungus gnats is that prolonged exposure below about −2 to −5 °C will kill most individuals, since they lack the specialized cold-hardening found in arctic species. Moving infested potted plants outdoors during a hard frost can help, but a quick dip to just below freezing may not finish off larvae insulated in moist soil.
Arctic Fungus Gnats and Extreme Cold Survival
The most striking cold-tolerance data come from Exechia nugatoria, a fungus gnat collected near Fairbanks, Alaska. These gnats can survive being frozen, but they do it in stages. When cooled in the lab, ice first formed in the abdomen at around −30 °C. Roughly 70 percent of the gnats survived that event. A second, deeper freeze hit the head and thorax at around −49 °C, and nobody walked away from that one; survival dropped to zero.6PubMed. Simultaneous freeze tolerance and avoidance in individual fungus gnats, Exechia nugatoria
The mechanism behind this two-stage survival is unusual. The abdomen, which contains more water (around 71 percent by mass), can tolerate ice forming inside it. The head and thorax, meanwhile, dehydrate themselves down to about 47 percent water content, which prevents ice from spreading forward from the frozen abdomen. So the same individual insect is simultaneously freeze-tolerant in one body region and freeze-avoidant in another. Researchers suggested this regional dehydration creates a barrier against inoculative freezing between compartments.6PubMed. Simultaneous freeze tolerance and avoidance in individual fungus gnats, Exechia nugatoria This is an extreme case, not representative of the fungus gnats living in your kitchen, but it illustrates that “gnat” covers a huge physiological range.
When Gnats Stop Moving Versus When They Actually Die
There is an important gap between the temperature at which gnats become inactive and the temperature that kills them. Eye gnats (Liohippelates species), the tiny flies drawn to eyes and open wounds in warm climates, are largely inactive below about 21 °C (70 °F) and most actively seek hosts at 25 to 27 °C.7Journal of Integrated Pest Management. Eye Gnat (Liohippelates, Diptera: Chloropidae) Biology, Ecology, and Management: Past, Present, and Future A cool autumn day might feel gnat-free, but those insects have not died. They are sitting in sheltered microhabitats, waiting for warmth. Populations in California peak in August and September before declining through fall and winter, then resurge the following spring.
The same pattern holds for most gnat species. A mild frost that brings outdoor air to −1 or −2 °C may not penetrate the soil or leaf litter where larvae and pupae are sheltered. The air temperature and the microhabitat temperature can differ by several degrees, which is why gnats seem to “come back from nowhere” the moment temperatures recover in spring. You may have killed the exposed adults, but the next generation was insulated underground.
Sublethal Damage From Temperature Stress
Outright death is not the only outcome worth caring about. Temperatures that fall short of killing gnats can still damage them in ways that ripple through the population. The Culicoides nubeculosus study found that cold-stressed eggs and larvae that managed to survive produced fewer adults, and the adults that emerged were physically smaller, with wing-length reductions of up to about 10 percent depending on which life stage had been stressed.4PubMed Central. Substantial cold tolerance in all life stages of Culicoides nubeculosus (Diptera: Ceratopogonidae) Smaller wings generally mean weaker fliers, which limits a midge’s ability to disperse and find hosts.
On the heat side, a finding from the Drosophila suzukii work stands out: females that experienced a brief heat shock before laying eggs actually produced offspring with improved survival under subsequent heat stress, a kind of maternal priming effect.2PubMed. Impact of heat stress on development and fertility of Drosophila suzukii Matsumura (Diptera: Drosophilidae) This suggests that gnats and related flies are not passive victims of temperature swings. Surviving adults can partially prepare the next generation for thermal stress, which complicates any plan to eliminate a gnat population with a single temperature treatment.
Temperature stress also shortens lifespan even when it does not kill immediately. Bactrocera dorsalis adults exposed to either 0 °C or 36 °C lived roughly 20 fewer days than those kept at a comfortable 26 °C.3PubMed Central. Fruit Fly in a Challenging Environment: Impact of Short-Term Temperature Stress on the Survival, Development, Reproduction, and Trehalose Metabolism of Bactrocera dorsalis (Diptera: Tephritidae) In a pest-control context, this matters: a gnat that survives a temperature extreme but lives weeks shorter and reproduces less effectively is already a partial win.
Why Humidity Changes the Equation
Temperature alone does not tell the full story. Gnats are small and have a high surface-area-to-volume ratio, which means they lose moisture quickly when the air is dry. A review paper on mosquito thermal biology made the point explicit: desiccation likely contributes to the decline in performance at warmer temperatures, yet humidity is routinely underemphasized in thermal studies.8PubMed Central. Humidity – The overlooked variable in the thermal biology of mosquito-borne disease The same logic applies to gnats. A dry 35 °C day may be far more lethal to gnats than a humid 35 °C day, because the combination of heat and low moisture pushes them past both thermal and desiccation thresholds simultaneously.
This has practical implications if you are trying to manage gnats indoors. Fungus gnats thrive in consistently moist potting soil. Letting the top layer of soil dry out between waterings does double duty: it removes the moisture larvae need and exposes them to more temperature variation, since dry soil insulates less than saturated soil. Conversely, keeping soil constantly wet in a warm room gives larvae a buffered, humid microhabitat where they can tolerate temperatures that would otherwise stress them.
What Warming Climates Mean for Gnat Populations
You might assume that warmer conditions uniformly benefit gnats, since they are cold-blooded and more active in warmth. The reality is messier. A warming experiment in the southeastern United States found that during the spring of 2012, the warmest spring on record for that region, fungus gnats (family Mycetophilidae) declined by about 64 percent for every additional degree Celsius of experimental warming.9Ecosphere. Abundance of spring‐ and winter‐active arthropods declines with warming Total arthropod abundance dropped about 20 percent per degree of warming, but fungus gnats were hit disproportionately hard. The likely explanation is that spring-active gnats are adapted to cool conditions, and pushing temperatures higher disrupts their timing, desiccates their habitats, or puts them into thermal stress during a season when they are normally thriving.
This finding has an unintuitive takeaway: climate warming does not necessarily mean more gnats everywhere. For species tuned to cooler seasons or higher elevations, warming can shrink populations. For warm-adapted species such as tropical biting midges, warming may expand their geographic range into previously inhospitable areas. The thermal limits of each species determine which direction the population moves.
Using Temperature for Gnat Control
If you are dealing with fungus gnats in houseplants, the most realistic temperature intervention is cold. Moving potted plants outdoors for several consecutive nights when temperatures stay below about −5 °C should kill larvae and pupae in the top few centimeters of soil, though deeper soil stays warmer. Eggs may survive modest freezes, so repeated exposure or sustained cold is more effective than a brief dip. Heat is harder to deploy on potted soil without damaging roots, but some growers drench soil with warm water around 50 to 55 °C (about 120 to 130 °F) to kill larvae, relying on the brief contact time to avoid cooking plant roots.
For outdoor biting gnats, direct temperature control is not practical, but understanding thermal thresholds helps with timing. Midges in temperate regions become less active as evening temperatures fall below about 10 to 15 °C, and outdoor activities planned for cooler parts of the day generally mean fewer bites. Eye gnats are largely inactive below 21 °C, so early mornings and late evenings in warm climates are lower-risk windows.7Journal of Integrated Pest Management. Eye Gnat (Liohippelates, Diptera: Chloropidae) Biology, Ecology, and Management: Past, Present, and Future
Biological control with entomopathogenic nematodes, a common organic approach for fungus gnats in greenhouses, also has a temperature dimension. The nematode species Steinernema feltiae, which is the standard recommendation for fungus gnat larvae, performed less well at temperatures above 25 °C compared to Heterorhabditis bacteriophora and H. indica, which achieved over 50 percent larval kill at those warmer temperatures.10Biological Control. Effect of entomopathogenic nematode species, split application and potting medium on the control of the fungus gnat, Bradysia difformis (Diptera: Sciaridae), in the greenhouse at alternating cold and warm temperatures If you are treating a greenhouse in midsummer, switching to a warm-tolerant nematode species can make the difference between a treatment that works and one that flops.
How Gnats Adapt to Temperature at the Molecular Level
When gnats face thermal extremes, their first line of defense is a family of molecules called heat-shock proteins. Despite the name, these proteins are activated by cold stress too. The Bradysia odoriphaga transcriptome study found heat-shock protein genes upregulated at both 40 °C and 4 °C, alongside detoxification genes at both extremes.1PubMed. Comparative transcriptome analysis of differentially expressed genes in Bradysia odoriphaga Yang et Zhang (Diptera: Sciaridae) at different acute stress temperatures The high-temperature response also involved changes in metabolism, protein turnover, and stress-signaling pathways, a broader alarm response than the cold side triggered. This asymmetry hints at why extreme heat tends to be more immediately lethal than extreme cold for many gnat species: the cellular damage from overheating is more diverse and harder to repair.
The arctic fungus gnat’s two-compartment freezing strategy represents an even more dramatic adaptation. By keeping its head and thorax dehydrated to roughly 47 percent water while allowing the abdomen to freeze at about 71 percent water content, a single insect runs two survival strategies simultaneously.6PubMed. Simultaneous freeze tolerance and avoidance in individual fungus gnats, Exechia nugatoria Most research on insect cold hardiness classifies species as either freeze-tolerant or freeze-avoidant. This gnat does both at once, divided by body region. It is one of the more elegant solutions to winter survival that entomologists have documented, and it explains how gnats persist through Alaskan winters where temperatures regularly plunge below −40 °C.
Biting Midges and the Disease Connection
For biting midges in the genus Culicoides, thermal tolerance is not just an academic question. These insects transmit bluetongue virus and Schmallenberg virus to livestock, and African horse sickness virus to equines. The geographic range of those diseases is ultimately bounded by where the vector midges can survive. The finding that Culicoides nubeculosus eggs tolerate at least −18 °C suggests that overwintering in temperate European climates is well within their capability.4PubMed Central. Substantial cold tolerance in all life stages of Culicoides nubeculosus (Diptera: Ceratopogonidae) Winters that veterinarians once assumed would break the disease cycle may not be cold enough, or long enough, to actually eliminate the midge populations carrying viruses.
The thermal-limit work on C. imicola and C. bolitinos in South Africa reinforced this. Researchers overlaid the lab-measured thermal boundaries onto real temperature records from field sites and found that daily minimum temperatures at C. bolitinos-dominated sites frequently fell below the critical minimum for C. imicola.5PubMed Central. Thermal limits of two biting midges, Culicoides imicola Kieffer and C. bolitinos Meiswinkel (Diptera: Ceratopogonidae) That temperature mismatch explains the species turnover between lowland and highland areas and has direct implications for predicting where livestock diseases will appear as winter temperatures shift under climate change.