Dandruff is driven by a yeast called Malassezia that lives on every human scalp, feeding on the oils your skin produces. When it grows faster than your scalp can keep up with, you get flaking, itching, and irritation. Getting rid of it comes down to controlling that yeast, reducing excess oil, and using the right products the right way.
Why Your Scalp Is Flaking
Malassezia breaks down the natural oils on your scalp into byproducts that irritate the skin. Your scalp responds by speeding up cell turnover, shedding clumps of skin cells as visible flakes. This process is influenced by how much oil your scalp produces, your stress levels, the weather, and even your diet. Cold, dry air in winter tends to make flaking worse, as does going too long between washes.
Dandruff isn’t caused by poor hygiene, but washing too infrequently can let oil and yeast build up enough to trigger a flare. It also isn’t contagious. Nearly half of all adults deal with it at some point.
Medicated Shampoos That Actually Work
Over-the-counter dandruff shampoos contain one of a handful of active ingredients, each attacking the problem differently. The most effective approach is often rotating between two types so the yeast doesn’t adapt to a single one.
- Ketoconazole (1%) directly kills Malassezia. It’s the most targeted option. A 2% version, available by prescription, has superior efficacy for severe cases, but the 1% sold over the counter handles most mild to moderate dandruff well.
- Zinc pyrithione slows yeast growth and reduces inflammation. It’s gentle enough for frequent use and found in many mainstream dandruff shampoos.
- Selenium sulfide slows cell turnover on the scalp and reduces Malassezia levels. It can slightly discolor light or color-treated hair, so rinse thoroughly.
- Salicylic acid loosens and dissolves flakes, making them easier to wash away. It works best paired with another antifungal ingredient since it doesn’t kill yeast on its own.
- Coal tar slows cell production and reduces inflammation. It has a strong smell and can also affect light-colored hair.
The single most important step people skip: leaving the shampoo on your scalp long enough. Most medicated shampoos need more than five minutes of contact time before you rinse. Lathering and rinsing immediately washes the active ingredient away before it can penetrate. Massage the shampoo into your scalp, then leave it while you wash the rest of your body or shave.
How Often to Wash
The right frequency depends on your hair type and scalp. If you have fine, straight, or oily hair, the American Academy of Dermatology recommends washing daily with your regular shampoo and swapping in a dandruff shampoo twice a week. If you have coarse, curly, or coily hair, wash as needed and use your dandruff shampoo about once a week. Overwashing textured hair strips moisture and can cause dryness that mimics or worsens flaking.
Once your dandruff clears up, don’t stop using medicated shampoo entirely. Dropping to once a week or once every two weeks keeps Malassezia in check and prevents flare-ups. Dandruff is a chronic condition you manage, not a one-time problem you cure.
Tea Tree Oil and Other Natural Options
A randomized, placebo-controlled trial found that shampoo containing 5% tea tree oil was effective and well tolerated for treating dandruff. Tea tree oil has natural antifungal properties that suppress Malassezia, though it’s generally less potent than ketoconazole or zinc pyrithione. Look for products that list tea tree oil at or near 5% concentration. Applying pure, undiluted tea tree oil directly to the scalp can cause irritation, so stick to formulated shampoos or dilute it in a carrier oil first.
Apple cider vinegar rinses are popular but lack strong clinical evidence. The idea is that the acidity lowers scalp pH, making the environment less hospitable to yeast. If you try it, dilute one part vinegar in two or three parts water and rinse after shampooing. Coconut oil can help with dryness-related flaking since it moisturizes the scalp, but it can worsen dandruff in people with oily scalps by feeding the very yeast causing the problem.
Diet and Lifestyle Factors
What you eat can influence how much oil your scalp produces. Foods with a high glycemic index, like sugary drinks, white bread, and processed snacks, spike insulin levels and can increase inflammation that worsens flaking, redness, and itching. Saturated and trans fats have a similar effect, promoting hormone surges that ramp up oil production. A greasier scalp means more food for Malassezia and more dandruff.
Stress is another reliable trigger. It doesn’t cause dandruff directly, but it weakens your immune response and increases inflammation, giving the yeast an opening. Sleep deprivation does the same. If your dandruff flares predictably during stressful periods, that connection is real and worth addressing alongside topical treatment.
When It Might Not Be Simple Dandruff
Dandruff exists on a spectrum with seborrheic dermatitis, which is essentially the same process but more severe. If your flaking comes with significant redness, greasy or crusty patches, or spreads to your eyebrows, the sides of your nose, or behind your ears, you’re likely dealing with seborrheic dermatitis rather than garden-variety dandruff. Over-the-counter shampoos sometimes still work, but you may need a stronger prescription option.
Scalp psoriasis can look similar but behaves differently. Psoriasis scales tend to be thicker and drier, and the patches often extend past the hairline onto the forehead or behind the ears. If you also notice changes in your nails like small pits or ridges, or if you have dry, scaly patches on your elbows, knees, or lower back, psoriasis is more likely. A dermatologist can usually tell the difference by examining your skin and scalp.
A Practical Routine That Works
Start with a ketoconazole or zinc pyrithione shampoo, using it two to three times per week for at least a month. Leave it on your scalp for a full five minutes each time. On non-medicated wash days, use a gentle, fragrance-free shampoo. Avoid scratching your scalp aggressively while washing, since that damages the skin barrier and can make irritation worse.
If you don’t see improvement after four to six weeks of consistent use, switch to a shampoo with a different active ingredient. Rotating between two different types every few weeks can also prevent the yeast from becoming resistant to a single treatment. Once your scalp clears, taper down to once a week with the medicated shampoo to maintain results. Keep the bottle in your shower permanently, because the flakes will come back if you stop completely.