Dandruff is driven by a yeast that lives on every human scalp, and getting rid of it comes down to disrupting that yeast’s food supply while clearing the flakes it leaves behind. Most people see noticeable improvement within two weeks of using the right medicated shampoo correctly. The key word is “correctly,” because technique and consistency matter as much as the product you choose.
Why Dandruff Happens in the First Place
Your scalp constantly produces an oily substance called sebum. A yeast called Malassezia globosa feeds on that sebum by breaking it down with enzymes called lipases. The yeast consumes some of the resulting fatty acids for energy, but others, particularly oleic acid, get left behind on your skin. Oleic acid irritates the scalp in susceptible people, triggering inflammation and rapid skin cell turnover. Those excess skin cells clump together and shed as visible flakes.
Three factors determine whether you get dandruff: how much oil your scalp produces, how much Malassezia is present, and how sensitive your skin is to the byproducts. This is why dandruff tends to worsen during puberty (when oil production ramps up), in cold dry weather (when the skin barrier weakens), and during periods of stress. It also explains why dandruff is a recurring condition rather than something you cure once and forget about.
Choosing the Right Medicated Shampoo
Over-the-counter dandruff shampoos contain different active ingredients, and they work through different mechanisms. Picking the right one can save you weeks of trial and error.
Ketoconazole (2%) is the most effective single ingredient for moderate to severe dandruff. It kills the Malassezia yeast by disrupting its cell membranes. In a head-to-head clinical trial, ketoconazole 2% shampoo achieved 73% improvement in dandruff severity at four weeks, with 57% of participants fully clearing. It also had the lowest relapse rate: only 39% of people saw their dandruff return after stopping treatment.
Zinc pyrithione (1%) is the most widely available option and works well for mild to moderate cases. It disrupts the yeast’s ability to transport nutrients across its cell membrane. In the same trial, it produced 67% improvement at four weeks, with 44% of participants fully clearing. Relapse was higher at 51%, meaning you may need to use it more consistently for maintenance.
Salicylic acid doesn’t kill yeast at all. Instead, it dissolves the buildup of dead skin cells on your scalp, which makes it useful when you have thick, stubborn flakes. It works best paired with an antifungal shampoo rather than used alone. Start with the lowest strength available and use it once or twice a week to avoid drying out your scalp.
Coal tar slows skin cell turnover and reduces inflammation. It’s effective but comes with a practical tradeoff: it increases your skin’s sensitivity to UV light for up to 24 hours after use. If you spend time outdoors, wear a hat the day you use a coal tar shampoo, and don’t combine it with other photosensitizing treatments.
Tea tree oil (5%) has mild antifungal properties and performed well in a clinical trial at a 5% concentration. Many commercial tea tree shampoos contain far less than that, so check the label. It’s a reasonable option for people who prefer a more natural approach with mild dandruff, but it’s less potent than ketoconazole or zinc pyrithione for stubborn cases.
How to Actually Use the Shampoo
Most people rinse medicated shampoo out far too quickly. The active ingredients need time to penetrate the skin and reach the yeast. Lather the shampoo into your scalp, then leave it in place for a full five minutes before rinsing. Set a timer if you need to. Rinsing after 30 seconds turns an effective treatment into an expensive regular shampoo.
Use the medicated shampoo two to three times per week during the initial treatment phase. On other wash days, use your normal shampoo. Clinical trials using this three-times-per-week frequency showed significant improvement in flaking, itching, and discomfort starting at week two, with best results by week four. If you don’t see meaningful improvement after four weeks of consistent use, switch to a different active ingredient rather than increasing frequency.
Washing Frequency by Hair Type
How often you wash your hair matters independently of which shampoo you use. The American Academy of Dermatology recommends adjusting your routine to your hair type. If you have fine, straight, or oily hair, you likely need to shampoo daily, working in your medicated shampoo twice a week. If you have coarse, curly, or coily hair, wash when needed and use your dandruff shampoo about once a week.
Washing too infrequently allows sebum to accumulate, which feeds the yeast. Washing too frequently with harsh products can strip your scalp’s moisture barrier and worsen irritation. Finding the balance for your specific hair type is part of long-term control.
Lifestyle Changes That Help
Diet plays a supporting role. Reducing refined carbohydrates and sugar may help by limiting the inflammatory environment on your skin. The U.S. Department of Veterans Affairs recommends an anti-inflammatory dietary approach for people with persistent seborrheic dermatitis, including reducing refined carbs and considering a multivitamin with extra biotin. Clinical evidence for these dietary changes is limited, but the interventions are low-risk and may complement your topical treatment.
Some practitioners suggest eliminating foods produced by yeast or fungi, including bread, cheese, beer, and wine, particularly for people who struggle to get their dandruff under control. This hasn’t been validated in clinical trials, but some people report improvement.
Stress management also matters. Stress triggers cortisol release, which increases sebum production, which feeds the yeast. Exercise, sleep, and whatever stress-reduction techniques work for you aren’t just general wellness advice here. They directly influence the biological cycle that causes flaking.
Keeping Dandruff From Coming Back
Dandruff is a manageable condition, not a curable one. The Malassezia yeast is a permanent resident of your scalp, and it will resume its activity whenever conditions allow. Once your flaking is under control, step down to using your medicated shampoo once or twice a week as maintenance. Most people who stop treatment entirely see their dandruff return within a few weeks, with relapse rates between 39% and 51% depending on the product.
If you’ve cycled through multiple over-the-counter shampoos without improvement after six to eight weeks, your flaking may not be ordinary dandruff. Scalp psoriasis can look similar but tends to produce thicker, drier scales that extend beyond the hairline onto the forehead or behind the ears. Psoriasis also typically shows up on other parts of the body, like elbows, knees, or lower back, and may cause pitting in your fingernails. Seborrheic dermatitis is essentially dandruff’s more severe cousin, producing oily, crusted patches that may spread to the eyebrows, nose creases, or chest. Both conditions require different treatment approaches and benefit from a dermatologist’s evaluation.

