The smell of a rotten egg comes from a gas, not from the egg turning into sulfur. The gas is released when bacteria inside a spoiling egg break down the egg’s own building blocks, which happen to be rich in sulfur. The same gas is behind the rotten-egg smell of sewers and some hot springs, and suppliers add a similar-smelling chemical to natural gas so leaks can be noticed, which is why the smell has become a shorthand for danger. Our noses are tuned to catch it at trace levels, an early warning built for spoiled food.1PubMed Central. Genetics of Taste and Smell: Poisons and Pleasures
The Gas Behind the Smell
The culprit is hydrogen sulfide, a colorless gas made of two hydrogen atoms and one sulfur atom. It is heavier than air, so it can collect near the floor or in low spots.2Agency for Toxic Substances and Disease Registry. ToxGuide for Hydrogen Sulfide3Wikipedia. Hydrogen sulfide
“Sulfur smell” is a bit of a misnomer. Pure sulfur, the yellow solid, has almost no smell on its own. What people call a sulfur smell is really sulfur compounds in gas form. Hydrogen sulfide is the best known, though related gases add to the stink.
Most people can smell hydrogen sulfide at about 0.03 to 0.05 parts per million, roughly a few drops of gas in a large room’s worth of air.4California Air Resources Board. Hydrogen Sulfide & Health Noses vary a lot, though. Some people notice it as low as 0.0005 parts per million, and others not until 0.3.2Agency for Toxic Substances and Disease Registry. ToxGuide for Hydrogen Sulfide That sensitivity explains why one bad egg can seem to fill a whole kitchen: the gas spreads and mixes through the air, and your nose catches it when it is far too dilute to see or to affect your body.
Strength changes the character of the smell. A faint whiff may just seem slightly off or eggy. A strong rotten egg is sharp and choking, and it lingers on hands and pans.
Sulfur compounds from a broken bad egg stick to skin, sponges, and cookware, so the odor can outlast the egg. Washing with soap and hot water and airing out the kitchen usually clears it, as the leftover compounds get washed or blown away.
Where the Sulfur in an Egg Comes From
Eggs are packed with protein, and protein is made of smaller units called amino acids. Two of them, cysteine and methionine, contain sulfur atoms.5PubMed Central. Protein and Amino Acid Content in Four Brands of Commercial Table Eggs in Retail Markets in Relation to Human Requirements Every egg holds a built-in sulfur supply that can turn into gas once it is broken down.5PubMed Central. Protein and Amino Acid Content in Four Brands of Commercial Table Eggs in Retail Markets in Relation to Human Requirements
In a fresh egg, the sulfur stays bound inside intact proteins, so the egg smells of almost nothing. Cysteine even works as an antioxidant in the egg, helping protect it.5PubMed Central. Protein and Amino Acid Content in Four Brands of Commercial Table Eggs in Retail Markets in Relation to Human Requirements
Egg whites are especially sulfur-rich. The white is almost all protein and water, and its proteins hold many sulfur bonds that link protein chains together. Those bonds are what break as an egg ages or cooks, so whites drive both the cooked smell and the rotten smell.
Other high-protein foods behave similarly. Meat and fish also contain sulfur amino acids, and when they spoil, bacteria release similar sulfur gases. Eggs stand out because they are protein-dense and sealed, which traps the gas until the shell is cracked.
How Bacteria Turn an Egg Rotten
An egg starts losing its defenses as soon as it begins aging. The thin membrane around the yolk weakens during room-temperature storage, losing mass and thickness.6PubMed. Weakening of hen egg vitelline membrane during egg storage at room temperature is associated with modifications of its mass, thickness and proteomic profile Aged eggs show runnier whites, flatter yolks, and higher alkalinity than fresh ones.7PubMed. Relating quality characteristics of aged eggs and fresh eggs to vitelline membrane strength as determined by a texture analyzer After about two weeks, free amino acids start leaking from the yolk into the white.8Poultry Science. Chemical and Related Osmotic Changes in Egg Albumen During Storage Over a month of storage, sulfur groups build up in the white as protein bonds break.8Poultry Science. Chemical and Related Osmotic Changes in Egg Albumen During Storage
Bacteria get in through the shell, which is covered in thousands of tiny pores. Cracks, washing damage, or a wet shell make entry easier. Warm temperatures let bacteria multiply faster once inside, and the egg’s natural defenses fade with age, giving them an opening. Once inside, bacteria multiply on the protein-rich food, and their enzymes chop up proteins, freeing sulfur as hydrogen sulfide.
Many bacteria carry an enzyme that splits cysteine into pyruvate, ammonia, and hydrogen sulfide.9PubMed. Characterization of L-cysteine desulfhydrase from Prevotella intermedia Once bacteria are feeding inside an egg, the gas steadily accumulates.10PubMed. Hydrogen sulfide is a novel potential virulence factor of Mycoplasma pneumoniae: characterization of the unusual cysteine desulfurase/desulfhydrase HapE Stored eggs do give off rising levels of it over time, likely as microbes invade and break down protein.11ScienceDirect. Evaluation of the application effect of visual indicator coatings based on H2S for predicting the shelf-life of eggs
That gas forms inside the shell, where it can’t escape. Pressure and concentration rise over days or weeks, and cracking the egg releases it all at once. That is why the smell hits so suddenly.
Not every old egg is rotten, though. Aging and spoilage are different things: an egg can lose freshness, with a runnier white, without bacteria having taken hold. Spoilage needs bacteria actually growing inside, so a cool, intact, clean egg can stay safe long past its prime in texture.
Different bacteria cause different rots. The classic black rot of eggs is mostly caused by Proteus bacteria, with some Pseudomonas adding blackening.12Epidemiology & Infection. Observations on the bacterial flora of the hen’s egg, with a description of new species of Proteus and Pseudomonas causing rots in eggs Certain Pseudomonas strains cause red or green rots instead.12Epidemiology & Infection. Observations on the bacterial flora of the hen’s egg, with a description of new species of Proteus and Pseudomonas causing rots in eggs
Why Cooked Eggs Smell Eggy Too
Cooking frees small amounts of hydrogen sulfide from the proteins in the white.13PubMed Central. The Formation of Ferrous Sulphide in Eggs during Cooking The gas moves inward and meets iron in the yolk.13PubMed Central. The Formation of Ferrous Sulphide in Eggs during Cooking There they form iron sulfide, the gray-green ring around an overcooked yolk.13PubMed Central. The Formation of Ferrous Sulphide in Eggs during Cooking A green ring and a mild eggy smell are harmless and not a sign of rot.
A cooked smell also differs from a rotten one. Cooked eggs smell faintly eggy, and the smell fades. Rotten eggs smell sharp and overwhelming even before cooking. If a raw egg smells bad when cracked, it is spoiled regardless of your cooking plans, and cooking won’t make it safe to eat.
Overcooking makes more gas and a bigger ring, so don’t boil longer than needed. Cooling eggs in cold water right after cooking stops the reaction. Older eggs, with more alkaline whites, tend to form rings more easily.
Is a Smelly Egg Dangerous to Eat
Some egg spoilage bacteria make toxins that can cause severe diarrhea and vomiting.14LWT. The specific biological characteristics of spoilage microorganisms in eggs Bacteria found on eggshells include Staphylococcus aureus, E. coli, and Salmonella, with Staph most common on shells.15Assiut Veterinary Medical Journal. PUBLIC HEALTH HAZARDS OF SOME BACTERIAL PATHOGENS ASSOCIATED WITH CONSUMPTION OF EGGS AND STUDYING THE BEST COOKING METHODS FOR THEIR DESTRUCTION A rotten-smelling egg should go in the trash, not the pan.
Older eggs carry more risk even without a smell. Salmonella is the main egg-borne illness risk in Europe.16EFSA Journal. Scientific Opinion on the public health risks of table eggs due to deterioration and development of pathogens In a European risk estimate, extending egg sell-by and best-before dates by one week each raised the risk of illness about 1.6 times for raw-egg dishes.16EFSA Journal. Scientific Opinion on the public health risks of table eggs due to deterioration and development of pathogens Raw dishes carry higher risk than lightly cooked ones.16EFSA Journal. Scientific Opinion on the public health risks of table eggs due to deterioration and development of pathogens
Salmonella doesn’t announce itself. It can be inside an egg that looks and smells normal, because the rotten smell comes from spoilage bacteria, and those are often different from the germs that sicken people. Smell warns of rot but cannot clear an egg as safe. Cooking until yolk and white are firm kills Salmonella.
To lower risk with eggs that seem fine, keep them cold and use them before their date, because time and warmth let any bacteria present multiply. Raw or lightly cooked dishes carry the highest extra risk, so people who are especially vulnerable may want to avoid them.
If you ate a bad egg, many people have only mild stomach upset or nothing at all. Watch for vomiting, diarrhea, or fever over the next day or two. Drink fluids, and see a doctor for bloody stools, a high fever, or signs of dehydration.
When the Rotten Egg Smell Isn’t From Eggs
At high concentrations hydrogen sulfide is extremely toxic to people.17PubMed Central. Impact of Hydrogen Sulfide on Mitochondrial and Bacterial Bioenergetics It blocks an enzyme cells need to use oxygen, starving them of energy.18PubMed Central. Effects of hydrogen sulfide on mitochondrial function and cellular bioenergetics It has caused deaths, including one at a thermal spring where gas collected.19PubMed. Hydrogen sulfide toxicity in a thermal spring: a fatal outcome The lining of the nose shows damage at exposures of 30 parts per million or more.20PubMed. Cytochrome oxidase inhibition induced by acute hydrogen sulfide inhalation: correlation with tissue sulfide concentrations in the rat brain, liver, lung, and nasal epithelium At high levels hydrogen sulfide can deaden the sense of smell, so a fading smell isn’t reassuring.1PubMed Central. Genetics of Taste and Smell: Poisons and Pleasures
Your body also makes tiny amounts of this gas itself. Cells produce it as a signaling molecule that helps regulate normal tissue function. The danger comes from large outside exposures, not everyday traces.
Smelling a rotten-egg odor in a home usually means a trace amount, far below levels that cause poisoning. Because the nose detects the gas at levels much lower than those linked to harm, noticing it is mostly a prompt to find the source. Common sources include:
- Drains: dry sink or floor drains let sewer gas in; run water to refill the traps.
- Well water: sulfur bacteria make it smell eggy, especially the hot water.
- Water heaters: a reaction with the anode rod can produce the smell.
- Gas leaks: a similar smell, and the one to act on immediately.
A gas appliance is a different case. Natural gas itself has no smell, so suppliers add a strong-smelling sulfur chemical so leaks smell like rotten eggs. What you notice marks leaking fuel, not decay. Because a leak risks fire or explosion, don’t flip switches, light flames, or use a phone inside. Leave first and call the gas company from outside.
How to Tell if an Egg Is Going Bad
Crack questionable eggs into a separate bowl first so one bad egg won’t ruin a batch. A flat white plate works well, since you can see the white and yolk as well as smell them. A fresh raw egg smells of almost nothing, so any sulfur or sour smell means throw it out. If the shell itself smells off or feels slimy, discard it without cracking it.
Look, too. Black, green, red, or pink discoloration inside points to bacterial rot.12Epidemiology & Infection. Observations on the bacterial flora of the hen’s egg, with a description of new species of Proteus and Pseudomonas causing rots in eggs A very runny white and a flat, easily broken yolk show age, though not always spoilage.7PubMed. Relating quality characteristics of aged eggs and fresh eggs to vitelline membrane strength as determined by a texture analyzer
The float test gives a clue about age. As an egg ages, water evaporates through the shell and the air pocket inside grows, making it more buoyant. Fresh eggs sink and lie flat. One standing upright on the bottom is older but often still fine, while a floating egg is quite old. Neither result is proof of anything: a floating egg is old but not necessarily rotten, and a sinking egg can still be contaminated. Always confirm with smell once cracked.
Storage helps eggs last. Keep them refrigerated at about 4°C (40°F) in their carton, in the main body of the fridge rather than the door, where temperatures swing. Don’t wash eggs before storing them, since washing can push bacteria through the pores. Discard cracked or slimy eggs.

