Dandruff is driven by a naturally occurring yeast on your scalp that feeds on oil and triggers inflammation, leading to those visible white or yellow flakes. The good news: most cases respond well to the right over-the-counter shampoo within a few weeks, and a few habit changes can keep flakes from coming back.
What Actually Causes Dandruff
Your scalp is home to a yeast called Malassezia that thrives in oily environments. This yeast produces enzymes that break down the natural oils (sebum) on your scalp into inflammatory byproducts. Those byproducts irritate skin cells, speed up their turnover, and cause them to clump together into the flakes you see on your shoulders. The more oil your scalp produces, the more the yeast has to feed on, which is why dandruff tends to worsen during oily or sweaty periods.
This is also why dandruff is fundamentally different from a dry scalp, even though both cause flaking. Dandruff flakes are larger, oily, and often yellowish or white. The scalp underneath tends to look red and feel greasy. Dry scalp flakes, by contrast, are small, powdery, and come with tight, moisture-starved skin rather than inflammation. If your scalp feels oily and the flakes are chunky, you’re almost certainly dealing with dandruff.
Choosing the Right Medicated Shampoo
The most effective first step is switching to a shampoo with an active ingredient designed to target the yeast, reduce oil, or slow skin cell turnover. There are four main categories to look for on the label:
- Zinc pyrithione: Reduces yeast growth, curbs excess oil production, and slows the overproduction of skin cells that form flakes. This is the most widely available option and a solid starting point.
- Ketoconazole: An antifungal that directly kills the scalp yeast responsible for dandruff. It’s roughly ten times more effective at eliminating the fungus than some other active ingredients, making it a strong choice for stubborn cases. Available over the counter at 1% strength.
- Selenium sulfide: An antimicrobial that slows skin cell turnover and reduces yeast populations. Particularly useful when flaking is heavy.
- Salicylic acid: Works differently from the others. Instead of targeting the yeast, it loosens and removes existing scale by preventing dead skin cells from clumping together. Best for people whose main complaint is thick, visible buildup rather than itching or redness.
If one ingredient doesn’t work after a few weeks of consistent use, try a shampoo with a different active ingredient rather than assuming medicated shampoos don’t work for you. The yeast on your scalp can respond differently to different approaches.
How to Use Medicated Shampoo Correctly
Most people rinse medicated shampoo out far too quickly. The active ingredients need time to absorb into your scalp. Lather the shampoo and leave it on for a full five minutes before rinsing. This contact time makes a significant difference in how well the product works. Without it, you’re essentially washing the medication down the drain before it can do its job.
How often you use it depends on your hair type. If you have fine, straight, or oily hair, you may need to wash daily and use the medicated shampoo twice a week. If you have coarse, curly, or coily hair, once a week is typically enough. With curly or coily hair, apply the medicated shampoo only to your scalp, not through the lengths of your hair, since the active ingredients can be drying.
Give your routine at least a few weeks of consistent use before judging whether it’s working. Dandruff doesn’t clear overnight. If you’ve been diligent for several weeks with no improvement, that’s the point to consider seeing a dermatologist, as you may have a more aggressive form of seborrheic dermatitis that needs a prescription-strength treatment.
Scalp Exfoliation for Stubborn Buildup
If you have heavy flaking or visible scale that shampoo alone isn’t clearing, a scalp scrub can help. These come as pastes, gels, or creams with a gritty texture that physically lifts dead skin and product buildup. For oily or dandruff-prone scalps, using a scrub once or twice a week is generally safe. If your scalp is on the sensitive side, once a month is a better starting point. If you color your hair, limit scrubs to once or twice a month, and choose a gentle formula with fine grains, since coarser options like salt-based scrubs can strip color.
Exfoliation is a complement to medicated shampoo, not a replacement. It clears the surface so the active ingredients in your shampoo can actually reach the scalp instead of sitting on top of a layer of dead skin.
Tea Tree Oil as a Natural Option
Tea tree oil has antifungal properties that can help manage mild dandruff. Products containing around 5% tea tree oil are commonly found in shampoos marketed for scalp health. It’s worth noting that roughly 1.4% of people are allergic to tea tree oil, with reactions typically showing up as redness and swelling where the product was applied. If you want to test it, try a small amount on the inside of your wrist first and wait 24 hours.
Tea tree oil works best for mild, occasional flaking. For moderate to heavy dandruff, the medicated ingredients listed above are more reliably effective.
Diet and Lifestyle Factors
No study has definitively proven that specific foods cause or cure dandruff. That said, the biological logic is straightforward: diets high in sugar, processed foods, and refined carbohydrates trigger insulin spikes that can stimulate oil production, and more oil means more fuel for the yeast that drives dandruff. Some dermatologists have observed a connection in clinical practice between high-sugar diets and worse flaking, even if the formal research hasn’t caught up yet.
There’s also a theory that yeast-containing foods like beer, bread, and wine may encourage fungal growth on the skin. Cutting back on sugar, processed foods, and fried foods while eating more antioxidant-rich whole foods hasn’t been proven to stop dandruff specifically, but it reduces systemic inflammation, which can only help a condition that is fundamentally inflammatory.
Beyond diet, stress and sleep deprivation are common triggers for flare-ups because both suppress immune function and increase oil production. Managing stress won’t cure dandruff on its own, but it can reduce the frequency and severity of flares when combined with the right shampoo routine.
Keeping Dandruff From Coming Back
Dandruff is a chronic condition, not a one-time problem. The yeast that causes it lives permanently on your scalp, so the goal is management rather than a permanent cure. Once your flaking clears up, you can typically reduce how often you use medicated shampoo, but stopping entirely will usually bring the flakes back within a few weeks.
A practical long-term approach: use your medicated shampoo once a week as maintenance even after symptoms improve, wash at a frequency appropriate for your hair type to control oil buildup, and keep a scalp scrub in rotation if you’re prone to heavy scale. If a product that used to work stops being effective, rotate to a shampoo with a different active ingredient for a few weeks, then switch back. This prevents the yeast from adapting to a single treatment.

