How to Know the Egg Is Bad? 5 Simple Tests You Can Trust

Five quick checks can reveal a spoiled egg in under two minutes: scan the shell for cracks or slime, sniff for sulfur, crack it onto a plate to judge yolk flatness and white clarity, drop it in water to see if it sinks, and shake it near your ear for any internal sloshing. Eggs that sink and lay flat are almost always fresh. Anything that floats or smells off belongs in the trash.

Below, you’ll learn how egg freshness actually works, decode confusing carton dates, and master five trustworthy tests so you can confidently decide whether to toss an egg or use it in your next recipe.

The Science Behind Egg Freshness

An egg looks sealed, but its shell holds between 7,000 and 9,000 microscopic pores. Each one slowly exchanges gas and moisture with the outside world. As moisture and carbon dioxide escape, air seeps in to replace them, and that incoming air collects in a pocket at the wide end called the air cell.

The Air Cell Drives Every Reliable Test

The air cell starts almost invisible the day an egg is laid and grows steadily over time. A fresh egg has an air cell of about 1/8 inch. By a few weeks in, that pocket may reach 3/8 inch or more. Every classic home test, from floating to candling, works because it measures the size of that air cell directly or indirectly.

That mechanism explains why older eggs feel lighter in your hand and why a gently shaken old egg sloshes like a tiny water balloon. The contents have shrunk, the air has grown, and physics does the rest.

Why Temperature Controls Everything

Eggs held at or below 40°F (4°C) age at roughly one-quarter the speed of eggs kept at room temperature. USDA guidelines set that 40°F threshold because warmer storage accelerates bacterial growth and moisture loss in lockstep, cutting usable shelf life dramatically. If your fridge runs warmer than 40°F in the door, your eggs are quietly aging faster than the carton suggests.

Decoding the Dates Printed on Your Carton

Those stamped dates on the side of your egg carton cause more kitchen waste than almost any other label in your fridge. They’re not the deadlines most people assume.

LabelWhat It Actually MeansShould You Eat Eggs Past This Date?
Sell-byA retailer guideline, set at roughly 30 days after packaging, that tells the store when to rotate stock.Often yes. Eggs regularly stay fresh 3–5 weeks past the sell-by date in a properly chilled fridge.
Use-by / Best-byThe manufacturer’s estimate of peak quality, not a safety cutoff.Usually safe for 1–3 weeks beyond, as long as storage stayed cold.
ExpirationRare on U.S. eggs and not federally required; sometimes used as a synonym for sell-by.Treat it as a quality cue, then run the freshness tests below before deciding.

The sell-by date is a stock rotation tool for grocery chains, not an eat-by deadline for your kitchen. Eggs typically remain good for at least 3 weeks beyond the sell-by date when continuously refrigerated, and often longer.

Date-label confusion drives most unnecessary egg waste at home. If your eggs have been in the fridge the whole time and the date slipped by a week or two, the carton is probably fine. Test one before you toss the whole box.

Those printed dates assume ideal storage, so a quick at-home check fills the gap between label and reality.

Quick Visual and Smell Checks Before You Crack

Before you touch water or candle anything, your eyes and nose can catch most spoiled eggs in seconds. This is the fastest layer of your routine.

Shell Cues You Should Never Ignore

A healthy shell looks clean, slightly chalky, and intact. Run your thumb over the surface and check for these red flags:

  • Hairline cracks: even tiny fissures let bacteria in once the protective bloom wears away or the egg is washed.
  • Sliminess: a sticky or slick surface points to bacterial growth on the shell, often Pseudomonas.
  • Powdery residue: light chalk dust is harmless, but thick white patches can mean mold is starting to colonize.
  • Discoloration: dark spots, pinkish stains, or greenish tinges are early spoilage signs.

Discard any egg with visible shell damage, slime, or unusual color. The shell is your first defense, and once it’s compromised, the contents follow fast.

Smell and the Cracked-Egg Visual

