How to Get Rid of Dandruff: What Actually Works

Dandruff responds best to shampoos containing specific antifungal or antiyeast ingredients, with ketoconazole and zinc pyrithione being the two most studied and reliably effective options. The flaking itself is driven by a fungus that lives on every human scalp, which means dandruff is manageable but not permanently curable. The good news is that the right over-the-counter shampoo clears it up for most people, and understanding why it happens makes choosing a product much simpler than scanning the drugstore aisle and hoping for the best.

What Actually Causes the Flaking

Dandruff is not caused by a dry scalp, despite what many people assume. The real driver is a genus of fungi called Malassezia, which lives on virtually every adult scalp. These fungi feed on the oils your scalp naturally produces, breaking down triglycerides in sebum into free fatty acids. Those fatty acid byproducts, particularly oleic acid, irritate the skin in people who are susceptible to them.1PubMed. Three etiologic facets of dandruff and seborrheic dermatitis: Malassezia fungi, sebaceous lipids, and individual sensitivity The irritation triggers faster skin-cell turnover, and the excess cells clump together into visible flakes.

Three factors converge to produce dandruff: the presence of Malassezia, enough sebum for the fungus to feed on, and an individual’s sensitivity to the metabolic byproducts. That third factor explains why two people with equally oily scalps can have very different experiences. Research also shows that a dandruff-affected scalp has a weakened skin barrier, with disorganized structural lipids and increased water loss through the skin, which may make the scalp more reactive to those fungal metabolites in the first place.2PubMed Central. Stratum corneum dysfunction in dandruff Whether the weakened barrier is a cause or a consequence is still debated, but the practical takeaway is the same: effective treatments target the fungus, reduce the irritation, or both.

Proven Active Ingredients

Not all dandruff shampoos are created equal, and the label on the front matters far less than the active ingredient list on the back. Here are the ingredients with solid clinical evidence behind them.

Ketoconazole

Ketoconazole is an antifungal that directly suppresses Malassezia growth. It is available over the counter at 1% strength in many countries and by prescription at 2%. A large multicenter trial of 575 people with moderate-to-severe dandruff and seborrheic dermatitis found that twice-weekly use of 2% ketoconazole shampoo for two to four weeks produced an excellent response in 88% of participants. When continued once a week as maintenance, it also prevented relapse.3PubMed. Successful treatment and prophylaxis of scalp seborrhoeic dermatitis and dandruff with 2% ketoconazole shampoo: results of a multicentre, double-blind, placebo-controlled trial A broader narrative review of multiple trials confirmed that ketoconazole shampoo consistently improves scaling and irritation with low relapse rates and minimal side effects, typically limited to rare mild skin irritation that resolves when you stop using the product.4PubMed Central. Ketoconazole Shampoo for Seborrheic Dermatitis of the Scalp: A Narrative Review

If you’re going to try one ingredient first, ketoconazole is a strong candidate. It is widely available (Nizoral is the best-known brand), relatively gentle, and has the most robust trial data. The 1% version you can buy without a prescription is weaker than what the big trials used, but it still works for many people with mild-to-moderate flaking.

Zinc Pyrithione

Zinc pyrithione (often abbreviated ZPT) has been a staple of dandruff shampoos for decades. It works through an unusual mechanism: it acts as a copper ionophore, shuttling copper into fungal cells and disrupting iron-sulfur proteins essential for the organism’s survival.5PubMed Central. Zinc pyrithione inhibits yeast growth through copper influx and inactivation of iron-sulfur proteins In plain terms, it kills the Malassezia fungus by poisoning its internal machinery with the wrong metal. Products typically contain 1% or 2% ZPT and are widely available.

One important caveat: the European Union has banned zinc pyrithione in cosmetic products, including shampoos, due to concerns about its potential health risks.6Sensors and Actuators B: Chemical. Rapid on-site detection of zinc pyrithione in real-life samples with unprecedented selectivity and sensitivity If you live in Europe, you may find that formerly ZPT-based shampoos have been reformulated. In the United States and many other markets, ZPT products remain widely sold. The regulatory divergence reflects different risk-assessment frameworks rather than a definitive safety finding, but it is worth being aware of, especially if you use these shampoos frequently over long periods.

