What Kills Dandruff Fungus? Ingredients That Work

Several antifungal compounds kill the yeast responsible for dandruff, and they’re available in over-the-counter shampoos you can pick up at any drugstore. The fungus involved is a yeast called Malassezia that lives on every human scalp, but in susceptible people it triggers the flaking, itching, and irritation we call dandruff. Killing it, or at least knocking its population back to manageable levels, is the most direct way to get symptoms under control.

Why Malassezia Causes Dandruff

Malassezia can’t make its own fatty acids, so it feeds on the natural oils your scalp produces. It secretes enzymes called lipases that break down the triglycerides in sebum into two types of fatty acids: saturated and unsaturated. The fungus consumes the saturated fatty acids for energy and leaves the unsaturated ones behind, especially oleic acid, which accumulates on the outer layer of skin.

In people who are susceptible, that leftover oleic acid irritates the scalp, speeds up skin cell turnover, and produces the visible flakes of dandruff. This is why two people can carry similar amounts of Malassezia yet only one develops dandruff. The fungus itself isn’t the whole story; it’s the inflammatory reaction to its metabolic waste that creates the problem. Reducing the fungal population means less oleic acid on your scalp, which means less irritation and flaking.

Antifungal Ingredients That Work

The most effective over-the-counter options attack Malassezia through different biological mechanisms. Choosing the right one (or rotating between them) depends on how your scalp responds.

Ketoconazole

Ketoconazole blocks the production of ergosterol, a molecule fungi need to build and maintain their cell membranes. Without ergosterol, the membrane becomes unstable. At higher concentrations, ketoconazole also causes toxic fatty acids to accumulate inside the fungal cell, which finishes it off. It’s available as a 1% shampoo over the counter and as a 2% formulation by prescription. Of all the drugstore options, ketoconazole has the most direct antifungal punch and is often the first thing dermatologists suggest for stubborn dandruff.

Zinc Pyrithione

Zinc pyrithione works differently. Rather than targeting ergosterol, it disrupts the fungal cell membrane’s ability to transport nutrients by interfering with the proton pump that powers membrane transport. This essentially starves the yeast. The FDA allows concentrations between 0.3% and 2% in rinse-off shampoos, and 0.1% to 0.25% in leave-on products. Most popular dandruff shampoos (like Head & Shoulders) use zinc pyrithione as their active ingredient, and clinical trials show it clears flaking and itching at rates comparable to ketoconazole and other antifungals.

Selenium Sulfide

Selenium sulfide pulls double duty. It has genuine antifungal activity against Malassezia, and it also slows down the rapid turnover of skin cells that produces visible flakes. In a controlled trial comparing 1.8% selenium sulfide shampoo to 2% ketoconazole shampoo for a related Malassezia skin condition, the two treatments showed similar cure rates: 86% for selenium sulfide versus 94% for ketoconazole, a difference that wasn’t statistically significant. Over-the-counter formulations come in 1% strength, with stronger versions available by prescription.

Piroctone Olamine

Piroctone olamine (sometimes listed as “octopirox” on labels) shows up in many salon and cosmetically elegant dandruff shampoos. It works as an antifungal and clears dandruff and itching quickly in clinical comparisons alongside ketoconazole and zinc pyrithione at 1% concentrations. If you find traditional dandruff shampoos too harsh or drying, products with piroctone olamine tend to feel more like regular shampoo while still targeting the fungus.

Tea Tree Oil as a Natural Option

Tea tree oil has legitimate antifungal activity against Malassezia species. Lab testing shows it inhibits the most common dandruff-associated Malassezia strains at concentrations as low as 0.03% to 0.25%, depending on the species. That’s a relatively low threshold, which explains why 5% tea tree oil shampoos have shown positive results in small clinical studies.

The catch is consistency. Tea tree oil concentrations vary widely between products, and the oil can irritate sensitive scalps at higher concentrations. It’s a reasonable option for mild dandruff or as a supplement to a medicated shampoo, but for moderate to severe cases, the standardized pharmaceutical ingredients tend to be more reliable.

How to Actually Use Antifungal Shampoo

The single biggest mistake people make with dandruff shampoo is rinsing it out too quickly. A study testing the effect of contact time found that leaving antifungal shampoo on the scalp for five minutes produced noticeably better results than lathering and rinsing immediately. The active ingredients need time to penetrate the oily biofilm where Malassezia lives. Massage the shampoo into your scalp, leave it for a full five minutes, then rinse.

For active dandruff, most formulations work best when used two to three times per week. Once symptoms improve, you can taper down to once a week for maintenance. Dandruff is a chronic condition, not a one-time fix. The fungus will repopulate if you stop treatment entirely, so periodic use keeps things in check.

Why One Product Stops Working

If your go-to shampoo seems less effective over time, it may not be your imagination. Researchers have isolated strains of Malassezia from dandruff patients that are specifically resistant to ketoconazole, with resistance levels 16 to 256 times higher than normal strains. While most Malassezia remain sensitive to azole antifungals, the emergence of resistant strains has been documented in multiple studies.

This is one reason dermatologists often recommend rotating between active ingredients. If ketoconazole stops delivering results, switching to zinc pyrithione or selenium sulfide attacks the fungus through a completely different mechanism. Resistance to one class of antifungal doesn’t confer resistance to another, so alternating keeps the fungus from adapting.

Your Scalp Environment Matters

Healthy skin sits at a slightly acidic pH of about 5.5, and this acidity naturally limits how aggressively Malassezia behaves. People with scalp conditions like seborrheic dermatitis tend to have a higher, more alkaline scalp pH, which changes how the fungus metabolizes fats and which irritating byproducts it leaves behind. Lab research shows that Malassezia behaves differently at various pH levels, producing different types of lipids that can worsen or reduce skin irritation.

Practically, this means that harsh, highly alkaline shampoos or soaps can shift your scalp environment in a direction that favors the fungus. Using a gentle, pH-balanced shampoo between your medicated washes helps maintain the slightly acidic conditions where Malassezia is less problematic. Managing oil production through regular washing also reduces the food supply the fungus depends on, since it literally cannot survive without external fatty acids from your sebum.