Antifungal Shampoo: An Honest Guide to Ketoconazole, Selenium Sulfide & Natural Options
Share
If your scalp itches, flakes, or turns red and greasy no matter what you wash it with, sooner or later someone tells you to try an antifungal shampoo. That's often good advice. Medicated antifungal shampoos are real medicine, and for dandruff and seborrheic dermatitis they're backed by decades of solid clinical trials.
But most people use them wrong. They lather up, rinse after thirty seconds, and wonder why nothing changed. Or they find one that works and make it their only shampoo forever, then wonder why their scalp feels tight, their hair feels like straw, and the flakes keep coming back the minute they stop.
I've been doing hair since the 1970s, and I've learned that the medicated bottle is only half the picture. The other half is what you wash with the rest of the week, and what your hair has been coated with for years.
In this article, I'll walk you through the four main antifungal shampoo ingredients (ketoconazole, selenium sulfide, zinc pyrithione and ciclopirox), what each one is actually for, and how to use them so they work. I'll also cover why a gentle daily cleanser belongs in the rotation, what really happens when you switch to a natural shampoo, what over a thousand of our customers told us about their scalps, and when an itchy scalp means it's time to see a doctor.
What 1,160 Customers Say About Our Organic Shampoo
4.8 stars across 1,160 customer reviews
61 of 65 reviewers who mentioned itching said their scalp felt less itchy or not itchy at all
48 of 53 reviewers who mentioned flakes said they noticed fewer
35% described softer, shinier or healthier-feeling hair
What Is Antifungal Shampoo?

An antifungal shampoo is a medicated shampoo with an active ingredient that reduces yeast and fungi on the scalp. In the U.S., these are regulated as drugs, not cosmetics, which is why the bottle has a "Drug Facts" panel and a listed active ingredient.
The main target is Malassezia, a yeast that lives on almost every adult scalp. Most of the time it's harmless. But Malassezia feeds on scalp oil, and as it breaks that oil down it releases fatty acids that irritate the skin in people who are sensitive to them. The scalp responds by speeding up skin cell turnover and getting inflamed, and that shows up as itching and flakes.(1)
That's why antifungal shampoos work for dandruff even though dandruff isn't an "infection" in the usual sense. You're not wiping out an invader. You're turning down the volume on a yeast that's always there.
What Antifungal Shampoo Is Used For
Antifungal shampoos are used for a handful of specific conditions, and it helps to know which one you're dealing with:
- Dandruff: fine white or yellowish flakes with mild itching, with no real redness. The mildest form of the same spectrum as seborrheic dermatitis.
- Seborrheic dermatitis: red, greasy patches with thicker yellowish scale, often along the hairline, eyebrows, sides of the nose, behind the ears, or on the chest. This is where ketoconazole and ciclopirox shine.(1, 2)
- Tinea versicolor: light or dark patches on the chest, back, or shoulders caused by the same Malassezia yeast. Selenium sulfide and ketoconazole shampoos are often used as a body wash for this.(9)
- Fungal (Malassezia) folliculitis: itchy, uniform little bumps on the chest, back, or hairline that don't respond to acne treatments. We cover this one in depth in our guide to fungal acne vs. regular acne.
- Tinea capitis (scalp ringworm): a true fungal infection of the hair shaft, most common in children. Shampoo alone won't cure it. It needs a doctor and oral antifungal medication, and the shampoo is only used alongside it to reduce spread.(8)
If you're not sure which one you have, that's a good reason to get it looked at before you start cycling through products.
The 4 Main Antifungal Shampoo Ingredients

