Dandruff is driven by a yeast that lives on every human scalp, feeding on the oils your skin produces. Getting rid of it comes down to controlling that yeast, removing buildup, and adjusting a few habits. Most people can clear their flakes entirely with the right over-the-counter shampoo and a consistent routine.
What Actually Causes Dandruff
Your scalp naturally produces an oily substance called sebum. A yeast that lives on the scalp breaks down the fats in sebum and uses the saturated fatty acids for energy. The leftover byproduct is oleic acid, an unsaturated fatty acid that accumulates on the skin’s surface. In people prone to dandruff, oleic acid triggers irritation, rapid skin cell turnover, and visible flaking.
This is why dandruff isn’t a hygiene problem. You can wash your hair every day and still have flakes if the yeast is thriving. It also explains why dandruff tends to be worse when your scalp is oilier, since more sebum means more fuel for the yeast.
Dandruff vs. Dry Scalp
Before you treat dandruff, make sure that’s what you’re dealing with. Dandruff flakes are larger, oily, and yellowish or white. The scalp underneath often looks red and greasy. Dry scalp flakes are smaller, powdery, and white, and you’ll usually notice dry skin elsewhere on your body too. This matters because a dry scalp needs moisture, while dandruff needs antifungal treatment. Using the wrong approach can make things worse.
Medicated Shampoos That Work
The most effective dandruff shampoos contain one of three types of active ingredients, each targeting the problem differently.
Antifungal ingredients kill or suppress the yeast directly. Ketoconazole is the most potent option available over the counter, inhibiting yeast growth at very low concentrations. Zinc pyrithione pulls double duty: it kills the yeast and reduces inflammation on the scalp. Selenium sulfide also works against the yeast, though it requires slightly higher concentrations to be effective. Any of these can work well, so if one doesn’t improve things after a few weeks, switch to another.
Exfoliating ingredients like salicylic acid don’t fight the yeast but help clear the flakes you already have. Salicylic acid loosens the bonds between dead skin cells, allowing scales to wash away more easily. Shampoos with this ingredient work best when paired with an antifungal shampoo, since they address the symptom (flaking) rather than the cause.
Coal tar shampoos slow down the rate at which skin cells on your scalp turn over. They’re especially useful for stubborn, heavy flaking but can discolor light hair and make your scalp more sensitive to sunlight.
How to Use Medicated Shampoo Properly
The biggest mistake people make is rinsing medicated shampoo out too quickly. These products need time to absorb into the scalp. Lather the shampoo, work it into your scalp (not just your hair), and leave it on for about five minutes before rinsing. Treating it like a regular shampoo, where you lather and rinse in 30 seconds, significantly reduces how well it works.
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 with the medicated shampoo is a reasonable starting point. On non-medicated days, use whatever regular shampoo or co-wash suits your hair. The American Academy of Dermatology recommends adjusting frequency based on how your scalp responds rather than following a rigid schedule.
Tea Tree Oil as a Natural Option
If you prefer something less clinical, tea tree oil has genuine evidence behind it. A randomized clinical trial found that a shampoo with 5% tea tree oil produced a 41% improvement in dandruff severity compared to 11% with a placebo. Patients also reported less itching and greasiness, with no adverse effects. Look for shampoos that contain at least 5% tea tree oil, since lower concentrations haven’t been studied as rigorously. It’s a reasonable first step for mild dandruff, though more stubborn cases will likely need a dedicated antifungal ingredient.
Diet and Sebum Production
What you eat can influence how much oil your scalp produces. Refined carbohydrates like white bread, white rice, and pasta cause a spike in insulin and a related growth factor that stimulates oil glands to produce more sebum. In a case-control study, people who ate refined carbs daily had significantly higher rates of seborrheic dermatitis (the more severe cousin of dandruff) than those who ate them less frequently. Spicy food, sweets, and fried food were the most commonly reported triggers for flare-ups.
Cutting back on refined carbs won’t cure dandruff on its own, but it can reduce the amount of oil feeding the yeast on your scalp. Think of it as lowering the fuel supply while the medicated shampoo handles the yeast itself.
Building a Routine That Keeps Flakes Away
Dandruff is a chronic condition you manage rather than cure permanently. The yeast never fully leaves your scalp, so stopping treatment usually brings flakes back within a few weeks. A practical long-term approach looks like this: use your medicated shampoo one to two times per week as maintenance once you’ve cleared the initial flaking. If flakes return, increase the frequency temporarily. Rotate between two different active ingredients every few months if you notice your current shampoo becoming less effective.
Between washes, avoid scratching your scalp even when it itches. Scratching damages the skin barrier, increases inflammation, and can lead to small wounds that worsen the cycle. If itching is severe, a shampoo with zinc pyrithione specifically targets both the yeast and the inflammatory response causing the itch.
Signs It Might Be Something Else
Standard dandruff responds to over-the-counter treatment within two to four weeks. If your flaking persists, or if you notice thick, dry, silvery scales that extend past your hairline onto your forehead or behind your ears, you may be dealing with scalp psoriasis rather than dandruff. Psoriasis scales look drier and thicker, and the condition often shows up in other places too: elbows, knees, lower back, or as small pits in your fingernails. Seborrheic dermatitis, a more intense form of dandruff with heavy redness and greasy yellow scales, can also require prescription-strength treatment. Both conditions are manageable but need a different approach than what you’ll find on a drugstore shelf.

