The egg float test tells you something about an egg’s age and air cell, not whether it is free of harmful bacteria. A floating egg is older, but it is not automatically spoiled. An egg that sinks is not automatically safe to eat.

Why an egg floats
As moisture and gas pass through the shell, the air space inside becomes larger. That changes buoyancy: a very fresh egg tends to lie on its side, an older egg may stand more upright, and one with a large enough air cell may float.

USDA’s explanation of floating eggs makes the distinction clear: buoyancy relates to age and quality, and a floating egg may still be usable. The test cannot detect Salmonella or establish how the egg has been handled.
How to use the test without overinterpreting it

Place an intact egg gently in a bowl of water and observe its position. Treat the result as a rough quality clue, not a use-by date. It cannot tell you how many days the egg has left, especially if you do not know its storage history.
There is little reason to test eggs whose collection date and storage conditions you already know. For a backyard flock, writing the collection date on the carton and rotating older eggs forward is more useful than repeatedly testing an unlabelled batch.
What else can you check?

Inspect for shell damage and contamination. Crack an egg separately before adding it to a recipe, particularly when you are uncertain about quality. Discard one with an unpleasant odor or an abnormal appearance. A watery white or flatter yolk can reflect age, but neither appearance nor smell proves that an otherwise normal egg is pathogen-free.
Candling can show the air cell and some internal defects, but it is not a microbiological safety test either. Candling food eggs for quality is also a different task from watching an embryo develop during incubation.

Storage and cooking matter more than buoyancy
Follow the handling guidance that applies where you live. For the U.S. refrigerated egg supply, keep eggs refrigerated and avoid leaving them out while repeatedly checking freshness. Do not assume that an unwashed backyard egg can be stored indefinitely because its shell has a protective coating.

Our egg storage guide distinguishes raw shell eggs from cooked eggs and leftovers. It also explains why a preservation method needs its own reliable instructions: floating or sinking cannot validate water-glassing, oiling, pickling, or a homemade shelf-stable egg product.
If an egg has an unknown storage history or has been mishandled, a bowl of water cannot resolve that uncertainty. Use collection dates, suitable refrigeration, clean handling, and appropriate cooking as the basis for decisions.
