What to Do for Dandruff: Tips for a Flake-Free Scalp

Dandruff is driven by a fungus that lives on every human scalp, and the most effective thing you can do is use a medicated shampoo with the right active ingredient, applied correctly. Most cases clear up within four weeks of consistent treatment. Beyond shampoo, a few lifestyle adjustments can reduce flare-ups and keep your scalp healthy long-term.

Why Dandruff Happens

Your scalp naturally produces an oily substance called sebum. A yeast-like fungus called Malassezia lives on the scalp of virtually every adult and feeds on that oil. The fungus can’t make its own fatty acids, so it secretes enzymes that break down the fats in your sebum. The byproducts of that process irritate the skin, triggering inflammation. Your scalp responds by speeding up skin cell turnover, and those excess cells clump together and shed as visible flakes.

This means dandruff isn’t caused by poor hygiene or a dry scalp, though both can make it worse. It’s an inflammatory reaction to fungal activity, which is why the most effective treatments target the fungus directly.

Choose the Right Medicated Shampoo

Over-the-counter dandruff shampoos contain one of several active ingredients. They all work, but some are more potent than others. Here’s what to look for on the label:

  • Ketoconazole (1-2%): The most effective OTC option. In a trial of 331 people with severe dandruff, a 2% ketoconazole shampoo achieved 73% improvement in dandruff severity after four weeks, and 57% of users were completely clear. It’s a strong antifungal that kills Malassezia at very low concentrations. The 1% version is available without a prescription in most countries.
  • Zinc pyrithione (1%): The most widely available ingredient. It works as both an antifungal and an anti-inflammatory, reducing the fungus while also calming the irritation that causes itching. In the same trial, it achieved 67% improvement, though relapse was somewhat more common (51% vs. 39% for ketoconazole).
  • Selenium sulfide (1-2.5%): Another antifungal that slows skin cell turnover. It requires higher concentrations than ketoconazole to be effective but works well for moderate dandruff. It can discolor light or color-treated hair, so rinse thoroughly.
  • Salicylic acid (2-3%): This doesn’t kill the fungus. Instead, it dissolves the buildup of dead skin cells, breaking down thick, crusty patches. It’s most useful when you have heavy visible flaking and want to clear the surface layer so antifungal ingredients can reach the scalp. Pair it with one of the antifungal options above for best results.

If you’re not sure where to start, ketoconazole or zinc pyrithione shampoos are the strongest first choices. Pick one and give it a full four weeks before deciding it isn’t working.

How to Use It Properly

Most people wash medicated shampoo out too quickly. The active ingredients need time in contact with your scalp to work. Lather the shampoo into your scalp and leave it on for at least five minutes before rinsing. For stubborn flaking, you can apply the shampoo to a dry scalp 30 minutes before showering, then rinse.

Use the medicated shampoo at least once a week. If your dandruff is moderate or severe, you can use it every other day or even daily until your scalp clears up, then drop back to once or twice a week for maintenance. On the days you skip the medicated shampoo, your regular shampoo is fine.

Rotate Your Shampoos

Dandruff treatments can lose effectiveness over time if you stick with the same one indefinitely. Dermatologists at the Mayo Clinic recommend rotating among up to three shampoos with different active ingredients. For example, you might alternate between ketoconazole, zinc pyrithione, and a salicylic acid formula on different wash days, or switch your primary shampoo every month or two. This prevents your scalp from adapting to any single treatment.

Tea Tree Oil as a Supplement

If you prefer a more natural approach, tea tree oil has genuine antifungal properties. In a randomized trial of 126 people, a 5% tea tree oil shampoo reduced dandruff severity by 41% over four weeks, compared to 11% for a placebo. That’s a real effect, but it’s notably weaker than ketoconazole or zinc pyrithione. Tea tree oil works best as a complement to medicated shampoos, not a replacement for them. Look for shampoos listing at least 5% tea tree oil, since lower concentrations may not do much.

Diet and Lifestyle Factors

What you eat won’t cure dandruff on its own, but certain dietary patterns can influence how often it flares. Diets high in sugar, processed food, and refined carbohydrates trigger insulin spikes that stimulate oil production on the scalp. More oil means more fuel for the fungus. Cutting back on sugary and highly processed foods while eating more vegetables, healthy fats, and antioxidant-rich foods may reduce the frequency of flare-ups.

Two nutrients are worth paying attention to. Zinc deficiency has been linked to more frequent dandruff flares, and oral zinc supplements have been reported to help. Biotin, a B vitamin, also plays a role in scalp health. Babies low in biotin are more prone to cradle cap (the infant version of dandruff), and adults with low levels may see more flaking. You can get both from eggs, nuts, seeds, and whole grains, or from a basic supplement.

When It Might Not Be Dandruff

Simple dandruff produces loose, white or yellowish flakes with mild itching. If your symptoms go beyond that, you could be dealing with something else. Seborrheic dermatitis is essentially a more severe form of dandruff, with inflamed, red skin covered in oily, crusted patches. It responds to the same treatments but may need stronger prescription-strength versions.

Scalp psoriasis looks different. The scales are thicker and drier, and the patches often extend past the hairline onto the forehead or behind the ears. If you also have dry, scaly patches on your elbows, knees, or lower back, or notice small pits or dents in your fingernails, psoriasis is more likely. This requires a different treatment approach.

If your scalp becomes painful, swollen, or starts oozing fluid, that suggests an infection. And if over-the-counter shampoos haven’t made a noticeable difference after four to six weeks of consistent, proper use, a dermatologist can prescribe stronger topical or oral treatments that target the fungus more aggressively.