Eggs are a unique kitchen staple because their protective shells act as a natural barrier, hiding the true state of the contents within. Unlike a loaf of bread that might show visible mold or a gallon of milk that emits an immediate sour tang upon opening the fridge, a spoiled egg often looks identical to a fresh one until the moment it is cracked open. Understanding how to tell if egg is bad is not just a matter of culinary quality; it is a critical skill for preventing foodborne illnesses and reducing unnecessary food waste.

Determining the freshness of an egg involves a combination of traditional kitchen wisdom and basic physics. As an egg ages, its physical structure changes due to the porous nature of the shell. These changes provide reliable clues that can be detected through various non-destructive and destructive tests. Whether you are dealing with a carton that has been sitting in the back of the refrigerator for weeks or farm-fresh eggs with no labels, the following methods will provide clarity.

1. The Float Test: Leveraging Physics to Measure Age

The float test is perhaps the most popular and visually satisfying way to check egg freshness. It relies on a simple biological fact: eggshells are porous. Over time, moisture inside the egg evaporates through these thousands of tiny pores, and air moves in to replace it. This creates an air cell between the shell and the membrane, which grows larger as the egg gets older.

To perform the float test, fill a deep bowl or a tall glass with cool water. Gently lower the egg into the water and observe its behavior:

  • Lying Flat at the Bottom: If the egg sinks quickly and rests horizontally on the bottom, it is exceptionally fresh. The air cell is tiny, and the density of the egg is much higher than that of the water.
  • Standing Upright or Tilting: If the egg sinks but stands on its narrow end or tilts upward, it is older—likely two to three weeks. While it is no longer at its peak freshness, it remains safe to eat. These eggs are actually preferred for hard-boiling because the larger air cell makes the shell easier to peel.
  • Floating at the Surface: When an egg floats entirely, it indicates a massive air cell, meaning the egg is very old. While floating doesn't always mean the egg is "rotten" or toxic, it is a strong signal that the quality has significantly degraded. In such cases, further testing—specifically the sniff test—is required after cracking it open to ensure safety.

2. The Sniff Test: The Ultimate Verdict

The human nose is an incredibly sensitive instrument for detecting the gaseous byproducts of bacterial decomposition. When an egg goes bad, particularly due to the growth of certain bacteria, it produces hydrogen sulfide gas. This is the source of the infamous "rotten egg smell" that is unmistakable once encountered.

A fresh egg should have essentially no smell at all. If you are unsure about an egg that passed the float test but is past its expiration date, crack it into a clean, white bowl before adding it to your other ingredients. If it emits any pungent, sulfuric, or sour odor, it must be discarded immediately. The sniff test is considered the most reliable method for identifying a truly spoiled egg, as chemical changes leading to foul odors are a definitive sign of decay.

3. Visual Inspection: Identifying Warning Signs

Visual cues can be divided into two categories: the exterior shell and the internal contents. A thorough visual inspection can often catch issues that a float test might miss, such as mold or bacterial infiltration through cracks.

Exterior Shell Inspection

Before cracking the egg, examine the shell under a bright light. Look for:

  • Cracks: Any visible crack, even a hairline one, can allow bacteria like Salmonella to enter the egg. If you find a cracked egg in a carton you just bought, it is best to use it immediately in a high-heat dish or discard it if the crack looks old.
  • Sliminess or Powdery Residue: A slimy shell can indicate bacterial growth, while a powdery residue often points to mold. If either is present, do not attempt to wash the egg; the shell’s porosity means the contaminants may have already reached the interior. Toss it out.

Internal Inspection

Once the egg is cracked onto a flat surface, observe the behavior of the yolk and the white (albumen):

  • The Yolk: In a fresh egg, the yolk will be bright yellow or orange and sit high and round. If the yolk is flat, easily broken, or appears pale and watery, the egg is older. While not necessarily bad, it has lost its structural integrity.
  • The White: A fresh egg has two distinct layers of white: a thick, cloudy inner circle that surrounds the yolk and a thinner outer layer. As eggs age, the proteins in the white break down, causing the entire albumen to become clear and watery. If the white spreads out thinly across the plate like water, the egg is old.
  • Discoloration: This is a major red flag. If the egg white shows iridescent, pink, or greenish hues, it may be contaminated with Pseudomonas bacteria, which is dangerous if consumed. Blood spots (small red dots on the yolk) are not a sign of spoilage; they are simply caused by a ruptured blood vessel during the egg's formation and are safe to eat.

4. Deciphering the Carton: Julian Dates vs. Expiration

