The most effective dandruff treatments target the fungus that causes it. Over-the-counter shampoos containing antifungal ingredients like ketoconazole, zinc pyrithione, or selenium sulfide are the standard first-line approach, and they work for most people. But how you use them matters almost as much as which one you pick.
Why Dandruff Happens in the First Place
Dandruff isn’t just dry skin. It’s driven by a yeast called Malassezia that lives on everyone’s scalp. This fungus feeds on the natural oils your skin produces, breaking them down with enzymes (lipases) it secretes onto the skin’s surface. The byproducts of that process, particularly certain fatty acids, irritate the scalp and trigger an inflammatory response. Your skin speeds up its cell turnover in reaction, and the excess dead cells clump together into visible flakes.
The key detail: Malassezia lives on virtually every human scalp, yet only some people develop dandruff. Estimates put the prevalence somewhere between 30% and 95% of the population depending on how broadly you define it. Individual sensitivity to those fatty acid byproducts, along with how much oil your scalp produces, determines whether you’re one of the unlucky ones. This is why antifungal treatments work so well. They don’t need to eliminate the fungus entirely, just reduce its population enough to keep irritation below your personal threshold.
Medicated Shampoos That Work
Several active ingredients have strong evidence behind them. You’ll find all of these over the counter, and clinical guidelines recommend starting with one before considering anything stronger.
- Ketoconazole (1%) directly kills the Malassezia fungus. Use it every 3 to 4 days for up to 8 weeks, then taper to as-needed use. The 2% version requires a prescription.
- Zinc pyrithione is both antifungal and antibacterial. It’s one of the most widely available options and works well for mild to moderate flaking.
- Selenium sulfide (1%) slows skin cell turnover while also reducing Malassezia. Clinical comparisons show it performs similarly to ketoconazole, with no statistically significant difference in cure rates between the two.
- Salicylic acid takes a different approach. Rather than targeting the fungus, it dissolves the buildup of dead skin cells, breaking down thick, flaky patches. It works best when paired with an antifungal ingredient, since it addresses the symptom (flaking) without treating the underlying cause.
- Coal tar slows the rate at which skin cells die and flake off. It can discolor light hair and makes skin more sensitive to sunlight.
If one ingredient doesn’t work after a few weeks of consistent use, switch to a different one. Rotating between two or three active ingredients can also help prevent the fungus from adapting.
How to Actually Use Medicated Shampoo
Most people wash dandruff shampoo out too quickly. These products need contact time with your scalp to work. Lather the shampoo into your scalp and leave it on for a full 5 minutes before rinsing. This is the step that makes the biggest difference, and it’s the one most people skip. If you’re just applying and rinsing immediately, you’re wasting most of the active ingredient.
On days between medicated washes, you can use your regular shampoo. The goal is sustained, consistent treatment rather than daily medicating.
Tea Tree Oil as a Natural Option
If you prefer something less pharmaceutical, tea tree oil has the best evidence among natural remedies. A randomized trial published in the Journal of the American Academy of Dermatology tested a 5% tea tree oil shampoo against a placebo in people with mild to moderate dandruff. The tea tree oil group saw a 41% improvement in flaking severity, compared to just 11% in the placebo group.
That’s a meaningful difference, though it’s worth noting that 5% is the concentration that was studied. Many commercial “tea tree” shampoos contain far less. Check the label, or look for products that specifically list a 5% concentration. Tea tree oil has natural antifungal properties active against the same yeast responsible for dandruff, which explains why it helps rather than just masking symptoms.
Diet and Dandruff
There’s no strong clinical proof that changing your diet will cure dandruff, but the connection between diet and skin inflammation is plausible enough that it’s worth considering as a supporting strategy. Diets high in sugar and processed carbohydrates promote systemic inflammation and can spike insulin levels, which stimulates oil production. More oil on the scalp means more food for Malassezia, which can mean more flaking.
Sugary foods and yeast-containing products like beer, bread, and wine may also encourage fungal growth more directly. Reducing your intake of refined sugar, fried foods, and heavily processed meals while eating more antioxidant-rich foods could help reduce flare frequency for some people. Two nutrients have specific, if limited, connections to dandruff: zinc (which appears in many dandruff shampoos as zinc pyrithione) has shown some benefit as an oral supplement, and biotin deficiency has been linked to increased seborrheic dermatitis in infants.
Dandruff vs. Dry Scalp
Before loading up on medicated shampoos, make sure you’re actually dealing with dandruff. Dry scalp and dandruff look similar at first glance but respond to completely different treatments. Dandruff flakes are larger, oily, and tend to be yellowish or white. Dry scalp flakes are smaller, drier, and more powdery. If your scalp feels tight and itchy but your skin isn’t particularly oily, you may just need a gentler shampoo and a good moisturizing conditioner rather than an antifungal.
Another clue: dandruff typically gets worse when your scalp is oilier, not drier. If your flaking improves when you wash less frequently, dry scalp is more likely the culprit. If it gets worse when you skip washes, that points toward dandruff.
When Over-the-Counter Products Aren’t Enough
Most dandruff responds well to the shampoos described above. When it doesn’t, a doctor can step things up. Prescription-strength antifungal shampoos or topical antifungal creams are the preferred next move for persistent cases. Short courses of topical corticosteroids can calm severe inflammation quickly, though they’re not ideal for long-term use because they can thin the skin over time. For stubborn flares on the face or body (seborrheic dermatitis often shows up around the eyebrows, nose, and ears too), topical antifungals remain the first choice for both acute treatment and ongoing maintenance.
Severe, widespread, or treatment-resistant flaking can occasionally signal something other than simple dandruff, including psoriasis, eczema, or a fungal infection that needs a different approach. Persistent redness, thick silvery scales, or flaking that spreads well beyond the scalp are signs worth getting evaluated.