Why Do I Get Dandruff? Causes and Treatments

Dandruff happens because a fungus that lives on everyone’s scalp feeds on your skin oils and produces byproducts that irritate your skin. The fungus, called Malassezia, is completely normal and present on healthy scalps too. The difference between a flake-free scalp and a flaky one comes down to how much oil your scalp produces, how your skin reacts to the fungus’s waste products, and the overall balance of microbes living on your head.

The Fungus on Your Scalp

Malassezia is a yeast that colonizes every human scalp shortly after birth. It can’t make its own fatty acids, so it survives by breaking down the oils (sebum) your sebaceous glands produce. To do this, it secretes enzymes called lipases that chop triglycerides in your sebum into free fatty acids. One of the main byproducts is oleic acid, and this is where the trouble starts.

Oleic acid is directly toxic to skin cells in many people. It disrupts the lipid barrier of your scalp, triggering an inflammatory response. Your skin tries to defend itself by speeding up cell turnover, pushing new cells to the surface faster than normal. Those excess dead cells clump together with scalp oil and shed as visible flakes. About half the population is sensitive to oleic acid in this way, which is why dandruff is so common despite everyone carrying the same fungus.

Your Scalp’s Microbial Balance Matters

It’s not just about Malassezia. Your scalp hosts a complex ecosystem of bacteria and fungi that keep each other in check. Research published in PLOS ONE found that people with dandruff have a measurably different microbial profile compared to people without it: higher levels of both the Malassezia species M. restricta and the bacterium S. epidermidis, paired with lower levels of P. acnes (a bacterium better known for its role in facial acne, but also a normal scalp resident).

This shift in the ratio between bacteria and fungi appears to be a key driver. When the balance tips in favor of Malassezia, more sebum gets broken down into irritating fatty acids, more inflammation follows, and flaking increases. Anything that disrupts this microbial balance, from antibiotics to stress to changes in diet, can set the stage for a dandruff flare.

Oil Production and Hormones

Dandruff is fundamentally an oily scalp condition, not a dry one. Malassezia thrives where sebum is abundant, which is why dandruff concentrates on the scalp, eyebrows, and sides of the nose rather than, say, your forearms. Sebum production is largely driven by hormones called androgens, which is why dandruff rarely appears before puberty and tends to peak between the teens and mid-forties.

People who naturally produce more oil are feeding more fuel to Malassezia, which in turn produces more oleic acid. This is also why conditions that increase oil production, such as hormonal shifts, high stress, or certain medications, often coincide with worse dandruff.

Winter Flares and Seasonal Patterns

If your dandruff gets worse in winter, there’s a straightforward explanation. Cold outdoor air holds less moisture, and indoor heating dries the air further. This combination weakens your scalp’s skin barrier and reduces hydration, making it more reactive to the irritants Malassezia produces. At the same time, your scalp may compensate for the dryness by ramping up oil production, giving the fungus even more to feed on. The result is a perfect storm: a more vulnerable skin barrier plus more fungal activity equals more visible flaking.

Dandruff vs. Dry Scalp

Many people assume their flaking is just dry skin, but dandruff and a dry scalp produce noticeably different flakes. Dandruff flakes are larger, oily, and typically yellow or white. Dry scalp flakes are smaller, finer, and powdery. The distinction matters because the treatments are nearly opposite: dandruff needs antifungal or oil-reducing ingredients, while a genuinely dry scalp needs moisture. If your flakes look greasy and your scalp feels oily or itchy rather than tight and parched, you’re almost certainly dealing with dandruff.

When Dandruff Becomes Seborrheic Dermatitis

Dandruff and seborrheic dermatitis exist on the same spectrum. Mild flaking confined to the scalp is typically called dandruff. When it progresses to red, inflamed patches (sometimes extending to the face, ears, or chest), it’s classified as seborrheic dermatitis. The underlying mechanism is identical: Malassezia, oleic acid, and an inflammatory skin response. The Cleveland Clinic notes that a provider can usually diagnose it just by looking at the skin, with no testing needed unless standard treatments aren’t working.

How Dandruff Shampoos Work

Most anti-dandruff shampoos target one or more links in the chain that leads to flaking. Understanding what each active ingredient does can help you pick the right one.

  • Zinc pyrithione attacks the fungus on multiple fronts. It floods Malassezia cells with excess zinc, shuts down their energy-producing machinery (mitochondria), and, critically, reduces the expression of the lipase enzymes the fungus uses to break down your sebum. Less lipase means less oleic acid, which means less irritation. This triple mechanism is why zinc pyrithione has been one of the most widely used dandruff ingredients for decades.
  • Ketoconazole is a stronger antifungal available in both 1% (over-the-counter) and 2% (prescription) shampoo. The Mayo Clinic recommends using the 1% version every three to four days for up to eight weeks, then only as needed. It’s particularly useful for stubborn dandruff that hasn’t responded to zinc pyrithione.
  • Selenium sulfide slows the rate at which scalp skin cells die and shed, while also fighting the fungus directly. It addresses both sides of the problem: the microbial cause and the excessive cell turnover that produces visible flakes.
  • Coal tar slows skin cell turnover and shedding, but doesn’t have antifungal properties. It works best for people whose main issue is rapid flaking rather than fungal overgrowth, and it can discolor light hair.
  • Salicylic acid helps loosen and dissolve existing flakes so they wash away more easily. It doesn’t kill the fungus or slow cell turnover, so it works best paired with one of the ingredients above.

Why It Keeps Coming Back

Dandruff is a chronic, recurring condition because you can’t eliminate Malassezia from your scalp permanently. The fungus is a normal part of your skin’s ecosystem. Anti-dandruff shampoos control the population and reduce the irritating byproducts, but once you stop using them, the fungus rebounds and flaking returns. Most people find they need to use a medicated shampoo on an ongoing maintenance schedule, typically once or twice a week, even after the visible flaking clears.

Stress, sleep deprivation, poor diet, and illness can all suppress your immune system’s ability to keep Malassezia in check, which is why dandruff often flares during high-stress periods or after being sick. Oily hair products can also feed the fungus by adding more lipids to the scalp surface. If your dandruff is persistent, it’s worth experimenting with different active ingredients, since the specific species of Malassezia on your scalp may respond better to one antifungal than another.