Why Can You Smell Rain Before It Rains?

The earthy, pleasant smell you notice before rain arrives is mostly the work of a single chemical compound called geosmin, produced by bacteria living in soil. Your nose is extraordinarily sensitive to it, and shifting winds and rising humidity ahead of a storm carry it toward you before the first drop falls. But geosmin is only part of the story. A mix of plant oils, ozone dragged down from higher altitudes, and tiny aerosol particles all contribute to that unmistakable pre-rain scent, and each one reaches your nose through a slightly different mechanism.

The Molecule Behind the Smell of Earth

Geosmin is a natural organic compound whose name literally translates to “earth smell.” It is a type of terpene, a broad family of molecules that plants and microbes produce for various biological purposes. What makes geosmin special is how widespread it is: production of this compound is heavily conserved across actinobacteria, myxobacteria, cyanobacteria, and some fungi.1PubMed Central. The Ubiquitous Soil Terpene Geosmin Acts as a Warning Chemical Among those, the group most responsible for the familiar rain smell is the genus Streptomyces, a type of actinobacterium that thrives in soil virtually everywhere on Earth. Researchers have identified a specific gene in Streptomyces that codes for a protein with two sesquiterpene synthase domains, one of which drives geosmin production.2PubMed Central. PCR-targeted Streptomyces gene replacement identifies a protein domain needed for biosynthesis of the sesquiterpene soil odor geosmin

The bacteria release geosmin as a metabolic byproduct, and it accumulates in the top layer of soil, especially during dry spells when the organisms are actively sporulating. When conditions change and moisture arrives, that stored geosmin gets launched into the air. This is why the smell is strongest after a dry period followed by rain: there has been more time for the compound to build up in the soil.

Petrichor and How Rain Frees Trapped Scents

The word “petrichor” was coined in the 1960s by two Australian researchers to describe the pleasant scent that accompanies rain falling on dry ground. It comes from the Greek words for stone (petra) and the fluid that flows in the veins of gods (ichor). The name captures something real about the mechanism: it is not just the rain itself that smells. It is what rain does to the ground.

During dry weather, plants release oils that settle into soil and onto rocks. Geosmin and other microbial byproducts accumulate alongside them. When a raindrop hits a porous surface like dry soil or pavement, it traps tiny air bubbles against the surface. Those bubbles rise through the thin film of water and burst at the top, launching an extremely fine mist of aerosol particles into the air. These aerosols carry whatever was sitting on the surface: mineral particles, organic compounds, plant oils, and soil bacteria. Researchers have shown that bubbles just tens of micrometres in size form inside raindrops on impact, and a single raindrop can transfer roughly 0.01% of bacteria on the soil surface into the air, where the bacteria can survive for more than an hour.3PubMed Central. Bioaerosol generation by raindrops on soil

This bubble-burst mechanism explains why petrichor is strongest at the start of a rain event and fades as the rain continues. The first drops liberate the most accumulated material. Subsequent drops hit an already-wet surface and produce fewer aerosols. It also explains why light to moderate rain produces more scent than a downpour: gentle rain creates more of those tiny bubbles on a porous surface, while heavy rain simply floods it.

Why You Smell It Before the Rain Reaches You

The “before” part of the question has a straightforward meteorological explanation. Storms produce their own wind patterns. As a rain system approaches, downdrafts push air outward at ground level ahead of the storm front, a phenomenon sometimes called the “gust front.” This advancing air picks up whatever scent molecules are already in the environment and carries them toward you. If the storm is still a few kilometers away but the wind is blowing in your direction, you get a preview.

Humidity plays a role too. As moisture levels in the air rise ahead of incoming rain, your nose actually works better. Scent molecules bind more effectively to the moist mucus membranes inside your nasal passages when the surrounding air is humid. So it is not just that more scent molecules are reaching you. Your olfactory system is also primed to detect them more easily in pre-storm conditions.

There is also a simple concentration effect. In still, dry air, geosmin and plant volatiles sit close to the ground and disperse slowly. Rising humidity before a storm causes soil to release some of its trapped compounds even before the first raindrop falls, because water vapor begins interacting with the dry surface. The air ahead of the storm becomes a slow-moving plume of earthy scent that arrives well before the rain does.

