Dandruff is caused by your scalp’s reaction to a naturally occurring fungus called Malassezia, which feeds on the oils your skin produces and leaves behind irritating byproducts. Nearly everyone has this fungus living on their scalp, but some people’s skin reacts more strongly to it, triggering the rapid cell turnover and flaking that defines dandruff.
The Fungus Behind the Flakes
Your scalp constantly produces an oily substance called sebum, which keeps your skin and hair moisturized. Malassezia fungi, particularly the species M. restricta and M. globosa, live on virtually every adult scalp and feed on this oil. As they break down the fats in sebum, they release free fatty acids, including oleic acid, as metabolic waste. These byproducts irritate the scalp in people who are sensitive to them.
When your scalp becomes irritated by these fatty acids, it responds with inflammation. That inflammation speeds up the rate at which skin cells multiply and shed. Instead of maturing and falling off invisibly over the course of weeks, skin cells on a dandruff-affected scalp cycle much faster, clumping together into the visible white or yellowish flakes you find on your shoulders. So dandruff isn’t caused by the fungus directly. It’s caused by your immune system’s overreaction to what the fungus leaves behind.
Why Some People Get It and Others Don’t
Since Malassezia lives on almost everyone’s scalp, the real question is why only some people develop dandruff. The answer comes down to three factors working together: how much oil your scalp produces, how much fungus is present, and how sensitive your skin is to the irritating byproducts.
People who produce more sebum give the fungus more to eat, which means more irritating fatty acids on the scalp surface. This is why dandruff tends to appear during puberty, when oil production ramps up, and why it’s more common in people with naturally oily skin. Hormonal shifts, stress, and certain medical conditions can all increase sebum production.
Individual sensitivity is the factor that varies most from person to person. Research published in the Journal of Investigative Dermatology showed that when oleic acid was applied directly to scalps, some people developed flaking and irritation while others showed no reaction at all. Your genetic makeup largely determines where you fall on that spectrum. People with dandruff-prone scalps also show a distinct microbial pattern: higher levels of M. restricta and Staphylococcus bacteria at flaking sites, with lower levels of protective bacteria like Cutibacterium and S. epidermidis. This imbalance in the scalp’s microbial community appears to both reflect and reinforce the inflammatory cycle.
Seasonal and Environmental Triggers
Cold weather is one of the most common triggers for dandruff flares. In winter, cold outdoor air combined with dry indoor heating strips moisture from your scalp. The scalp compensates by producing more oil, which feeds Malassezia and increases the production of irritating byproducts. This creates a cycle where dryness leads to excess oil, which leads to more fungal activity, which leads to more flaking.
Hot, humid weather can also worsen dandruff by increasing sweating and oil production on the scalp. Many people notice their dandruff follows a seasonal pattern, flaring in winter or during weather transitions and improving in milder months.
Other Contributing Factors
Several lifestyle and health factors can make dandruff worse, though they don’t cause it on their own.
- Stress: Psychological stress weakens immune function and can increase oil production, both of which give Malassezia an advantage.
- Infrequent washing: Going longer between shampoos allows oil and dead skin cells to accumulate, giving the fungus more to feed on.
- Diet: Some researchers have explored whether high-sugar diets contribute to dandruff, since foods with a high glycemic index can stimulate sebum production through hormonal pathways. A small 1967 study found that people with seborrheic dermatitis consumed significantly more sugar than control groups. However, larger and more recent studies have not confirmed a clear link between any specific dietary pattern and dandruff severity. The connection between diet and dandruff remains unproven.
- Age and sex: Dandruff is most common between the teens and mid-50s and affects men more often than women, likely due to hormonal differences in oil production.
Dandruff vs. Dry Scalp
Many people assume their flaking is dandruff when it’s actually a dry scalp, or vice versa. The two conditions look different and have opposite causes. Dandruff involves excess oil and fungal activity. A dry scalp is simply skin that lacks moisture.
Dandruff flakes are typically larger, yellowish or white, and feel oily or waxy. The scalp underneath often looks red and scaly. Your hair may feel greasy even when your scalp itches. Dry scalp flakes, by contrast, are smaller, whiter, and powdery. The scalp looks dry without redness, and you’ll often notice dry skin on other parts of your body too, like your arms or legs.
A simple home test can help you tell the difference. Apply a light moisturizer to your scalp before bed, then shampoo in the morning. If the flaking stops, you likely have a dry scalp that responds to hydration. If the flakes persist or your scalp still feels oily and irritated, dandruff is the more likely cause.
When Dandruff Becomes Seborrheic Dermatitis
Dandruff and seborrheic dermatitis exist on the same spectrum. Mild, flaky scalp with minimal inflammation is what most people call dandruff. When the condition becomes more severe, with noticeable redness, thicker scales, persistent itching, or flaking that spreads beyond the scalp to areas like the eyebrows, sides of the nose, or behind the ears, it’s typically classified as seborrheic dermatitis. The underlying mechanism is the same: Malassezia, sebum, and an inflammatory skin response. The difference is one of degree.
Most people with ordinary dandruff can manage it effectively with over-the-counter antifungal or medicated shampoos that target Malassezia or slow skin cell turnover. Seborrheic dermatitis may require stronger prescription treatments, particularly during flares. Neither condition is curable in the traditional sense, since the fungus is a permanent resident of your skin. But both are highly manageable once you understand what’s driving the flaking and treat the right cause.

