Yes, most dandruff shampoos contain ingredients that kill or suppress the fungus living on your scalp. Dandruff is primarily driven by Malassezia, a yeast that feeds on scalp oils and triggers the flaking and irritation you see. The active ingredients in medicated shampoos target this yeast through several different mechanisms, and some work better than others depending on the severity of your dandruff.
The Fungus Behind Dandruff
Malassezia yeast lives on virtually everyone’s scalp, but it causes problems when it overgrows or when your skin reacts strongly to its byproducts. Two species, Malassezia restricta and Malassezia globosa, are the primary culprits. Other species like M. furfur can also play a role. The density of these organisms on your scalp correlates directly with how severe your dandruff is, which is why reducing their population is the core strategy behind medicated shampoos.
How Each Active Ingredient Works
Not all dandruff shampoos fight fungus the same way. Some directly destroy fungal cells, while others slow their growth or reduce the skin flaking that makes dandruff visible. Here’s what each major ingredient actually does:
- Ketoconazole (found in Nizoral) blocks a key step in building fungal cell membranes. Without that membrane component, called ergosterol, the yeast’s internal structures degenerate and the cell dies. Electron microscopy studies have shown that ketoconazole essentially mummifies Malassezia cells, destroying their internal organelles. At therapeutic concentrations, it kills up to 97% of yeast cells on contact.
- Zinc pyrithione (found in Head & Shoulders) has been shown to significantly reduce yeast counts on the scalp, though its mechanism is less aggressive than ketoconazole. It disrupts fungal cell function and also has antibacterial properties.
- Selenium sulfide (found in Selsun Blue) works through a dual mechanism. It triggers a buildup of damaging reactive oxygen species inside fungal cells, which impairs their survival. It also slows the turnover of skin cells on your scalp, meaning fewer dead cells are produced and shed as visible flakes. This cytostatic effect is a bonus that other antifungals don’t offer.
- Ciclopirox (found in Loprox) takes a completely different approach from ketoconazole. Rather than targeting cell membrane construction, it interferes with the transport of essential molecules, disrupts membrane integrity, and impairs cellular respiration. Think of it as cutting off the yeast’s supply lines and oxygen at the same time.
- Piroctone olamine (found in many cosmetic and over-the-counter shampoos) penetrates the fungal cell membrane and binds to iron, shutting down energy production in the cell’s mitochondria. It has a fungicidal effect, meaning it kills yeast cells rather than just slowing them down, and is gentle enough for daily cosmetic use.
Direct Kill vs. Growth Suppression
There’s an important distinction between ingredients that kill fungal cells outright and those that simply slow their reproduction. Ketoconazole and piroctone olamine are genuinely fungicidal at the concentrations found in shampoos. Selenium sulfide leans more toward being cytostatic, meaning it stalls both fungal and skin cell growth rather than destroying organisms on contact. Zinc pyrithione falls somewhere in between, reducing yeast populations measurably but not as aggressively as ketoconazole.
For mild dandruff, any of these approaches works. For moderate to severe cases, a stronger fungicidal ingredient like ketoconazole typically produces faster results. If one ingredient isn’t controlling your flaking after a few weeks, switching to a shampoo with a different mechanism often helps, since you’re attacking the yeast from a different angle.
Getting the Most Out of Your Shampoo
The biggest mistake people make with dandruff shampoo is treating it like regular shampoo: lather, rinse, done in 30 seconds. These products need contact time with your scalp to work. The antifungal ingredients have to actually reach the yeast colonies living in the oily layer of your skin. Lather the shampoo into your scalp and leave it sitting for three to five minutes before rinsing. This gives the active ingredient enough exposure time to penetrate and do its job.
For initial treatment, use medicated shampoo daily until your symptoms improve. The exception is ketoconazole shampoo, which is typically used just twice per week from the start. Once your flaking is under control, you can taper down gradually: every other day, then twice a week, then once a week. This maintenance schedule keeps the fungal population suppressed without overexposing your scalp to the active ingredient.
Side Effects to Watch For
Most people tolerate antifungal shampoos well, but they can cause dryness, itching, stinging, or tingling on the scalp, particularly with ketoconazole. Some people notice changes in hair texture or find their hair feels unusually dry or oily during treatment. These effects are generally mild and go away once you stop using the product or reduce how often you use it.
More rarely, contact dermatitis or allergic reactions can occur. If your scalp becomes more irritated after starting a medicated shampoo rather than less, that’s a sign the ingredient isn’t agreeing with your skin. Switching to a different active ingredient usually solves the problem, since the mechanisms are different enough that sensitivity to one doesn’t predict sensitivity to another.
Why Dandruff Keeps Coming Back
Malassezia yeast is a permanent resident of human skin. You cannot eradicate it completely, nor would you want to, since it’s part of your normal skin microbiome. What antifungal shampoos do is keep its population low enough that your scalp doesn’t overreact. This is why dandruff is a condition you manage rather than cure. Once you stop using medicated shampoo entirely, the yeast population gradually rebounds and flaking returns, sometimes within a few weeks.
The most effective long-term strategy is finding the lowest frequency of use that keeps your symptoms at bay. For many people, that means using a medicated shampoo once or twice a week indefinitely, alternating with a regular shampoo on other days. If your dandruff is seasonal or stress-related, you may only need treatment during flare-ups.

