Skin & hair

Which Medicated Shampoo Ingredient to Reach For

Save

Every drugstore aisle stocks dandruff shampoos with different active ingredients, and the labels rarely explain why one might work when another hasn't. Ketoconazole, selenium sulfide, and zinc pyrithione all fight the same yeast, but they don't fight it the same way, and switching between them — rather than buying a new bottle of the same active ingredient — is often what actually breaks a stubborn flare.

Last updated: July 2026

Talk to a clinician

Gale can help you find a clinician in your state and request a visit.

Find care →

Continue in Claude

Open a chat with this article’s link already in the message, and keep asking questions there. Claude reads the article and its sources; nothing about you is included.

Continue in Claude →

The button opens the Claude desktop app and fills in the message for you to review before sending. No desktop app, or reading on a phone? Copy the prompt and paste it into any AI.

What's actually causing dandruff?

Dandruff and seborrheic dermatitis are the same underlying process at different intensities: an overgrowth of Malassezia, a yeast that lives on everyone's scalp and skin, combined with an inflammatory reaction to it in the sebaceous, oil-rich areas of the body. Dandruff is the mild end — flaking and mild itch without visible redness — while seborrheic dermatitis adds redness, greasy scale, and sometimes spreads to the eyebrows, sides of the nose, and chest.

Because an overgrown yeast is doing the damage, the shampoos that work reliably are the ones that reduce it: antifungal actives, plus keratolytic or anti-inflammatory ingredients that calm the scalp while the yeast comes back under control. A clinical review of seborrheic dermatitis identifies topical antifungals and medicated shampoos, plus low-potency topical steroids for more inflamed cases, as the standard approach for scalp disease 1.

Dandruff is common, not a sign of poor hygiene, and it responds well to the right shampoo in most people.

How do the three main ingredients differ?

Ketoconazole, selenium sulfide, and zinc pyrithione all reduce the Malassezia yeast that drives flaking, but through different mechanisms, and that difference shows up in how well each works, what it smells and feels like, and who tolerates it best.

IngredientHow it worksTypical downsideGood fit for
KetoconazoleDirect antifungal against MalasseziaCan be drying with regular useModerate dandruff or seborrheic dermatitis with redness or scale
Selenium sulfideAntifungal plus slows skin-cell turnoverSulfur smell; can discolor light or treated hairThicker, greasier scale
Zinc pyrithioneAntifungal and mildly anti-inflammatoryGenerally the mildest of the threeEveryday maintenance and sensitive scalps

None of the three is universally the strongest — each targets the same yeast through a different route, and a shampoo that fails for one person can work well for the next. Trying one consistently for several weeks before switching is more informative than rotating bottles every few days.

Using ketoconazole shampoo

Ketoconazole works by directly interfering with the yeast's cell membrane, which makes it one of the more consistently effective over-the-counter antifungal actives for both dandruff and seborrheic dermatitis. It tends to outperform zinc pyrithione for scalp disease that includes visible redness or greasy scale rather than just flaking, and it's a common step up for anyone whose flaking hasn't cleared with a milder shampoo.

Prescription-strength ketoconazole exists for cases that don't respond to the over-the-counter version, usually alongside a topical steroid for inflamed patches or ciclopirox as an alternative antifungal — the prescription treatment for seborrheic dermatitis that a clinician reaches for once the shelf options have been tried in earnest 1. It's generally well tolerated, though some people find it drying with regular use, which is worth balancing with a moisturizing conditioner rather than stopping altogether.

What selenium sulfide does differently

Selenium sulfide slows the rate skin cells turn over at the scalp surface, on top of its antifungal effect, which makes it especially useful for thicker, greasier scale that a plain antifungal alone doesn't fully clear. Its trade-offs are more about experience than effectiveness: a distinct sulfur smell that some people dislike, and a real risk of discoloring light, gray, or chemically treated hair, which is worth knowing before reaching for it on colored hair.

Selenium sulfide has a second, unrelated use worth knowing about: it's also a standard treatment for the patchy discoloration of tinea versicolor, a different yeast overgrowth that affects the trunk rather than the scalp. Tinea versicolor treatment sometimes uses the same active ingredient in a different application pattern, which reflects the shared yeast family involved rather than any connection between the two conditions.

Where zinc pyrithione fits

Zinc pyrithione is the mildest of the three and the active ingredient behind most mainstream anti-dandruff shampoos sold for daily use. It's antifungal and mildly anti-inflammatory, gentle enough for frequent washing, and a reasonable first try for mild flaking without much redness or greasy scale.

Its tradeoff is potency: for scalp disease with real inflammation or thick scale, zinc pyrithione alone is often not enough. Moving up the dandruff shampoos, weakest to strongest — from zinc pyrithione to selenium sulfide or ketoconazole — tends to work better than simply washing more often with the same mild shampoo.

