Food safety
Does a Floating Egg Mean It's Bad? What the Water Test Really Shows
By Fede4 min readUpdated
In short
The glass-of-water test doesn't tell you whether an egg is rotten: it tells you how old it is. Over time, an egg loses moisture through the pores in its shell and its air cell grows: a fresh egg lies on its side at the bottom, an older one stands on end, and a very old one floats, but it can be perfectly fine. A sinking egg isn't a guarantee either. Crack it into a separate dish and smell it.
It's one of the most famous kitchen tricks: put an egg in a glass of water, and if it floats, it's rotten. We all learned it from somebody.
And it's not true. The glass doesn't tell you whether an egg is rotten: it tells you how old it is. Those are two very different things.
Why old eggs float
Every egg has a little pocket of air, the air cell, at its rounder end. It forms right after the hen lays it: the egg comes out warm, as it cools the contents shrink, and the two membranes under the shell pull apart and leave that space.
On top of that, the shell isn't a sealed wall. According to the U.S. Department of Agriculture (USDA), it has about 17,000 tiny pores. Over the days, moisture and carbon dioxide from the white escape through those pores, air gets in, and the air cell gets bigger.
The more air inside, the lighter the egg is for its size. And at some point, it floats.
How to read the glass
Iowa State University sums it up: fresh eggs sink and lie on their side; an egg that stands on end or floats is of poor quality and likely old.
| What it does in the water | What it tells you |
|---|---|
| Lies on its side at the bottom | It's fresh: little air inside |
| Stands on end | It's older: the air cell has grown |
| Floats | It's old: the air cell is already large |
Watch that last row. The USDA makes it clear: a floating egg is of poor quality, but it may be perfectly safe to eat. Old isn't the same as rotten.
A sinking egg isn't a guarantee
The mistake goes both ways. If an egg floats, it's not necessarily rotten. And if it sinks, that doesn't guarantee it's fine.
The test measures air, not bacteria. The FDA, the U.S. food and drug agency, warns that fresh eggs, even those with clean, uncracked shells, may contain Salmonella. That egg will sink in the glass like any fresh egg, and you won't notice anything by looking at it or smelling it.
That's why the FDA recommends cooking eggs until both the yolk and the white are firm, and cooking egg dishes to 71 °C (160 °F).
So how do you know if an egg is rotten?
Crack it. Iowa State University recommends cracking the egg into a bowl and checking it before deciding whether to use it or toss it: a spoiled egg has an unpleasant odor, and sometimes an unusual look.
And here's my trick, which is gold when you're making a cake: crack each egg into a small separate dish before adding it to the bowl with everything else. A rotten egg has a smell you can't mistake for anything else. If it's bad, you toss that one alone, and it doesn't ruin the other five eggs, the butter, and the sugar you'd already beaten.
As a bonus, the little dish lets you fish out any bit of shell before it disappears into the batter.
How to store eggs so they last
Freshness also depends on how you store them:
- In the fridge, at 4 °C (40 °F) or below. That's what the USDA and the FDA recommend.
- In their carton, on an inside shelf, not in the door. According to Iowa State University, the temperature swings in the door make them spoil faster.
- How long they keep: the USDA gives 3 to 5 weeks for raw eggs in the shell in the fridge; the FDA recommends using them within 3 weeks for best quality.
So why does knowing the age matter?
Knowing the age is useful, even if it doesn't tell you whether an egg is bad. For example, for hard-boiled eggs, one that isn't brand-new has its advantages: I explain it in why a hard-boiled egg gets a green ring, and the timing is in my hard-boiled egg recipe.
Bottom line: the glass tells you the egg's age, your nose tells you if it's bad, and the separate dish saves your cake.
Frequently asked questions
Can you eat an egg that floats?
It may be perfectly fine: floating means it's old, not rotten. Crack it into a separate dish and smell it before using it.
How long do eggs last in the fridge?
The USDA gives 3 to 5 weeks for raw eggs in the shell, at 4 °C (40 °F) or below. The FDA recommends using them within 3 weeks for best quality.
Can you tell if an egg has Salmonella?
No. A fresh egg with a clean, intact shell can carry it, and it looks, sinks, and smells just like a safe one. That's why eggs should be cooked well.
Why shouldn't you store eggs in the fridge door?
Because the temperature changes most there, and those swings make eggs spoil faster. Keep them in their carton on an inside shelf.
What does a rotten egg smell like?
It has a strong, unpleasant smell you notice as soon as you crack it, raw or cooked. You can't mistake it for anything else.
Related recipes
Sources
The facts in this post come from these sources (checked when it was written).
- Egg Safety Q&As — Iowa State University Extension (AnswerLine, Marlene Geiger) (2026)
- Air cell — The French Culinary Institute, The Fundamental Techniques of Classic Bread Baking (en ckbk)
- Biology of Eggs — USDA FSIS (material de capacitación) (2021)
- Shell Eggs from Farm to Table — USDA FSIS
- What You Need to Know About Egg Safety — FDA (2024)