Almost every antifungal shampoo on the shelf is built on one of four active ingredients. Here's how they compare:
| Ingredient | Where to get it | Best known for | Watch out for |
|---|---|---|---|
| Ketoconazole | 1% over the counter (Nizoral A-D); 2% by prescription | Seborrheic dermatitis, stubborn dandruff, tinea versicolor | Dryness, irritation, changes in hair texture |
| Selenium sulfide | 1% over the counter (Selsun Blue); 2.5% by prescription | Dandruff, tinea versicolor | Oily residue, odor, can discolor light, gray or chemically treated hair |
| Zinc pyrithione | 1–2% over the counter (most Head & Shoulders formulas) | Everyday dandruff control | Mild irritation in some people |
| Ciclopirox | 1% by prescription only | Moderate to severe seborrheic dermatitis | Itching or burning at first; prescription needed |
Ketoconazole
Ketoconazole is the most studied antifungal shampoo ingredient, and the one dermatologists reach for first in seborrheic dermatitis. It works by blocking the yeast's ability to build its cell membrane. In one large multicenter trial of 575 people with moderate to severe seborrheic dermatitis and dandruff, 88% had an excellent response after two to four weeks of the 2% shampoo used twice weekly.(2)
The 1% version is sold over the counter. The 2% version is prescription-strength, and in a direct comparison it outperformed 1% for reducing both flaking and yeast counts in severe cases.(12)
Selenium Sulfide
Selenium sulfide slows down how fast scalp skin cells turn over and also has antifungal activity. In a placebo-controlled trial of 246 people with moderate to severe dandruff, both selenium sulfide 2.5% and ketoconazole 2% clearly beat placebo for flaking, itching and irritation. Ketoconazole was better tolerated, and all of the side effects reported in that study came from the selenium sulfide group.(3)
It's effective, but it's the roughest on hair of the four. If you have blonde, gray or color-treated hair, rinse very thoroughly, because it can leave a yellowish or orange tint.
Zinc Pyrithione
Zinc pyrithione is the workhorse of drugstore dandruff shampoo, and it's the active ingredient in most Head & Shoulders formulas. It has both antifungal and antibacterial activity.(10) It's the gentlest of the four and the easiest to use regularly, which makes it a reasonable first step for mild dandruff. For true seborrheic dermatitis, it often isn't strong enough on its own.
Ciclopirox
Ciclopirox is a prescription antifungal with an added anti-inflammatory effect. In a vehicle-controlled trial in people with scalp seborrheic dermatitis, ciclopirox 1% shampoo used twice weekly significantly outperformed the shampoo base alone.(11) It's usually the next step when ketoconazole hasn't done enough.
What's Not Antifungal: Coal Tar and Salicylic Acid
Coal tar and salicylic acid shampoos are often shelved right next to antifungals, but they work differently. Coal tar slows down skin cell growth, and salicylic acid loosens and lifts scale. Both are useful, especially for scalp psoriasis, but neither one targets yeast.
How to Use Antifungal Shampoo the Right Way

This is where most people go wrong. A medicated shampoo isn't a cleanser. It's a treatment that happens to come in a shampoo bottle, so treat it that way:
- Wash first if your hair is dirty or full of product. A quick wash with your regular gentle shampoo clears the way so the medicated one can reach the skin.
- Apply it to the scalp, not the hair. Part your hair and work it into the skin where the flaking and itching are.
- Leave it on for 3 to 5 minutes. Contact time is the whole point. Set a timer, or wash your body while it sits.
- Rinse thoroughly. This matters most with selenium sulfide.
- Condition the ends only. Medicated shampoos can be drying, so put conditioner on the lengths and keep it off the scalp.
How often: a typical starting plan is two to three times a week for two to four weeks, then dropping to once a week (or every other week) for maintenance. Always follow your product label or your doctor's instructions, since they vary by ingredient and strength.
Give it time: most people notice a difference within two to four weeks. If you've used an over-the-counter antifungal shampoo correctly for four weeks and nothing has changed, stop guessing and see a dermatologist.
The Problem With Using Medicated Shampoo Every Day

Here's the part the drugstore aisle doesn't tell you. Even the best antifungal shampoo doesn't cure the tendency toward dandruff or seborrheic dermatitis. It controls it. In that same 575-person trial, among people whose scalps had cleared, 47% of those switched to a placebo shampoo relapsed within six months, compared with 19% of those who kept using ketoconazole once a week.(2) Flare-ups coming back is the norm, not a sign you did something wrong.
The scalp is also an ecosystem, not just a yeast problem. Research comparing healthy and dandruff-prone scalps has found that dandruff is associated with an imbalance in both the fungal and bacterial communities living on the skin, not just "too much yeast."(5, 6)
My colleague Jordan Dorn, a Certified Nutritionist, puts it this way:
"Harsh medicated shampoos don't just hit the bad microbes. They strip the beneficial ones too. In my experience, that can set people up for a rebound when they stop, because the scalp's ecosystem never had a chance to rebalance. That's why I like the medicated wash as a targeted tool, with a gentle cleanser that supports the scalp microbiome on the other days."
— Jordan Dorn, Certified Nutritionist
The research backs up the bigger point: relapse is the rule, not the exception, and the balance of microbes on your scalp is part of the picture. Even outside of shampoo, supporting the microbiome has shown promise. In one randomized trial, a probiotic (Lactobacillus paracasei) improved dandruff severity compared with placebo.(7)
Where a Gentle Daily Shampoo Fits In

