Getting rid of dandruff comes down to controlling the yeast that lives on your scalp and removing the flakes it causes. Most cases respond well to over-the-counter medicated shampoos, but the key detail most people miss is how they use them. A quick lather and rinse won’t do much. The right active ingredient, proper contact time, and a consistent routine can clear up mild to moderate dandruff within a few weeks.
Why Dandruff Happens
Dandruff isn’t caused by poor hygiene. It’s driven by a yeast called Malassezia that naturally lives on everyone’s scalp. This yeast feeds on the oils your skin produces, and in some people, it triggers an accelerated turnover of skin cells. The result: small white or yellowish flakes that shed from the scalp, often with mild itchiness. Oily skin, infrequent shampooing, cold and dry weather, stress, and sensitivity to certain hair products can all make it worse. Dandruff tends to be seasonal, flaring up in winter months and improving in summer.
Dandruff vs. Something More Serious
Standard dandruff is mild. The flakes are small and dry, there’s little to no redness, and it stays on your scalp. If you’re seeing greasy, yellow, or thick scaly patches, especially with redness, burning, or swelling, you may be dealing with seborrheic dermatitis, a more inflammatory version of the same underlying process. Seborrheic dermatitis can also show up on your eyebrows, the sides of your nose, your ears, and your chest. If your symptoms spread beyond your scalp or don’t respond to over-the-counter treatments after several weeks, that distinction matters for getting the right care.
Medicated Shampoos That Work
Drugstore dandruff shampoos contain one of several active ingredients, and each works a little differently. The main categories:
- Antifungal shampoos target the yeast directly. Ketoconazole at 1% is available without a prescription and is one of the most studied options. Selenium sulfide is another antifungal that slows yeast growth, though it can temporarily change hair color or texture in some people.
- Keratolytic shampoos use salicylic acid to dissolve and break down the dead skin cells that form flakes. These work best for people whose main complaint is visible flaking rather than itchiness or oiliness.
- Zinc pyrithione shampoos have both antifungal and antibacterial properties and are among the most widely available options.
- Coal tar shampoos slow down how fast skin cells on your scalp die and flake off.
No single ingredient works best for everyone. If the first shampoo you try doesn’t improve things after three to four weeks of consistent use, switch to one with a different active ingredient.
The Five-Minute Rule
This is where most people go wrong. Medicated shampoos are not regular shampoos. You can’t just lather and rinse. The active ingredients need time to separate from the shampoo base and absorb into your scalp. Most dandruff shampoos need to sit on your scalp for more than five minutes before rinsing, according to Mayo Clinic dermatologists. Work the shampoo into your scalp, then leave it while you do everything else in the shower. Rinse it out last. Skipping this step is the single most common reason people think their dandruff shampoo “doesn’t work.”
Rotating Your Shampoos
Your scalp can get used to a single active ingredient over time, making your routine less effective. Dermatologists at Mayo Clinic recommend rotating among up to three shampoos with different active ingredients. For example, you might alternate between a ketoconazole shampoo, a salicylic acid shampoo, and a zinc pyrithione shampoo throughout the week. This approach attacks the problem from multiple angles and helps prevent the yeast from adapting to any one treatment.
Tea Tree Oil as a Natural Option
If you prefer a more natural approach, tea tree oil has the strongest clinical evidence behind it. A randomized trial published in the Journal of the American Academy of Dermatology tested a 5% tea tree oil shampoo on 126 patients with mild to moderate dandruff. After four weeks of daily use, the tea tree oil group saw a 41% improvement in flaking severity, compared to just 11% in the placebo group. Look for shampoos that list tea tree oil at 5% concentration. Lower concentrations may not deliver the same results.
Diet and Lifestyle Factors
There’s no single food that causes dandruff, but your diet can influence scalp oil production and yeast activity. Refined carbohydrates and sugary foods may promote the kind of environment Malassezia thrives in. Some dermatologists suggest that people with stubborn dandruff try reducing bread, cheese, beer, wine, and other fermented or yeast-heavy foods, though rigorous clinical trials on this approach are still limited. An anti-inflammatory diet that’s lower in processed carbohydrates and higher in omega-3 fatty acids is a reasonable baseline for scalp health.
Stress is another trigger worth managing. It doesn’t cause dandruff directly, but it can worsen flare-ups by affecting your immune response and oil production. Regular sleep, exercise, and basic stress management won’t cure dandruff on their own, but they reduce the frequency and severity of episodes for many people.
Building a Long-Term Routine
Dandruff is a chronic condition, not a one-time problem. Even after your scalp clears up, the yeast that causes it doesn’t go away. Most people need to continue using a medicated shampoo two to three times per week to keep flakes from returning. You can use a regular shampoo on the other days. If your dandruff stays under control for a stretch, you can try tapering down to once a week and see how your scalp responds. The goal is finding the minimum frequency that keeps your scalp clear.
Between washes, avoid scratching. It feels satisfying in the moment, but scratching inflames the scalp, damages the skin barrier, and makes flaking worse. If itchiness is your main symptom, prioritize an antifungal shampoo over a purely exfoliating one, since reducing the yeast population addresses the itch at its source.