Ozone and That Sharp, Clean Smell

Not everything you smell before rain is earthy. Many people describe a sharp, almost bleach-like or metallic scent that precedes thunderstorms specifically. That is ozone, a molecule made of three oxygen atoms instead of the usual two. Ozone is continually formed in the upper atmosphere by ultraviolet radiation, and it also gets produced at lower altitudes by lightning. Thunderstorms can drag ozone down from higher altitudes through strong downdrafts, and the electrical activity within storm clouds generates fresh ozone as well.

Ozone has a distinctive, pungent smell that most people find “clean” at low concentrations. Because downdrafts can push it far ahead of a storm cell, you may notice this sharp note well before any rain arrives. It tends to be more prominent with large, electrically active thunderstorms than with gentle, overcast drizzle. If you have ever noticed that an approaching summer thunderstorm smells different from a quiet autumn rain, this is a big part of the reason. The autumn rain gives you geosmin and petrichor. The summer storm adds ozone to the mix.

Why Humans Are So Sensitive to Geosmin

One of the more remarkable aspects of this story is just how little geosmin it takes for you to notice it. The human nose can detect geosmin at concentrations as low as about 5 parts per trillion. To put that in perspective, it is roughly equivalent to detecting a single drop of water in an Olympic swimming pool. Very few other chemicals trigger human olfactory receptors at such minuscule concentrations.

Why we are so sensitive to it is still debated. One hypothesis is that the ability to smell approaching rain was useful to early human ancestors who depended on finding water. Being able to detect moisture in the landscape from a distance would have had survival value in arid environments. Another hypothesis is less romantic but equally plausible: geosmin sensitivity may have evolved to help us avoid contaminated food and water. Many of the microbes that produce geosmin are harmless, but the compound also shows up in stagnant water and spoiled food, and being able to detect it could have steered our ancestors away from unsafe water sources.

Supporting the contamination-avoidance idea, research has shown that geosmin functions as a warning chemical in certain ecological contexts. Fruit flies, for example, are strongly repelled by geosmin and avoid laying eggs on substrates where the compound is present.1PubMed Central. The Ubiquitous Soil Terpene Geosmin Acts as a Warning Chemical The compound seems to serve as a signal that a surface is colonized by microorganisms that could compete with or harm the insect’s offspring. Whether a similar warning function shaped human geosmin sensitivity is hard to prove, but the cross-species pattern is suggestive.

Geosmin in Drinking Water and Food

If you have ever noticed an earthy or musty taste in tap water, geosmin is very likely the culprit. Earthy and musty odors are among the most frequently reported objectionable tastes in water supplies, and geosmin along with a related compound called 2-methylisoborneol (MIB) are the chemicals most closely associated with these complaints.4Water Supply. Sensory and chemical analysis methods for earthy and musty odours in drinking water caused by geosmin and 2-methylisoborneol The geosmin in drinking water typically comes from cyanobacteria (blue-green algae) blooms in reservoirs and lakes. When these organisms grow in large numbers during warm months, they produce enough geosmin to make the water taste “off” even though it is still safe to drink.

Water utilities invest considerable effort in removing geosmin because consumers are so sensitive to it. Standard chlorination does not break it down effectively. Activated carbon filtration and ozone treatment are more reliable, but they add cost. The irony is that the same compound that makes a walk before a rainstorm so pleasant can make your morning glass of water taste like pond mud.

Geosmin shows up in food as well, most famously in freshwater fish. Catfish, trout, and carp raised in ponds sometimes absorb geosmin from the water and accumulate it in their fatty tissues. This gives the fish a muddy flavor that many people find unpleasant. Farm-raised fish are often held in clean water for a day or two before processing to let the geosmin flush out of their systems, a step called “purging” or “depurating.”

Beets owe part of their distinctive earthy taste to geosmin as well. The compound accumulates naturally in beet tissue as the root grows in microbe-rich soil. People who say they dislike beets because they “taste like dirt” are responding to a real chemical signal, and their perception may be shaped by how sensitive their particular olfactory receptors are to geosmin. Genetic variation in smell receptors means that some people pick up geosmin far more strongly than others, which partly explains why opinions on beets are so sharply divided.