Understanding the numbers stamped on an egg carton can eliminate much of the guesswork. In many regions, cartons feature two different dates, and knowing how to read them is essential for inventory management in your kitchen.

  • The Sell-By or Expiration Date: This is a guide for retailers and consumers, but it is not a hard deadline for safety. Eggs are often perfectly good for several weeks beyond this date if stored properly in a cold refrigerator.
  • The Julian Date: This is a three-digit code representing the day of the year the eggs were packed. It ranges from 001 (January 1st) to 365 (December 31st). For example, if today is April 16, 2026, the Julian date would be 106. If your carton shows a pack date of 080, you know the eggs were packed about 26 days ago. Most eggs remain high quality for 4 to 5 weeks after the Julian date.

By tracking the Julian date rather than just the expiration date, you can make more informed decisions about which eggs to use for poaching (fresh) and which to save for baking or boiling (older).

5. The Candling Method: A Professional Trick for Home Use

Candling is a technique used by commercial egg processors to grade eggs, but it can be replicated at home using a high-intensity smartphone flashlight. In a dark room, hold the egg up to the light source, covering the edges with your hand so the light passes through the shell.

This allows you to see the size of the air cell without breaking the shell. In a fresh egg, the air cell will be less than 1/8th of an inch deep. You can also see the shadow of the yolk; in fresh eggs, it stays relatively centered because the chalazae (the white stringy bits that hold the yolk) are strong. If the yolk moves very freely or appears dark and mottled, the egg is old or potentially spoiled.

The Science of Why Eggs Go Bad

To effectively manage egg freshness, it helps to understand the underlying biology. An egg is a biological vessel designed to protect a developing embryo. It contains natural enzymes like lysozyme that inhibit bacterial growth. However, these defenses are not eternal.

The high pH of a fresh egg white (around 7.6 to 8.5) is part of its defense mechanism. As the egg ages, it loses carbon dioxide through the shell, causing the pH to rise to 9.2 or higher. While this alkalinity actually helps kill some bacteria, it also causes the structural proteins to collapse, leading to the watery whites mentioned earlier. Eventually, if bacteria like Salmonella or spoilage organisms manage to bypass the membranes and the natural enzymes, they feast on the nutrient-rich yolk, leading to gas production and rot.

Proper Storage to Prevent Spoilage

How you store your eggs is just as important as how you test them. Proper storage can extend the life of a standard grocery store egg to five weeks or more.

  • Temperature Consistency: Eggs should be kept at a constant temperature, ideally below 40°F (4°C). In the United States and several other countries, eggs are washed before sale, which removes the natural protective "bloom." This makes refrigeration mandatory to prevent bacterial growth.
  • Location Matters: Avoid storing eggs in the built-in egg rack on the refrigerator door. The door is the warmest part of the fridge and is subject to frequent temperature fluctuations every time it is opened. Instead, place the carton on a middle or bottom shelf toward the back.
  • The Original Carton: Always keep eggs in their original cardboard or plastic carton. The carton is not just for organization; it prevents the eggs from absorbing strong odors (like onions or fish) from other foods in the fridge through their porous shells. It also protects them from physical damage.
  • Pointy Side Down: Storing eggs with the blunt end up and the pointy end down keeps the air cell at the top. This prevents the air cell from migrating and helps keep the yolk centered, maintaining the egg's internal structure for a longer period.

Hard-Boiled Eggs: A Different Timeline

A common misconception is that cooking an egg extends its shelf life. In reality, the opposite is true. When you boil an egg, the heat dissolves the natural protective coating on the shell, making it even more porous and susceptible to bacteria.

Hard-boiled eggs, whether peeled or in the shell, should be consumed within one week of cooking. They must be refrigerated within two hours of being boiled. If a hard-boiled egg has a distinct off-smell or a slimy texture when you peel it, it has gone bad and should be discarded. A green ring around the yolk, however, is not a sign of spoilage; it is a harmless chemical reaction between the iron in the yolk and the sulfur in the white, usually caused by overcooking.

Risks of Consuming Bad Eggs

Eating a spoiled egg or one contaminated with Salmonella can lead to food poisoning. Symptoms typically include abdominal cramps, diarrhea, fever, and vomiting, appearing anywhere from 6 to 48 hours after ingestion. While most healthy individuals recover within a few days, the risk is higher for children, the elderly, and those with weakened immune systems.

If you find an egg that is questionable—perhaps it floats but smells okay—ensure it is cooked thoroughly. Both the white and the yolk should be firm. High-heat cooking can kill most bacteria, but it cannot neutralize the heat-stable toxins produced by some types of mold or advanced spoilage. When in doubt, the safest course of action is always to discard the egg.

Summary of Freshness Triage

Managing your egg supply doesn't have to be complicated. Use the float test as a quick screening tool to decide your cooking method: sinkers for poaching and frying, tilters for hard-boiling, and floaters for a closer inspection. Always rely on your nose as the final judge once the shell is cracked. By combining these sensory checks with proper storage in the coldest part of your refrigerator, you can maximize your food budget and ensure that every meal you prepare is both delicious and safe.