Selenium Sulfide

Selenium sulfide is another antifungal ingredient available in over-the-counter shampoos (usually at 1%) and by prescription at 2.5%. A clinical study on a 0.5% selenium sulfide shampoo found significant improvements in dandruff scores, redness, and itching over four weeks of use, with itch scores dropping by roughly two-thirds.7PubMed Central. Clinical effects of a 0.5% selenium sulfide shampoo on dandruff and scalp microbiota in adolescents: a prospective single-arm clinical study The same study showed that selenium sulfide shifted the scalp microbiome in a favorable direction, increasing the proportion of Cutibacterium (a bacterium associated with healthy scalps) while reducing Malassezia and Staphylococcus levels. One downside: selenium sulfide shampoos can have a noticeable sulfur smell and may temporarily discolor light or chemically treated hair. Rinsing thoroughly helps.

Piroctone Olamine and Salicylic Acid

Piroctone olamine is a newer antifungal agent found in many “gentle” or cosmetically elegant dandruff shampoos. When combined with salicylic acid, which helps dissolve and loosen flakes, a trial found this combination was at least as effective as zinc pyrithione shampoo, and appeared slightly better at reducing the area of visible scaling.8PubMed. The antidandruff efficacy of a shampoo containing piroctone olamine and salicylic acid in comparison to that of a zinc pyrithione shampoo This combination is worth trying if you find ketoconazole or ZPT too drying, or if you want a shampoo that looks and feels more like a regular hair product.

Coal Tar

Coal tar slows skin-cell turnover and has anti-inflammatory properties. It has a long track record for dandruff and psoriasis but comes with cosmetic drawbacks: a strong medicinal smell, potential staining of light hair, and a generally unpleasant user experience. It remains an option for stubborn cases, but most people find the ingredients above more tolerable for regular use.

How to Actually Use Medicated Shampoo

The most common reason a dandruff shampoo “doesn’t work” is that it was used like a regular shampoo: lathered, immediately rinsed, done. Active antifungal ingredients need time in contact with the scalp. Most dermatologists recommend leaving the shampoo on for three to five minutes before rinsing. That contact time lets the active ingredient penetrate the oily biofilm on the scalp and reach the Malassezia underneath.

For an active flare, using the medicated shampoo two to three times per week is standard. On non-treatment days, you can use whatever regular shampoo or co-wash you prefer. Once the flaking is under control, dropping to once a week as maintenance keeps things in check. The ketoconazole trial data specifically supports this step-down approach: clear the flare with frequent use, then maintain with weekly use.3PubMed. Successful treatment and prophylaxis of scalp seborrhoeic dermatitis and dandruff with 2% ketoconazole shampoo: results of a multicentre, double-blind, placebo-controlled trial

One practical tip: apply the shampoo directly to the scalp rather than dumping it on top of your hair. Concentrate on massaging it into the areas that flake most, which for most people are the crown, the hairline, and behind the ears. The hair shaft itself does not have dandruff; it is a scalp condition.

The Rotation Myth

A persistent piece of advice floating around the internet is that you need to rotate between different dandruff shampoos because your scalp “gets used to” one ingredient and stops responding. The clinical term for this is tachyphylaxis, and dermatologists themselves have believed it happens. In one survey, 64% of responding dermatologists said they thought tachyphylaxis occurred with zinc pyrithione products, with most estimating it set in within three months.9PubMed Central. Does tachyphylaxis occur in long-term management of scalp seborrheic dermatitis with pyrithione zinc-based treatments?

When the same researchers actually analyzed clinical trial data spanning up to 48 weeks of continuous use, they found no evidence of tachyphylaxis at all. The products kept working at every time point measured. The perception that a product “stops working” may instead reflect natural fluctuations in dandruff severity driven by seasonal changes, stress, or other triggers. If your shampoo seems less effective after months of use, the evidence suggests sticking with it is just as reasonable as switching. That said, if one active ingredient never worked well for you in the first place, trying a different one is sensible, as that is not rotation but finding a better match.

Lifestyle Factors That Trigger Flares