So what do you wash with on the days you're not using the medicated shampoo? That's the question that actually decides how your scalp and hair feel day to day.
Most regular shampoos rely on strong sulfate detergents that strip the scalp's natural oils, and most conventional conditioners coat the hair in silicones. That combination makes hair feel smooth in the shower, but it can leave the scalp irritated and the hair underneath in worse shape than it looks. (If you want the full list, here are the harmful chemicals to avoid in shampoo and conditioner.)
What you want between medicated washes is a gentle cleanser that gets the scalp clean without stripping it: no sulfates, no synthetic fragrance, nothing that clogs pores, and nothing that wipes out the good microbes along with the bad.
That's exactly what we built our Organic & Wild-Crafted Shampoo to be, and it's the shampoo thousands of people with itchy, flaky, irritated scalps have switched to. It cleanses with wild-crafted soap nuts, a traditional plant cleanser rich in natural saponins (more in our soap nut shampoo guide), and it's made with naturally fermented probiotics to support a balanced scalp microbiome instead of stripping it.† Every ingredient is organic or wild-crafted, with no sulfates, parabens or synthetic fragrance.
The results speak for themselves: of the reviewers who mentioned itching, 61 of 65 said their scalp felt less itchy or not itchy at all. And because it's gentle enough for every day, it works on its own for everyday scalp care and alongside a medicated shampoo when you need one.
One thing to know before you start: the first couple of weeks can feel different, especially if you're coming off conventional shampoo and silicone conditioner. That's not the shampoo failing. Chug explains why below, and it's the reason to stick with it.
Shop the Organic & Wild-Crafted Shampoo →
Why Your Hair Feels Like Straw When You Switch (And Why That's a Good Sign)

This is the single biggest thing I wish every client understood before switching shampoos.
A lot of people with unhealthy hair are using a harsh shampoo and a silicone conditioner. The shampoo strips the hair, and the silicone coats it right back up so it feels slippery and smooth. The hair looks fine. But the coating is doing the work, not the hair.
Then they switch to a natural shampoo and a silicone-free conditioner, the buildup starts washing out, and for the first week or two their hair feels rough, dry, even like straw. And they blame the new product.
But that straw feeling is the real state of their hair. It was there all along, under the coating. Once the buildup is gone and the hair isn't being stripped and re-coated every day, it gets healthier over time. Give it a few weeks before you judge.
A few things help during that stretch:
- Wash twice. Natural shampoos don't foam like sulfate shampoos. The first wash lifts oil and buildup, and the second one lathers.
- Shake the bottle and work it in with your fingertips. Less foam doesn't mean less cleaning.
- Expect some extra oiliness or roughness at first. It usually settles within a few weeks as your scalp adjusts.
- Use a light oil on the ends if they feel dry. Our guide to carrier oils for hair covers good options.
What 1,160 Customers Said About Their Scalp and Hair
We wanted to see whether our customers describe the same things, so we went through every public review of our Organic & Wild-Crafted Shampoo: 1,160 unique reviews with an average rating of 4.8 stars. Here's what people wrote, in their own words:
- About a quarter of reviewers (26%) talked about their scalp, not just their hair.
- Of the 65 reviewers who brought up itching, 61 said their scalp felt less itchy or not itchy at all. Four said it made them itchier.
- Of the 53 who mentioned flakes, 48 said they noticed fewer. Two said it didn't help and three said they hadn't seen a change yet.
- 13 reviewers said they'd previously relied on medicated, prescription or anti-dandruff shampoos, including ketoconazole, selenium sulfide and coal tar. Several said those had helped, but they didn't want to keep using the chemicals in them.
- 35% described softer, shinier, stronger or healthier-feeling hair.
- 29 described an adjustment period when they first switched (hair that felt oily, rough, limp or "like straw" at first), and 23 of them said it settled and they loved it after.
- 36 noted it doesn't lather as much as conventional shampoo, and 10 said it left their hair drier or more tangled than they wanted.
These are customers describing their own experience in their own words, and the pattern is hard to miss, including the rough first few weeks that Jordan and I see all the time.
Is There a Natural Antifungal Shampoo?

This is one of the most common questions, so here's the honest answer. Many plant ingredients show antifungal activity in a lab dish, but very few have been tested as a shampoo on real scalps.
The best human evidence is for tea tree oil. In a randomized, placebo-controlled trial of 126 people with mild to moderate dandruff, a 5% tea tree oil shampoo used daily for four weeks improved dandruff severity by 41%, compared with 11% for placebo.(4) That's a meaningful result, though it's one trial and smaller than the evidence behind ketoconazole. Tea tree oil can also irritate sensitive skin, so patch test first.
Ingredients like turmeric, ginger, neem and aloe have traditional use for scalp comfort and some supportive lab research, but limited clinical data as shampoos. We go deeper into those in our guide to the best natural dandruff shampoo for dry and itchy scalp and in 10 ingredients that support a healthy scalp and hair.
The practical takeaway: if you have true seborrheic dermatitis or persistent dandruff, a proven medicated shampoo is the right tool. Natural options are a reasonable choice for mild flaking and for everyday maintenance, especially if harsh shampoos irritate you.
When to See a Doctor
See a doctor or dermatologist if you notice patches of hair loss or broken hairs, scaly round patches on a child's scalp (possible ringworm), a painful, oozing or swollen area, thick silvery plaques (possible psoriasis), redness spreading to your face or body, or no improvement after four weeks of an antifungal shampoo used correctly. Check with your doctor before using medicated shampoos during pregnancy or on young children.
The Bottom Line
Antifungal shampoos work, and if you're dealing with real dandruff or seborrheic dermatitis, you should use one. Pick the right active ingredient, leave it on long enough, and use it on a schedule rather than every day.
Then think about the rest of the week. A gentle, sulfate-free cleanser between medicated washes, plus a conditioner that doesn't coat your hair in silicone, lets your scalp and hair show you what they actually need. Expect the first couple of weeks to feel different. That's not the product failing. That's your real hair coming back.
Ready to make the switch? Start with our Organic & Wild-Crafted Shampoo, rated 4.8 stars by 1,160 customers, and pair it with our silicone-free conditioner from the hair care collection. If your hair concerns go beyond the scalp, our guide to hair loss causes and prevention is a good next read.
References
- Borda LJ, Wikramanayake TC. Seborrheic dermatitis and dandruff: a comprehensive review. Journal of Clinical and Investigative Dermatology. 2015;3(2).
- Peter RU, Richarz-Barthauer U. Successful treatment and prophylaxis of scalp seborrhoeic dermatitis and dandruff with 2% ketoconazole shampoo: results of a multicentre, double-blind, placebo-controlled trial. British Journal of Dermatology. 1995;132(3):441-445.
- Danby FW, Maddin WS, Margesson LJ, Rosenthal D. A randomized, double-blind, placebo-controlled trial of ketoconazole 2% shampoo versus selenium sulfide 2.5% shampoo in the treatment of moderate to severe dandruff. Journal of the American Academy of Dermatology. 1993;29(6):1008-1012.
- Satchell AC, Saurajen A, Bell C, Barnetson RS. Treatment of dandruff with 5% tea tree oil shampoo. Journal of the American Academy of Dermatology. 2002;47(6):852-855.
- Clavaud C, Jourdain R, Bar-Hen A, et al. Dandruff is associated with disequilibrium in the proportion of the major bacterial and fungal populations colonizing the scalp. PLoS One. 2013;8(3):e58203.
- Xu Z, Wang Z, Yuan C, et al. Dandruff is associated with the conjoined interactions between host and microorganisms. Scientific Reports. 2016;6:24877.
- Reygagne P, Bastien P, Couavoux MP, et al. The positive benefit of Lactobacillus paracasei NCC2461 ST11 in healthy volunteers with moderate to severe dandruff. Beneficial Microbes. 2017;8(5):671-680.
- Fuller LC, Barton RC, Mohd Mustapa MF, et al. British Association of Dermatologists' guidelines for the management of tinea capitis 2014. British Journal of Dermatology. 2014;171(3):454-463.
- Hu SW, Bigby M. Pityriasis versicolor: a systematic review of interventions. Archives of Dermatology. 2010;146(10):1132-1140.
- Schwartz JR. Zinc pyrithione: a topical antimicrobial with complex pharmaceutics. Journal of Drugs in Dermatology. 2016;15(2):140-144.
- Lebwohl M, Plott T. Safety and efficacy of ciclopirox 1% shampoo for the treatment of seborrheic dermatitis of the scalp in the US population: results of a double-blind, vehicle-controlled trial. International Journal of Dermatology. 2004;43(Suppl 1):17-20.
- Piérard-Franchimont C, et al. Effect of ketoconazole 1% and 2% shampoos on severe dandruff and seborrhoeic dermatitis: clinical, squamometric and mycological assessments. Dermatology. 2001;202(2):171-176.