Dandruff is caused by a yeast-like fungus called Malassezia that lives on every human scalp. This fungus feeds on the natural oils your skin produces, and in roughly half of all adults worldwide, that process triggers irritation, itching, and visible flaking. The fungus itself isn’t an infection you caught somewhere. It’s a permanent resident of your skin that becomes a problem when conditions tip in its favor.
How Scalp Fungus Creates Flakes
Your scalp constantly produces an oily substance called sebum through tiny glands attached to each hair follicle. Malassezia thrives on this oil. It secretes enzymes called lipases that break down the fats in sebum into free fatty acids, particularly oleic acid. This is where the trouble starts.
Oleic acid directly irritates scalp skin in people who are sensitive to it. It disrupts the normal balance of fats that keep your skin barrier intact, which triggers inflammation and speeds up the rate at which skin cells turn over. Normally, scalp skin cells replace themselves over about a month. When oleic acid irritates the scalp, that cycle accelerates, and cells clump together into the visible flakes you recognize as dandruff.
The process also creates a feedback loop. The fatty acids Malassezia produces stimulate your sebaceous glands to pump out even more oil, which feeds more fungus, which produces more irritating byproducts. This is why dandruff tends to persist or worsen once it starts rather than resolving on its own.
Why Some People Get It and Others Don’t
Everyone has Malassezia on their scalp, but not everyone reacts to oleic acid the same way. Your individual immune response determines whether the fatty acids the fungus produces cause visible inflammation and flaking or go unnoticed. People whose immune systems mount a stronger inflammatory response to oleic acid get dandruff; people who tolerate it don’t.
Oil production matters too. Dandruff typically begins at puberty, when hormonal changes cause sebaceous glands to become more active. This is why children rarely have dandruff and why it tends to peak in young adulthood, when oil production is highest. People with naturally oilier scalps provide more fuel for Malassezia and tend to experience more flaking.
Triggers That Make It Worse
Several environmental and lifestyle factors can tip a manageable scalp into a flaky one. Cold weather is one of the most common triggers. In winter, the combination of freezing outdoor air and dry indoor heating strips moisture from the scalp, weakening the skin barrier and making it more vulnerable to irritation from Malassezia’s byproducts.
Stress plays a measurable role. When your body enters a stress response, immune function shifts in ways that reduce your ability to keep fungal growth in check. Chronic stress can turn mild, occasional flaking into a persistent problem. Diet may contribute as well. Heavily processed foods can stimulate insulin and hormone production, which may increase oil output on the scalp. Dehydration dries out skin generally, and the scalp is no exception.
Hot showers feel great but strip protective oils from the scalp, and sun exposure on unprotected scalp skin (especially along your hair part) can cause peeling that compounds the problem.
Dandruff Flakes vs. Dry Scalp Flakes
Not all flaking is dandruff. A dry scalp produces small, white, powdery flakes that look dried out. Dandruff flakes are different: they’re typically larger, yellowish or white, and have an oily appearance. If the skin underneath looks red or feels greasy rather than tight and dry, that points toward dandruff rather than simple dryness. This distinction matters because the two conditions respond to different treatments. Moisturizing helps a dry scalp but won’t address the fungal overgrowth driving dandruff.
When Dandruff Becomes Something More
Dandruff exists on a spectrum with a condition called seborrheic dermatitis. Mild flaking confined to the scalp is what most people call dandruff. When it progresses to greasy, red, scaly patches that spread beyond the scalp to areas like the eyebrows, the creases beside the nose, the ears, or the chest, that’s seborrheic dermatitis. Both involve the same underlying mechanism (Malassezia, oleic acid, inflammation), but seborrheic dermatitis is more severe and more widespread.
Scalp psoriasis can look similar but behaves differently. Psoriasis produces thicker, well-defined plaques with silvery scales, and it’s driven by an autoimmune process rather than fungal activity. If your flaking comes with thick, raised patches that have sharp borders, that’s worth getting evaluated to distinguish from dandruff.
How Medicated Shampoos Work
Over-the-counter dandruff shampoos target the problem at different points in the cycle. Some contain antifungal ingredients that reduce Malassezia populations directly. Others slow down the rapid skin cell turnover that produces flakes. The active ingredients you’ll see on labels (zinc pyrithione, selenium sulfide, coal tar) each take a slightly different approach, which is why switching between them can help if one stops working.
Most people can use medicated shampoo two to three times a week. If you have curly, coiled, or textured hair, less frequent use is generally better to avoid drying out your hair. Once flaking improves, you can scale back, but using a medicated shampoo at least once a week helps prevent dandruff from returning. The underlying fungus never goes away, so management is ongoing rather than curative.
Why It Keeps Coming Back
Dandruff is a chronic condition because Malassezia is a permanent part of your skin’s ecosystem. You can’t eliminate it, and you wouldn’t want to, since it’s part of the normal microbial community that lives on human skin. What you can do is control the conditions that let it overproduce: managing oil buildup with regular washing, using antifungal shampoos to keep fungal populations in check, and addressing triggers like stress and seasonal dryness. Most people find a rhythm that keeps flaking minimal, but it requires consistency rather than a one-time fix.