Because dandruff is driven by an interplay between a fungus, your oil production, and your immune response, factors that shift any of those three variables can trigger or worsen flares. Stress is the most consistently identified trigger. A case-control study found that higher stress in the previous month was associated with roughly eight times the odds of a flare, and a case-crossover analysis within the same study confirmed the association, with stressed periods carrying about four and a half times the odds compared to lower-stress periods in the same individuals.10PubMed Central. Risk Factors for Seborrhoeic Dermatitis Flares: Case-control and Case-crossover Study An earlier study specifically examining the stress-seborrheic dermatitis link similarly found that flares were often preceded by a stressful life event and that high stress predicted a worse course of disease.11PubMed. Stress and seborrheic dermatitis

Alcohol consumption showed up as another risk factor in that case-control analysis, with regular drinking associated with roughly ten times the odds of a flare, though this estimate came from a relatively small number of cases and had a wide confidence interval.10PubMed Central. Risk Factors for Seborrhoeic Dermatitis Flares: Case-control and Case-crossover Study Past tobacco use also appeared as a risk factor. None of this means that quitting drinking will cure dandruff, but if you notice flares correlating with periods of heavier drinking, poor sleep, or high stress, the association is real and not in your head.

Seasonal changes matter too. Dandruff tends to worsen in winter for many people, likely because of the combination of cold dry air outside and heated dry air inside, which can compromise the already weakened scalp barrier. Spending less time outdoors in sunlight may also play a role, as UV exposure has mild antifungal properties.

When It Might Not Be Dandruff

Not all scalp flaking is dandruff, and treating the wrong condition with antifungal shampoo is one reason people spend months frustrated. The two conditions most commonly confused with dandruff are scalp psoriasis and contact dermatitis.

Scalp psoriasis produces thick, silvery-white scales that often extend beyond the hairline onto the forehead and ears. Under a microscope, psoriasis and seborrheic dermatitis look distinctly different: psoriasis shows specific patterns like evenly elongated skin ridges and neutrophil-filled crusts, while seborrheic dermatitis shows different features including follicular plugging and lymphocyte infiltration.12Annals of Dermatology. Histopathological Differential Diagnosis of Psoriasis and Seborrheic Dermatitis of the Scalp In practical terms, if your scalp flaking produces very thick, well-defined plaques rather than diffuse fine flaking, and especially if you have psoriasis patches elsewhere on your body, antifungal shampoo alone is unlikely to resolve it. Psoriasis requires different treatment, often involving topical steroids or newer targeted therapies.

Contact dermatitis is the other common mimic, and here the irony is thick: it can be caused by hair products themselves, including “natural” ones. Tea tree oil, a popular home remedy for dandruff, is a known contact allergen that can cause severe eczematous reactions in sensitized individuals.13PubMed Central. Spreading Allergic Contact Dermatitis to Tea Tree Oil in an Over-the-Counter Product Applied on a Wart If your scalp gets worse with a new product rather than better, contact dermatitis should be on the list. Stopping the offending product is usually the fix, sometimes with a short course of topical steroids from a doctor to calm the inflammation.

Considerations for Curly and Textured Hair

Most dandruff research has been conducted on straight or loosely wavy hair types, which creates a practical gap for people with tightly curled or coily hair. Washing frequency is a key issue: many people with textured hair wash less often to preserve moisture and prevent breakage, but the standard advice for dandruff management involves fairly frequent use of medicated shampoo. That tension is real and not well addressed by the existing clinical literature.14PubMed Central. High Curl Pattern Hair and Scalp Care Considerations to Mitigate Seborrheic Dermatitis

Some practical workarounds that dermatologists who treat diverse hair types suggest include applying medicated shampoo directly to the scalp (using a nozzle-tip bottle if needed) while keeping conditioner or oil on the lengths and ends to prevent dryness. Ketoconazole and piroctone olamine formulations tend to be less stripping than zinc pyrithione or selenium sulfide, which can be drying. Co-washing with a non-medicated cleansing conditioner on non-treatment days helps maintain moisture balance. The key principle is that the medicated product needs to reach the scalp, but it does not need to strip the hair in the process.

