Dandruff is driven by a naturally occurring yeast on your scalp, and getting rid of it comes down to controlling that yeast with the right active ingredients. Most cases clear up with over-the-counter medicated shampoos, but the trick is choosing the right one, using it correctly, and sticking with it long enough to see results.
Why Dandruff Happens in the First Place
Your scalp is home to a yeast called Malassezia that feeds on the oils your skin produces. Everyone has it, but in some people it triggers an inflammatory response that speeds up skin cell turnover. The result: your scalp sheds clumps of cells faster than normal, producing the visible white or yellowish flakes you find on your shoulders. Oily scalps tend to be more affected because the yeast thrives on sebum, which is why dandruff flakes often look greasy and yellowish rather than dry and powdery.
This is worth understanding because it shapes how treatment works. Dandruff isn’t caused by poor hygiene or a dry scalp. Washing your hair more often with a regular shampoo won’t fix it, and moisturizing your scalp can actually make things worse if oil-feeding yeast is the problem.
Make Sure It’s Actually Dandruff
Before loading up on medicated shampoos, it helps to know what you’re dealing with. Dandruff produces greasy, yellowish flakes and mild itching. A dry scalp, by contrast, sheds smaller, white, dry flakes and usually comes with tight, uncomfortable skin rather than oiliness. The fix for dry scalp is moisture, not antifungal treatment.
Scalp psoriasis looks different again: thick, well-defined red plaques covered with silvery-white scales, sometimes extending past the hairline onto the forehead, ears, or neck. Eczema on the scalp causes intensely itchy, dry, red patches with fine scales that blend into surrounding skin. Both of these conditions need different treatment than standard dandruff, so if your symptoms match those descriptions more closely, a dermatologist visit is the better first step.
The Five Active Ingredients That Work
Five ingredients are approved for over-the-counter dandruff treatment in the U.S., and they work through two different strategies: killing the yeast or slowing down the rapid skin cell turnover it causes.
Zinc Pyrithione
This is the most widely used dandruff active ingredient, found in brands like Head & Shoulders. It works as an antifungal, suppressing the Malassezia yeast directly. Most shampoos contain about 1% concentration. In a multicenter clinical trial comparing it head-to-head with a prescription-strength antifungal, zinc pyrithione at 1% achieved a 67% improvement in dandruff severity scores over four weeks, with 44% of patients experiencing overall clearing. It’s a solid first choice for mild to moderate dandruff.
Ketoconazole
Available over the counter at 1% (Nizoral) and by prescription at 2%, ketoconazole is a more potent antifungal. In that same trial, the 2% prescription version outperformed zinc pyrithione with a 73% improvement in severity scores, and 57% of patients saw overall clearing. If zinc pyrithione shampoos aren’t cutting it, stepping up to ketoconazole is the logical next move.
Selenium Sulfide
Found in Selsun Blue and similar products, selenium sulfide both fights the yeast and slows skin cell turnover. One important caveat: it can discolor light, blond, gray, or chemically treated hair. If that applies to you, rinse thoroughly for at least five minutes after each use to minimize the risk.
Salicylic Acid
This works differently from the antifungals. Rather than targeting yeast, salicylic acid loosens and dissolves the buildup of dead skin cells, making flakes easier to wash away. It’s especially useful when you have thick, stubborn scaling, but it doesn’t address the underlying yeast. Many people get the best results by combining a salicylic acid shampoo with an antifungal one, alternating between the two.
Coal Tar
Coal tar belongs to a class of ingredients called keratoplastics that slow down the rate at which your scalp produces new skin cells. By reducing that turnover rate, it helps control flaking, scaling, and itching. Coal tar shampoos (like Neutrogena T/Gel) have a strong medicinal smell and can also stain light-colored hair, so they’re not everyone’s first pick, but they’re effective for stubborn cases.
How to Actually Use Medicated Shampoo
The single biggest mistake people make with dandruff shampoo is rinsing it out too quickly. These products need time to work. Lather the shampoo into your scalp and leave it sitting for a full five minutes before rinsing. This gives the active ingredient enough contact time to penetrate the skin and reach the yeast. If you’ve been applying and immediately rinsing, that alone could explain why your dandruff hasn’t improved.
For most medicated shampoos, using them two to three times per week is sufficient. On off days, you can use your regular shampoo. Give any new product at least four weeks of consistent use before deciding it isn’t working. If one active ingredient doesn’t help after a month, try switching to a different one rather than giving up on treatment entirely. Some people respond better to zinc pyrithione, others to ketoconazole or selenium sulfide.
Once your dandruff clears, don’t stop using the medicated shampoo completely. Dandruff is a chronic condition you manage rather than cure. Dropping down to once a week is usually enough to keep flakes from returning.
Natural Remedies Worth Trying
Tea tree oil is the most studied natural option. In a randomized clinical trial published in the Journal of the American Academy of Dermatology, a shampoo containing 5% tea tree oil produced a 41% improvement in dandruff severity compared to just 11% with a placebo. Patients also reported significant reductions in itching and greasiness. That’s a meaningful effect, though notably less dramatic than what medicated shampoos achieve. Look for shampoos listing tea tree oil at 5% concentration, or add a few drops of pure tea tree oil to your regular shampoo.
Other natural ingredients like coconut oil and apple cider vinegar are popular recommendations online, but they lack the clinical trial data that tea tree oil has. Coconut oil does have some antifungal properties in lab studies, and apple cider vinegar’s acidity could theoretically discourage yeast growth, but neither has been tested rigorously enough to compare with proven treatments.
Diet and Lifestyle Factors
The connection between diet and dandruff is not well established in clinical research, but there are some plausible links. Since Malassezia yeast feeds on oils and thrives in certain conditions, some practitioners recommend reducing sugar, refined carbohydrates, bread, cheese, beer, and wine. The theory is that a yeast-elimination diet may help people whose dandruff is particularly resistant to topical treatment. No strong clinical trials back this up, but it’s low-risk to try.
Stress is a more reliable trigger. Dandruff commonly flares during periods of high stress, likely because stress affects immune function and inflammation. Cold, dry weather also tends to worsen symptoms, not because dryness causes dandruff, but because people wash their hair less frequently in winter and spend more time indoors in dry, heated air.
When Over-the-Counter Products Aren’t Enough
If you’ve consistently used medicated shampoos with proper contact time for several weeks and your dandruff hasn’t improved, it’s time to see a dermatologist. Prescription-strength options include higher-concentration ketoconazole shampoo and topical anti-inflammatory treatments that can calm a severely irritated scalp. A dermatologist can also confirm whether what you’re dealing with is actually dandruff or something else entirely, like scalp psoriasis or contact dermatitis from a hair product, both of which require different approaches.