A rotten egg gives off a sulfur warning that’s unmistakable once you’ve smelled it. The odor comes from hydrogen sulfide, a gas produced as bacteria break down the proteins inside. If you catch even a faint whiff of sulfur through the pores of an intact egg, it’s already well past safe.

Crack a borderline egg onto a clean white plate rather than directly into a hot pan. A fresh yolk stands tall and rounded with a thick, cloudy white that hugs it closely. An older yolk flattens out, the white spreads thin and watery, and the chalaza (those twisted white cords anchoring the yolk) may loosen. Discard any egg with an off odor or unusual appearance after cracking, including greenish, pinkish, or iridescent whites.

Once the shell is open, earlier inspection methods fall short, and the egg itself becomes the test.

The Float Test, the Shake Test, and Candling

When you want certainty beyond smell and sight, three classic methods give you a fast, science-backed read on freshness. Each takes seconds.

How the Float Test Works

Fill a bowl or tall glass with cold water and gently lower the egg in.

  • Sinks and lays flat: very fresh. The air cell is tiny, so the egg is denser than water and stays put.
  • Sinks but tilts upright: a few weeks old, still safe. The air cell has grown enough to act like a tiny ballast.
  • Stands on end at the surface: older and likely past peak, but not necessarily spoiled. Smell and crack it before deciding.
  • Floats: the air cell has grown large enough to make the egg buoyant. Toss it.

This is the same mechanism that makes older eggs feel lighter in your hand. A floating egg isn’t just old; it’s aged enough that moisture loss and gas buildup outweigh the contents, and that aging window is when spoilage bacteria thrive.

The Shake Test as a 2-Second Shortcut

Hold the egg right next to your ear and give it a small, quick shake. A fresh egg moves as a solid mass and stays nearly silent. An older egg sloshes audibly because the yolk has thinned, the white has gone watery, and the air cell gives the contents room to ripple. Combine that sound with a quick sniff, and you’ll catch most questionable eggs without cracking them.

Candling With a Flashlight

Candling was originally a commercial grading technique. You can replicate it at home by holding a bright flashlight (a phone LED works) directly against the wide end of the egg in a dark room. A fresh egg glows evenly with a small dark shadow at the top, the air cell. An old egg shows a larger, more obvious air pocket and a yolk that moves freely inside.

This trick is most useful when you’re deciding whether to keep an entire carton. If one egg shows a huge air cell and a wandering yolk, the others from the same batch are likely close behind.

Aging eggs often come from predictable handling mistakes, which makes storage habits the first thing worth fixing.

Storage Habits That Keep Eggs Fresh Longer

How you store eggs matters as much as the date on the carton. The right setup can buy you several extra weeks of usable life.

Location and Carton Matter

Keep eggs in the main body of the fridge, not the door. Door temperatures swing every time you open it, and that fluctuation ages eggs faster than steady cold. A middle shelf toward the back holds the most consistent temperature in most refrigerators.

Leave the eggs in their original carton. The carton blocks odor transfer from strong-smelling foods like onions or cheese, protects the shells from humidity swings, and keeps the porous cuticle from drying out. A washed egg actually has a slightly thinned protective layer, so the carton’s shielding role matters more than you’d think.

Raw Eggs vs. Hard-Boiled Eggs

Raw eggs in the shell stay fresh for about 4–5 weeks past the pack date when continuously refrigerated at or below 40°F. Hard-boiled eggs spoil faster because cooking destroys some of the protective membranes and pushes residual moisture to the surface, where bacteria can colonize it.

Egg FormRefrigerated Shelf LifeStorage Tip
Raw, in shell4–5 weeks past pack dateKeep in original carton on a middle shelf.
Raw, out of shell2–4 daysCover tightly; cold air dries the surface fast.
Hard-boiled, in shellUp to 7 daysCool within 2 hours of cooking, then refrigerate.
Hard-boiled, peeledAbout 1 dayStore submerged in water in a sealed container.

Hard-boiled eggs spoil faster than raw eggs and should be eaten within one week of cooking. If a hard-boiled egg smells sulfurous or feels tacky on the surface, skip it even if it’s only been a few days.