Prescription Options for Stubborn Cases

When over-the-counter shampoos fail after several weeks of proper use, prescription treatments are the next step. Topical steroids remain the most commonly prescribed option for scalp seborrheic dermatitis. A Cochrane systematic review of 36 randomized trials found that steroids and calcineurin inhibitors (like tacrolimus and pimecrolimus) were comparable in clearing the condition, though steroids caused fewer side effects in the short term.15PubMed Central. Topical anti‐inflammatory agents for seborrhoeic dermatitis of the face or scalp Topical steroids work by suppressing the inflammatory response on the scalp rather than attacking the fungus directly, so they are often used in combination with an antifungal shampoo.

The catch with topical steroids is that prolonged use can thin the skin, so they are best used in short bursts to bring a bad flare under control, then stepped down in favor of antifungal maintenance. Calcineurin inhibitors avoid the skin-thinning problem and are sometimes preferred for long-term use on the face, where seborrheic dermatitis also commonly appears. On the scalp, applying a cream or ointment can be messy with thick hair, so many prescribers favor steroid solutions or foams that are easier to work through hair.

For truly refractory cases, oral antifungals like itraconazole are occasionally used, though the potential for liver-related side effects means they are reserved for situations where topical treatments have genuinely failed. A broader treatment-optimization review notes that combining antifungal agents, anti-inflammatory agents, and keratolytic agents (like salicylic acid, which loosens flakes) gives dermatologists a flexible toolkit to customize treatment based on what a given patient’s scalp needs most.16PubMed Central. Optimizing treatment approaches in seborrheic dermatitis

Natural Remedies and What the Evidence Actually Shows

Tea tree oil, apple cider vinegar, coconut oil, and aloe vera are all widely recommended for dandruff on social media and wellness blogs. The evidence base for these is thin compared to the ingredients discussed above. Tea tree oil does have demonstrated antifungal activity in laboratory settings, and a small number of trials have shown modest benefit for mild dandruff. But tea tree oil is also a recognized contact allergen, especially when oxidized (which happens when the bottle has been open for a while), and allergic reactions can be severe and widespread.13PubMed Central. Spreading Allergic Contact Dermatitis to Tea Tree Oil in an Over-the-Counter Product Applied on a Wart The perception that “natural” means “harmless” is simply incorrect.

Coconut oil may help with dryness and has some antifungal properties, but it can also feed Malassezia in some people because the fungus metabolizes certain lipids. Apple cider vinegar’s acidity could theoretically create a less hospitable environment for yeast, but there are no clinical trials demonstrating meaningful dandruff improvement. If a natural remedy seems to work for you and isn’t causing irritation, there is no harm in using it. But if you have persistent flaking that bothers you, a drugstore antifungal shampoo with decades of trial data is the more reliable choice.

The Scalp Microbiome Beyond Malassezia

Dandruff research is increasingly looking at the full community of microorganisms on the scalp, not just Malassezia. A study comparing healthy and dandruff-affected scalps found that bacteria also differ between the two groups. Staphylococcus bacteria were somewhat more abundant on dandruff scalps (about 34% of the bacterial population versus 25% on healthy scalps), while Cutibacterium, which is associated with healthy skin, was slightly reduced in the dandruff group.17PubMed Central. The diversity and abundance of fungi and bacteria on the healthy and dandruff affected human scalp These bacterial shifts were not statistically significant in that particular study, but the direction is consistent with findings from the selenium sulfide trial, which showed that effective treatment increased Cutibacterium and decreased both Staphylococcus and Malassezia.7PubMed Central. Clinical effects of a 0.5% selenium sulfide shampoo on dandruff and scalp microbiota in adolescents: a prospective single-arm clinical study

This microbiome perspective may eventually lead to more targeted treatments, like probiotics or prebiotics designed to restore a healthy microbial balance on the scalp. For now, these products are largely speculative and unproven. But the research direction suggests that future dandruff treatments might work less like broad-spectrum pesticides and more like ecosystem management, selectively encouraging the microbes associated with a healthy scalp rather than carpet-bombing everything. That shift is still years away from the drugstore shelf, but it is where the science is heading.