That earthy, dirt-like taste in your potatoes comes from a compound called geosmin, produced by bacteria that live in soil and colonize root vegetables as they grow. Geosmin is the same molecule that gives soil its distinctive smell after rain, and humans can detect it at incredibly low concentrations. Your potatoes aren’t dirty in the sense that they weren’t washed well enough. The compound actually builds up inside the tuber itself.
What Geosmin Is and Why It Gets Into Potatoes
Geosmin is a small organic molecule produced primarily by Streptomyces, a group of bacteria that thrive in soil. These bacteria live in close contact with root systems, and the geosmin they generate accumulates in root vegetables through direct absorption. It’s the same compound responsible for the characteristic earthy taste of beets, and it also shows up in carrots, mushrooms, and even grapes. The process is called bioaccumulation: as the potato grows underground surrounded by these bacteria, it absorbs geosmin from the soil and water around it.
What makes geosmin especially noticeable is how sensitive our noses and taste buds are to it. Humans can detect it at concentrations as low as a few parts per trillion. So even a tiny amount absorbed into a potato can register as a strong earthy or muddy flavor when you eat it.
Why Some Potatoes Taste Earthier Than Others
Not every potato you buy will have this problem, and the variation comes down to growing and storage conditions. Soil type matters a lot. Heavy, clay-rich, or waterlogged soils tend to support higher populations of Streptomyces bacteria, which means more geosmin production. Potatoes grown in sandy, well-drained soil generally absorb less of the compound.
Certain potato varieties are also more prone to absorbing earthy flavors. Thin-skinned varieties have less of a barrier between the soil environment and the flesh inside. And potatoes harvested after heavy rains or from poorly drained fields are more likely to carry that muddy taste, because moisture activates the bacteria that produce geosmin.
Storage plays a role too. Potatoes should be kept in a cool, dark, dry place. Warm, humid conditions encourage microbial activity on and around the potato skin, which can intensify off-flavors over time. Storing potatoes near heat sources like your oven or dishwasher, or in plastic bags that trap moisture, creates exactly the environment where these flavors get worse.
Is It Just Dirt, or Could Something Else Be Wrong?
An earthy taste by itself is harmless, if unpleasant. But it’s worth ruling out a couple of other possibilities that could also change how your potatoes taste.
Bacterial soft rot is a common potato disease caused by bacteria that can be present without any visible symptoms in the early stages. Before you see the telltale mushy spots or smell anything foul, a latent infection can subtly alter the potato’s flavor. If the earthy taste is accompanied by any softness, discoloration, or an off-putting smell that goes beyond “earthy” into something more unpleasant, that potato has likely started to decay.
Green patches or sprouting are a separate issue entirely. When potatoes are exposed to light, they produce glycoalkaloids, toxic compounds that taste bitter rather than earthy. The generally accepted safety limit is 200 mg of glycoalkaloids per kg of fresh potato, and potatoes with significant green discoloration can exceed that. A bitter taste in a green-tinged potato is a warning sign to throw it out, not just an aesthetic problem.
How to Reduce the Earthy Taste
Peeling helps. Much of the geosmin concentrates in and just beneath the skin, so removing a generous layer of peel takes a significant portion of the compound with it. Washing and scrubbing alone won’t solve the problem, because geosmin isn’t sitting on the surface like actual dirt. It’s embedded in the potato’s tissue.
Soaking peeled potatoes in cold water for 20 to 30 minutes before cooking draws out some of the compound. Changing the water once or twice during the soak improves the effect. This works because geosmin is water-soluble enough to leach out when given time.
Acid is geosmin’s weakness. Adding a splash of vinegar or lemon juice to your cooking water, or incorporating acidic ingredients into the final dish, breaks down the molecule and neutralizes the earthy flavor. This is the same reason beets taste less “dirty” when prepared with vinegar. Even a small amount of acid makes a noticeable difference.
High-heat cooking methods like roasting and frying also help. Geosmin does degrade with heat, and the browning reactions that occur at high temperatures create flavors strong enough to mask whatever earthiness remains. Boiling is the least effective method, because while some geosmin transfers into the cooking water, the potato is also sitting in that water and can reabsorb it. If you boil, use plenty of water and discard it.
Choosing Better Potatoes at the Store
You can actually smell-test potatoes before buying them. Pick one up and sniff near the skin. A strong earthy or musty smell before you’ve even cut into it is a reliable signal that the geosmin concentration is high. Fresh potatoes with low geosmin levels have a mild, almost neutral scent.
Look for firm potatoes with intact, unblemished skin and no soft spots. Avoid any with visible mold, excessive soil still clinging to them, or a damp feel. Potatoes sold pre-washed tend to have less residual bacterial activity on the surface, though the geosmin already inside won’t be affected by washing.
If you consistently find that potatoes from a particular store or brand taste earthy, the issue likely traces back to the soil conditions where they were grown. Switching brands or buying from a different source, especially one that grows in sandier soil, can make a real difference. Farmers’ market vendors can often tell you about their soil type if you ask.

