Coconut oil that has gone bad usually smells sour, bitter or "off" (like old crayons or stale nuts), tastes unpleasant, or shows mold or discoloration. Because it's so high in saturated fat, it's slow to spoil, but it isn't immortal.
Signs your coconut oil has gone bad
- Smell: Fresh coconut oil smells mildly of coconut (or has almost no smell if refined). A sharp, sour, soapy, paint-like or stale smell suggests it has turned rancid. "Rancid" means the fats have reacted with oxygen, light or heat and broken down into smelly compounds.
- Taste: A tiny taste that is bitter, metallic or harsh means it's past its best.
- Appearance: Mold, specks, or yellow, brown or gray patches are a clear sign to throw it out. Mold is more likely if water or food crumbs got into the jar, for example from a wet spoon.
- Texture: Solid at cool room temperature and liquid when warm is normal (it melts at about 24°C / 76°F). Don't worry about that change. Unusual sliminess or separation with a watery layer is more worrying.
Why it lasts so long
According to USDA, coconut oil has about 82 g of saturated fat per 100 g, versus about 14 g in olive oil and 7.4 g in canola oil. Saturated fats are chemically more stable and less prone to going rancid than unsaturated fats. Coconut oil also has very little omega-3 (0.02 g per 100 g, USDA), a type of fat that spoils especially easily.
Typical shelf life is roughly one to two years for unopened refined oil, and often somewhat longer for well-stored oil. Exact times vary by brand, so check the "best by" date. These are general guidelines rather than precise figures.
How to store it well
- Keep it in a cool, dark cupboard, away from the stove and sunlight.
- Seal the lid tightly after each use.
- Use clean, dry utensils to scoop it out.
- You don't need to refrigerate it, though that can extend its life in hot climates.
Is rancid oil dangerous?
Eating a small amount of rancid oil is unlikely to make most people seriously ill, though it may cause stomach upset and tastes bad. Research on the long-term health effects of regularly eating oxidized fats is limited and not settled, so the practical advice is simple: if in doubt, throw it out. Mold is a different matter, so discard the whole jar if you see any.
If you have a medical condition or a sensitive digestive system and are unsure, ask a doctor or registered dietitian.