How often and how long should it be used?

Getting the dandruff shampoo frequency and contact time right matters as much as choosing the active ingredient. Most medicated shampoos need to sit on the scalp for several minutes — not just a quick rinse — so the active ingredient reaches the scalp surface, and they're generally used a few times a week rather than daily, then tapered to a maintenance schedule once flaking clears.

Stopping the moment symptoms improve is the most common reason a shampoo seems to stop working: the yeast simply repopulates, and flaking returns within a few weeks. A steadier pattern — treating consistently, then dropping to occasional maintenance use rather than stopping outright — tends to hold results longer than restarting from scratch after every flare.

When has a shampoo actually stopped working?

A shampoo that never helped in the first weeks is different from one that worked and then stopped, and the two call for different next steps. If nothing has changed after several weeks of consistent, correct use, switching to a different active ingredient — say, from zinc pyrithione to ketoconazole — is a reasonable next step before assuming the diagnosis is wrong.

A period where a shampoo clearly worked and then stopped is more often a sign of refractory seborrheic dermatitis — a stubborn or spreading case that has moved past what an over-the-counter shampoo can manage — than a sign the ingredient itself stopped being effective. That pattern, or scale that spreads to the eyebrows, ears, or chest, or a scalp that's become raw and painful, is when seeing a dermatologist for a stronger prescription option, rather than trying a fourth bottle from the drugstore, makes sense.

Choosing between the options doesn't have to be guesswork. A structured approach to weighing options — the kind AHRQ's SHARE framework describes for shared medical decisions, comparing choices against what matters most to the patient before committing to one — applies just as well to picking a dandruff shampoo as it does to a bigger medical decision 2.

Common questions

Some people alternate two active ingredients — for example, a zinc pyrithione shampoo most days and a ketoconazole shampoo once or twice a week — which can work well since they target the yeast slightly differently. Using them in the same wash isn't usually necessary and mostly just increases the chance of irritation without adding benefit.

Yes — rinsing it out immediately defeats the point. Medicated shampoos need a few minutes of contact time with the scalp for the active ingredient to work, which is different from a regular shampoo meant only to clean hair. Lathering, waiting, then rinsing gets more benefit than a quick wash-and-rinse.

Selenium sulfide is known to discolor light, gray, or chemically treated hair with regular use, an effect that's cosmetic rather than a sign of damage. Anyone with lightened, gray, or color-treated hair who wants to avoid this is often better served by ketoconazole or zinc pyrithione, which don't carry the same discoloration risk.

No, and they're often confused. A truly dry scalp flakes from lack of moisture and usually improves with a gentler shampoo and conditioner. Dandruff is driven by an overgrown yeast and often comes with an oilier scalp, not a dry one, which is why heavier moisturizing sometimes makes it worse rather than better.

Many people notice their scalp flares during stressful periods, though stress doesn't cause dandruff on its own. It's thought to work indirectly, through changes in oil production and immune response that let the yeast driving dandruff flourish more easily. Sticking with a medicated shampoo through a stressful stretch, rather than stopping it, tends to help most.

Related

Say it back

How would you explain this to someone you love?

Two or three sentences, just as you’d say it. Gale reflects back what you focused on — a mirror, not a quiz.

Talk to a clinician

Gale can help you find a clinician in your state and request a visit.

Find care →

When dandruff needs a dermatologist, not another bottle

  • Scale that spreads to the eyebrows, ears, sides of the nose, or chest, especially with redness
  • A scalp that becomes raw, cracked, or painful rather than just flaky
  • No improvement after several weeks of consistent use of two different medicated shampoos
  • Hair loss or scarring in the areas of scale

This article is general health information, not a treatment plan. A dermatologist can confirm the diagnosis and prescribe a stronger option when over-the-counter shampoos aren't enough.

References

  1. 1.Clark GW, Pope SM, Jaboori KA (2015). Diagnosis and Treatment of Seborrheic Dermatitis. American Family Physician. linkThat seborrheic dermatitis of the scalp is treated with topical antifungals and medicated (antifungal/keratolytic) shampoos, with low-potency topical corticosteroids for more inflamed disease, and that prescription-strength antifungals are used when over-the-counter options aren't enough.
  2. 2.Agency for Healthcare Research and Quality (2020). The SHARE Approach. Agency for Healthcare Research and Quality (AHRQ). linkThat AHRQ's SHARE Approach is a five-step model for weighing options against what matters most to the person choosing — used here as a framework for choosing among dandruff shampoo ingredients.

2 sources, numbered by first appearance. General health information, not medical advice. AI-assisted editorial content — every citation independently verified. Editorial policy