How Raindrops Spread Microbes

The aerosol mechanism that releases geosmin also has consequences well beyond scent. The same tiny bubbles that launch aromatic molecules into the air carry living bacteria with them. Research has demonstrated that raindrop-generated bioaerosols are a previously unrecognized pathway for dispersing soil microorganisms into the atmosphere.3PubMed Central. Bioaerosol generation by raindrops on soil The bacteria do not just fly into the air and die. They can remain viable for over an hour, giving wind currents time to carry them significant distances before they settle back to the ground or get washed out by subsequent rain.

This matters for ecology because it provides a physical mechanism for microbial communities to colonize new environments. A rainstorm in one field can loft bacteria that eventually land in another location hundreds of meters or even kilometers away. For agriculture, it suggests one way that plant pathogens could spread between fields after rainfall events. And for atmospheric science, it adds another source of biological particles to the mix of dust, pollen, and sea spray that makes up the atmosphere’s aerosol load. Some researchers think these bioaerosols may even influence cloud formation, since bacterial cell surfaces can serve as nuclei around which water droplets condense, though the magnitude of this effect is still being studied.

Why the Smell Is Stronger in Some Places Than Others

Not every rainstorm produces the same intensity of smell, and geography plays a big role. Arid and semi-arid regions tend to produce the strongest petrichor because they have long dry periods during which geosmin and plant oils accumulate in soil. When rain finally comes to a desert landscape, the release of stored compounds can be overwhelming. People living in places with monsoon climates, where months of drought are followed by dramatic seasonal rains, often describe the first rains of the season as having an almost intoxicating quality. In India, the scent of the first monsoon rains is culturally celebrated, and perfumers have even tried to capture it.

By contrast, regions with frequent rain, like the Pacific Northwest of the United States or parts of the United Kingdom, produce a subtler version of the scent. The soil never fully dries out, so less geosmin accumulates between storms. The smell is still there, but it is gentler and shorter-lived. Urban environments produce their own variation: rain on hot asphalt and concrete releases a mix of petroleum residues, rubber particles, and mineral dust that smells quite different from rain on natural soil, though people still often find it pleasant in its own way.

Soil type matters as well. Clay-rich soils tend to hold more moisture and harbor dense microbial communities, producing more geosmin per unit area. Sandy soils drain faster and support fewer of the bacteria responsible, so the petrichor effect is weaker. If you have ever noticed that rain smells stronger near a freshly tilled garden than on a sandy beach, the difference in microbial activity is the reason.

Can Animals Smell Rain Coming Too?

Humans are not the only species that responds to pre-rain scent cues. Many animals appear to detect approaching rain and alter their behavior accordingly. Some species of ants become more active in the hours before a storm, presumably responding to changes in humidity and barometric pressure but potentially also to volatile compounds in the air. Certain birds are known to fly inland ahead of marine storms, and cattle are widely observed to lie down before rain, though that last one is more folk wisdom than established science.

For soil-dwelling invertebrates like earthworms, rain itself triggers dramatic behavior. Worms emerge from the ground during and after rainfall, which is sometimes attributed to vibrations but may also be driven by chemical changes at the soil surface. The aerosol burst that launches geosmin into the air simultaneously alters the chemical environment of the top soil layer, flooding it with water and dissolved gases that change oxygen availability. For organisms living in that layer, the same event that makes us pause and enjoy the smell represents a sudden environmental upheaval.

Springtails, tiny soil-dwelling arthropods found almost everywhere, are attracted to geosmin. They use it as a cue to find the Streptomyces colonies that produce it, feeding on the bacterial spores and dispersing them to new locations. This relationship is one reason the gene for geosmin production has been so well conserved across distantly related microorganisms: the compound serves as a chemical signal that recruits dispersal agents, helping the bacteria colonize new patches of soil. The pleasant earthy scent that signals rain to us is, for these tiny creatures, a dinner bell.