A rotten egg floats. A fresh egg sinks. That single fact is the basis of one of the oldest kitchen tests for egg freshness, and it works because of a simple physical process that happens inside every egg from the moment it is laid.
When an egg sits in your refrigerator or on a counter, moisture slowly escapes through the shell. That loss of water creates an air pocket inside, called the air cell, and that pocket grows bigger over time. The bigger the air cell, the more buoyant the egg becomes. Once enough water has evaporated, the egg rises to the surface of a bowl of water.
So the float test tells you something real. But there is a catch that most people miss: floating does not automatically mean the egg is rotten, and sinking does not automatically mean the egg is safe. Understanding why makes the test far more useful.
Why Do Rotten Eggs Float?
An egg is not a sealed container. Its shell is porous, covered in thousands of tiny holes that allow gas and moisture to move in and out. This is not a design flaw. It is how the developing embryo would breathe if the egg were fertilized and incubated.
Over time, water evaporates through those pores and escapes into the air. As water leaves, the two membranes just inside the shell separate at the wide end of the egg and form an air cell. In a freshly laid egg, that air cell is tiny. As weeks pass, it grows.
Here is the key point. The float test is really measuring age, not spoilage. An egg floats because it has lost enough water to become less dense than water. That takes time, but time alone does not make an egg rotten.
What makes an egg actually rotten is bacterial contamination. Bacteria, often Salmonella, can enter through the shell or be present before the shell forms. Inside, they feed on the egg’s contents and produce gases such as hydrogen sulfide. Those gases add to the air pocket and also create the unmistakable sulfur smell.
So there are two separate things happening. Water loss makes an egg float. Bacterial growth makes an egg rotten. They often overlap because both take time, but they are not the same process. That is why the float test is a rough guide, not a verdict.
How to Do the Egg Float Test Correctly
The test itself takes seconds and needs nothing but a bowl of water. Do it properly and you get useful information. Do it carelessly and you get a false sense of security.
- Fill a bowl or glass with enough cold water to fully cover an egg.
- Lower the egg in gently. Do not drop it, since a cracked shell lets bacteria in.
- Watch where it settles and how it sits.
Where the egg ends up tells you roughly how much air it has inside:
- Sinks to the bottom and lies flat. This is a very fresh egg. Its air cell is small.
- Sinks but stands upright on one end. The air cell has grown. The egg is older but usually still fine to eat.
- Floats to the surface. The air cell is large. The egg is old, and the odds it has spoiled are higher.
Use cold water, not warm. Warm water can push bacteria from the shell surface into the egg through the pores, which is the opposite of what you want.
One more thing worth knowing. The float test cannot detect bacteria. An egg can carry Salmonella and still sink like a stone. Freshness and safety are related but not identical, and this test only speaks to freshness.
Does a Floating Egg Always Mean It Is Rotten?
No. A floating egg is an old egg, but old does not automatically mean spoiled. An egg can lose enough water to float while still being perfectly safe to eat.
This is where a lot of people throw away food they did not need to. The float test is a screening tool, not a diagnosis. It tells you the egg is old enough that you should look closer. It does not tell you the egg has gone bad.
The reverse is also true and more important. An egg that sinks can still be contaminated with bacteria. The float test gives no information about that at all.
So treat floating as a prompt to check further, not as a final answer. The next section covers what to actually check.
What Other Signs Tell You an Egg Has Gone Bad?
Your nose and eyes are more reliable than the float test for detecting actual spoilage. If an egg has truly gone rotten, it usually announces itself.
The clearest sign is smell. A rotten egg gives off a distinct sulfur or sewage odor, caused by hydrogen sulfide and related compounds produced by bacteria. If you crack an egg and it smells bad, throw it out. Do not taste it to be sure.
Other signs include:
- Discoloration. Pink, green, or iridescent patches on the white or yolk can indicate bacterial or fungal growth.
- A runny, watery white. Fresh egg whites are thick and hold their shape. As an egg ages, the white thins out. Very thin, watery white suggests an old egg.
- A weak or flattened yolk. A fresh yolk sits up tall. An old yolk spreads out and breaks easily.
- A strange texture or cloudy film that does not look like normal egg contents.
Smell is the most dependable single indicator. The float test cannot smell anything, and neither can a date stamp on the carton tell you whether bacteria got in. Your nose can.
How Long Do Eggs Actually Stay Safe to Eat?
Refrigeration is the single biggest factor in how long an egg stays good. In the United States, eggs are typically washed and refrigerated soon after laying, which removes a protective coating on the shell. That is why US eggs are kept cold and why they should stay cold at home.
Refrigerated eggs generally keep for several weeks past the packing date, and the carton’s date is a reasonable guide. The exact number of days varies by source, so follow the date on your carton rather than a fixed rule.
Eggs left at room temperature age much faster. The warmer the environment, the faster moisture escapes and the faster bacteria can multiply. If eggs have been sitting out for a long time, the float test becomes less useful because the air cell can grow quickly from warmth rather than from simple aging.
A practical approach: keep eggs refrigerated, use the carton date as your main guide, and use the float test as a backup when you are unsure. If an egg floats and also smells off or looks wrong, throw it out. If it floats but looks and smells normal, it is old but may still be usable — cook it thoroughly rather than eating it raw or runny.
Is the Float Test Reliable Enough to Trust?
It is reliable for one specific thing: estimating how much water an egg has lost, which tracks with age. That is genuinely useful information.
It is not reliable for detecting bacteria. This is the part that gets oversold. No amount of floating or sinking tells you whether an egg carries Salmonella or other harmful bacteria. Only cooking to a safe internal temperature reliably kills those bacteria.
So the honest summary is this. The float test is a decent freshness gauge and a reasonable first check. It is not a food safety test. Rely on it for what it measures, and rely on smell, appearance, proper refrigeration, and thorough cooking for what actually keeps you safe.
For anyone in a higher-risk group — pregnant women, young children, older adults, and people with weakened immune systems — the stakes are higher. The CDC advises these groups to avoid raw or undercooked eggs entirely. For them, cooking eggs until both yolk and white are firm matters more than any float test.
Frequently Asked Questions
Do rotten eggs float or sink?
Rotten or old eggs float, while fresh eggs sink. Floating happens because the egg has lost water over time and its internal air cell has grown large enough to make it buoyant.
Is a floating egg always bad?
No. A floating egg is old, but it is not necessarily spoiled. Check the smell and appearance before deciding, since the float test measures age, not bacterial contamination.
Can a sinking egg still be contaminated with bacteria?
Yes. A fresh egg that sinks can still carry Salmonella or other bacteria. The float test cannot detect bacteria, so proper cooking is what keeps you safe.
What is the best way to tell if an egg has gone bad?
Smell it. A rotten egg gives off a clear sulfur or sewage odor, which is a more reliable spoilage sign than floating. Discoloration and a watery white are also warning signs.

