Dandruff that won’t clear up usually comes down to one of a few problems: you’re using the right product incorrectly, you’re treating the wrong condition, or something in your body or routine keeps feeding the cycle. The white flakes on your scalp are almost always driven by a yeast called Malassezia that lives on everyone’s skin, but in some people triggers a persistent inflammatory reaction. Understanding why your specific case keeps returning is the key to finally getting it under control.
What’s Actually Happening on Your Scalp
Malassezia yeast feeds on the natural oils your scalp produces. It breaks down those oils using enzymes called lipases, which release byproducts that irritate the skin. One of those byproducts, arachidonic acid, directly triggers inflammation. The yeast also produces reactive oxygen species and toxic metabolites that compound the irritation. Your skin responds by speeding up cell turnover, shedding clusters of dead cells as visible flakes.
Recent research shows the problem goes deeper than just one organism. People with more severe dandruff have measurably different scalp microbiomes. Specifically, they carry less of the beneficial bacterium Cutibacterium acnes and more Staphylococcus capitis and Corynebacterium species. The absolute numbers of Malassezia restricta climb with severity, creating a state of microbial imbalance, or dysbiosis, that becomes self-reinforcing. Interestingly, men’s scalp microbiomes tend to resemble a more severe dysbiosis pattern even at lower flake levels, which may explain why dandruff is more common and stubborn in men.
Your Medicated Shampoo May Not Be Working Properly
The most common reason dandruff persists is that people use antifungal shampoos the same way they use regular shampoo: lather, rinse, done. That’s not enough. Active ingredients like ketoconazole need to sit on your scalp for a full five minutes before rinsing. If you’re washing it off in 30 seconds, the medication never reaches therapeutic contact with the yeast. Lather the product directly onto your scalp, leave it while you wash the rest of your body, then rinse.
The ingredient you choose matters too. Ketoconazole shampoo is generally the most effective option, clearing fungal populations in roughly 94% of users after two weeks of treatment in one clinical trial. Selenium sulfide reached about 86% in the same timeframe. Both work, but if one hasn’t been effective for you, switching to the other (or to zinc pyrithione or coal tar) can help because they attack the yeast through different mechanisms.
Another issue is stopping too soon. Dandruff is a chronic condition, not an infection you cure once. Many people use medicated shampoo until the flakes disappear, then switch back entirely to regular shampoo. The yeast rebounds within weeks. A better approach is to use your medicated shampoo two to three times per week during flare-ups, then taper to once a week as maintenance.
The Yeast Can Resist Treatment
If you’ve been using the same antifungal shampoo for months with diminishing results, resistance may be part of the problem. Malassezia can form biofilms on the scalp, a thin protective layer of cells embedded in a sticky matrix. Yeast cells inside a biofilm are dramatically harder to kill. In lab studies, Malassezia cells growing in biofilm form required far higher concentrations of antifungal agents to be eliminated compared to free-floating cells. The biofilm acts as a physical barrier and also triggers the yeast to activate efflux pumps, molecular machinery that actively pushes antifungal chemicals back out of the cell.
This is one reason dermatologists often recommend rotating between two or three different active ingredients rather than relying on a single product indefinitely. Alternating ketoconazole with selenium sulfide or zinc pyrithione hits the yeast from different angles and reduces the chance of resistance building up.
It Might Not Be Dandruff
Persistent flaking that doesn’t respond to any over-the-counter treatment could be a different condition entirely. The most common lookalikes are scalp psoriasis, seborrheic dermatitis (dandruff’s more aggressive cousin), and product buildup.
True dandruff produces light, white-to-yellow flakes scattered across the scalp without redness. Seborrheic dermatitis involves the same yeast-driven process but adds visible redness and greasy, yellowish scales that can spread to the eyebrows, sides of the nose, and behind the ears. Scalp psoriasis looks different: thick, sharply bordered plaques with silvery-white scales. Psoriasis often shows up on elbows, knees, or nails as well, and about 10% of people with psoriasis also develop joint pain. If your flaking fits either of these descriptions, standard dandruff shampoo won’t resolve it because the underlying driver is different.
Product buildup is the other overlooked possibility. Styling products containing silicones, waxes, and polymers can accumulate on the scalp and flake off in a way that looks identical to dandruff. If your flaking isn’t itchy and you use leave-in products, gels, or heavy conditioners, try a clarifying shampoo before assuming it’s a fungal problem.
Washing Frequency Plays a Bigger Role Than You Think
How often you wash your hair directly affects how much oil sits on your scalp, and that oil is what Malassezia feeds on. People with finer hair generally benefit from washing every one to two days. Those with semi-coarse hair can go two to four days. People with thick, coarse, or tightly coiled hair, particularly common in people of color, risk drying and damaging their hair with overwashing and can typically wash once a week or every two weeks.
The challenge is that washing less frequently allows more oil to accumulate, which can fuel yeast overgrowth. If you have a hair type that doesn’t tolerate daily washing, using a medicated shampoo on the days you do wash becomes even more important. You can also apply your antifungal product only to the scalp (not the lengths of your hair) to avoid stripping moisture from the hair shaft.
Stress and Internal Triggers
If your dandruff flares predictably during stressful periods, that’s not a coincidence. Stress hormones directly increase oil production in the skin. Corticotropin-releasing hormone, the brain’s primary stress signal, stimulates oil glands to ramp up lipid production by activating key fat-producing enzymes. More oil means more food for Malassezia. Stress also releases a neuropeptide called substance P, which can increase the virulence of skin microbes by altering their behavior at a cellular level. So stress doesn’t just make your scalp oilier; it may make the yeast itself more aggressive.
Other common internal triggers include sleep deprivation, hormonal shifts, seasonal changes (dandruff tends to worsen in cold, dry months), and diets very high in sugar or saturated fat, both of which can increase sebum production. None of these cause dandruff on their own, but they create conditions that make an existing problem harder to control.
A Practical Reset If Nothing Has Worked
If you’ve been battling flakes for weeks or months, try this systematic approach. First, rule out product buildup by using a clarifying shampoo for one or two washes. Then choose a medicated shampoo with ketoconazole, selenium sulfide, or zinc pyrithione. Apply it to your wet scalp, massage it in, and leave it for five full minutes before rinsing. Use it three times per week for at least four weeks before deciding whether it’s working.
If that first ingredient doesn’t help, switch to a different active ingredient and repeat the same four-week trial. If you’ve tried two or three different medicated shampoos with proper technique and your flaking still persists, or if you notice thick plaques, significant redness, spreading to your face, or hair loss, the next step is a dermatologist visit. What you’re dealing with may not be simple dandruff, and prescription-strength treatments or a correct diagnosis can make all the difference.

