Dandruff is driven by a combination of naturally occurring fungi on your scalp, oil production, and your immune system’s reaction to both. Nearly everyone has the microorganisms responsible for dandruff living on their skin, but only some people develop the visible flaking, itching, and irritation. Understanding what tips the balance helps explain why you’re dealing with it and what actually works to stop it.
What’s Happening on Your Scalp
Your scalp is home to a complex ecosystem of bacteria and fungi. The dominant fungus is Malassezia, which feeds on the oils your scalp produces. As it breaks down these oils, it generates byproducts that can irritate the skin. In some people, the immune system overreacts to these byproducts, triggering faster-than-normal skin cell turnover. Cells that would normally take about a month to mature and shed instead pile up in days, clumping together into the visible flakes you see on your shoulders.
Dandruff is technically a mild form of seborrheic dermatitis, an inflammatory skin condition that targets oil-rich areas of the body including the scalp, face, upper chest, and back. When it stays limited to light scalp flaking, most people just call it dandruff. When the inflammation worsens, producing red, scaly patches that spread beyond the scalp, it’s typically diagnosed as seborrheic dermatitis.
The Microbiome Imbalance Behind Flaking
Research into scalp microbiomes has revealed that dandruff isn’t simply caused by “too much” of one organism. It’s about shifts in the balance between species. The two most abundant bacterial groups on the scalp are Cutibacterium and Staphylococcus, while Malassezia dominates the fungal population. On dandruff-affected scalps, Staphylococcus bacteria rise from about 24.5% to 33.7% of the bacterial population, while Cutibacterium drops from 56.2% to 51.5%.
Among Malassezia species, the overall abundance stays roughly the same between healthy and dandruff-affected scalps. But the composition changes. At the most severely flaking sites, one species called M. restricta increases significantly while M. globosa decreases. A particular Staphylococcus species, S. capitis, also climbs sharply at flaking sites, while a potentially protective species, S. epidermidis, drops. These shifts suggest dandruff reflects a disrupted microbial community rather than a single invading organism.
Common Triggers and Risk Factors
Several factors can push your scalp ecosystem out of balance or amplify the inflammation that causes flaking:
- Oil production. Dandruff is fundamentally linked to sebum. People with oilier scalps provide more fuel for Malassezia, which is why dandruff peaks during adolescence and young adulthood when oil glands are most active.
- Stress. Psychological stress weakens immune regulation and can worsen flaking.
- Cold, dry weather. Dandruff often flares in winter. Low humidity and indoor heating dry out the scalp, and the skin’s barrier function suffers.
- Sensitivity to hair products. Some people develop contact dermatitis from ingredients in shampoos, conditioners, or styling products, which can mimic or worsen dandruff symptoms.
- Age. The risk of seborrheic dermatitis increases substantially with age, partly because the immune system’s T cells gradually lose effectiveness over a lifetime as the thymus gland shrinks.
When It Signals Something Else
For most people, dandruff is a cosmetic nuisance. But persistent, severe seborrheic dermatitis can occasionally signal an underlying condition. People with Parkinson’s disease have roughly 70% higher odds of developing seborrheic dermatitis compared to the general population. Those with weakened immune systems, particularly people with HIV/AIDS, experience more frequent and severe flaking. Lower counts of CD4+ T cells (a type of immune cell) correlate directly with worse seborrheic dermatitis in these patients. Certain immunosuppressive medications also substantially increase the risk.
The connecting thread is immune function. Your T cells normally keep Malassezia in check. When that immune surveillance weakens for any reason, the fungus and its inflammatory byproducts go less controlled, and flaking worsens.
Dry Scalp vs. Dandruff
Not all flaking is dandruff. A dry scalp produces small, white, powdery flakes that look dried out. The skin underneath feels tight and may itch mildly. Dandruff flakes are typically larger, yellowish or white, and look oily. The scalp underneath tends to be red and scaly rather than simply dry. The distinction matters because the treatments are different: a dry scalp needs moisture, while dandruff needs antifungal or anti-inflammatory ingredients. If your flaking gets worse when you wash your hair less frequently and your scalp feels greasy rather than tight, dandruff is the more likely culprit.
How Medicated Shampoos Work
The most effective over-the-counter dandruff shampoos contain one of three active ingredients, each targeting the problem from a slightly different angle.
Zinc pyrithione kills both Malassezia fungi and bacteria, while also reducing the inflammatory signals that skin cells release. Microscopy studies show that dandruff-affected scalps have abnormal skin cell structure consistent with hyperproliferation, including cells that haven’t fully matured before shedding. Zinc pyrithione normalizes this structure, essentially resetting the skin’s turnover cycle.
Selenium sulfide works primarily through antimicrobial activity, slowing the growth of Malassezia, though it requires higher concentrations than some other treatments to be effective.
Ketoconazole is the most potent antifungal of the three, inhibiting Malassezia growth at extremely low concentrations. It’s available in both over-the-counter and prescription-strength formulations.
What to Expect With Treatment
For most people, using a medicated shampoo two to three times a week is enough to control dandruff. If your scalp is oily, you may need three to four washes per week. Drier scalps typically respond well to one or two applications weekly.
Noticeable improvement usually appears within two to four weeks of consistent use. Some people see results as early as one to two weeks. If you haven’t improved after three to four weeks with a particular ingredient, switching to a different active ingredient often helps. Your scalp’s specific microbial balance may respond better to one approach than another.
When you do use a medicated shampoo, let it sit on your scalp for a few minutes before rinsing. The active ingredients need contact time to penetrate the skin and reach the fungi living there. Simply lathering and immediately rinsing washes most of the benefit down the drain.
Dandruff is a chronic, recurring condition for most people. Treatment controls it rather than cures it. Many people find they can reduce the frequency of medicated shampoo once flaking is under control, using it once a week or every other week as maintenance, then increasing again if symptoms return.