Borderline Eggs, Salmonella Risk, and Smart Next Steps

Not every egg falls cleanly into “fresh” or “trash.” Knowing what to do with the in-between cases, and how to think about Salmonella, is the difference between wasting food and staying safe.

What to Do With Borderline Eggs

An egg that sinks but tilts upright isn’t spoiled. It’s aging, but the air cell has simply grown large enough to shift the egg’s center of gravity. Use it soon, within a day or two, and cook it thoroughly. The same logic applies to an egg that floats only just barely at the surface: still toss it, but recognize that the float test catches aging, not automatic contamination.

A tiny dark speck in the white or a faint green ring around a hard-boiled yolk is cosmetic, not dangerous. A sulfur smell, pinkish whites, or a blackish-green yolk are not cosmetic. Use your nose and your eyes as the final say.

Salmonella and Who Should Be Most Careful

Salmonella can live inside a perfectly clean-looking egg if the hen carried it. The bacteria don’t change the smell, the float behavior, or the shell, which is why no home test can fully rule out the danger. Pasteurized eggs are heat-treated to kill Salmonella while keeping the egg raw, and they reduce that risk dramatically for anyone making hollandaise, tiramisu, or runny yolks.

Young children, pregnant people, older adults, and anyone with a compromised immune system should treat runny or undercooked eggs as a higher-risk choice, regardless of how fresh the test results look. For everyone else, fully cooked eggs are still the safest option when you’re working with an egg that’s clearly past its prime.

A 30-Second Decision Flow

  1. Inspect the shell. Cracks, slime, or odd color? Toss.
  2. Sniff the intact egg. Any sulfur? Toss.
  3. Drop it in cold water. Floats? Toss. Use soon.
  4. Shake it next to your ear. Loud sloshing? Crack and inspect, then smell.
  5. Crack onto a plate. Off odor, pink or green whites, or a flattened, discolored yolk? Toss.

Run those five steps and you’ll never second-guess an egg again. The whole routine takes less than half a minute per egg, and it’s the same method professional kitchens use to protect against food safety incidents without tossing product they could have used.

FAQ

How long do eggs last in the fridge?

Raw eggs in the shell keep for 4–5 weeks past the pack date when stored continuously at or below 40°F. Hard-boiled eggs stay safe for about 7 days. Always run the float and smell tests if you’re past those windows.

Does the float test really work to check egg freshness?

Yes. The science is straightforward: as moisture escapes through the shell, the internal air cell expands and lowers the egg’s average density. A fresh egg sinks and lies flat; an older egg tilts or floats. It’s not perfect, but it reliably catches eggs that are well past peak.

What does a bad egg smell like?

A spoiled egg smells like sulfur or rotten cabbage, sharp enough to clear a kitchen. The odor comes from hydrogen sulfide gas released as bacteria break down the egg’s proteins. If you catch even a faint whiff through the shell, the egg is no longer safe.

Can you eat an egg after the expiration date?

Often yes, if the eggs have been refrigerated the whole time. The sell-by date is a retailer guideline, and eggs typically stay fresh 3–5 weeks beyond it. Crack one open, smell it, and check the yolk before committing the whole carton.

How do you know if a hard-boiled egg has gone bad?

Trust the smell first, then the feel. A sulfur odor, a sticky or tacky surface, or any greenish-black discoloration on the yolk means it’s time to discard. Hard-boiled eggs spoil faster than raw ones, so aim to use them within a week of cooking.

What happens if you eat a bad egg?

Eating a truly spoiled egg can cause vomiting, diarrhea, stomach cramps, and fever within a few hours to a couple of days. Most healthy adults recover on their own, but severe dehydration is a real risk. If symptoms last more than 24 hours or come with high fever, contact a healthcare provider.

Staff
Staff

Our team brings together health and food enthusiasts who are passionate about discovering reliable health information, nutritious choices, and enjoyable food experiences. From everyday nutrition and healthy eating ideas to recipes, ingredients, food trends, and standout dishes, we share carefully researched and thoughtfully curated content to help readers make informed choices about what they eat and enjoy.