How to Get Rid of Dandruff: Causes and Treatments

Dandruff is driven by a natural yeast on your scalp, and getting rid of it comes down to controlling that yeast while keeping your scalp’s oil balance in check. The good news: most cases respond well to the right shampoo, used the right way. The key is understanding what’s actually happening on your scalp so you can pick an approach that works and stick with it.

What Actually Causes Dandruff

Your scalp constantly produces oil called sebum. A yeast that lives on everyone’s skin, called Malassezia, feeds on that oil using specialized enzymes. When these enzymes break down sebum, they produce inflammatory byproducts that irritate skin cells. Your scalp responds by speeding up cell turnover, pushing clumps of dead skin to the surface faster than normal. Those clumps are the white or yellowish flakes you see in your hair and on your shoulders.

This means dandruff isn’t caused by poor hygiene or a dry scalp. It’s an inflammatory reaction to a fungus that everyone carries. Some people simply produce more oil or have a stronger immune response to the yeast’s byproducts, which is why dandruff runs in cycles and varies in severity from person to person.

Make Sure It’s Actually Dandruff

Before treating dandruff, it helps to rule out two conditions that look similar but need different approaches.

A dry scalp produces small, fine, white flakes and feels tight. Dandruff flakes tend to be larger, and your scalp and hair often feel oily or greasy rather than dry. If your flakes come with oily, yellowish patches and noticeable itching, that’s seborrheic dermatitis, a more intense version of dandruff that affects the same oil-rich areas of skin.

Scalp psoriasis is different again. It shows up as well-defined, thick, scaly plaques rather than scattered flakes. On lighter skin, psoriasis scales look silvery-white. On darker skin, plaques tend to appear purple or gray. Psoriasis patches are dry and raised, not oily, and they can extend beyond the hairline onto the forehead, neck, or behind the ears. If that sounds like what you’re dealing with, over-the-counter dandruff shampoos won’t resolve it.

Choosing the Right Medicated Shampoo

The most reliable way to reduce dandruff is a medicated shampoo with an active antifungal or cell-turnover ingredient. There are several to choose from, and they work through slightly different mechanisms.

  • Ketoconazole (1–2%) directly kills the Malassezia yeast. In lab studies, it inhibits fungal growth at extremely low concentrations, making it the most potent antifungal option available over the counter. You’ll find it in shampoos like Nizoral.
  • Zinc pyrithione (1–2%) slows yeast growth and reduces inflammation. It also has an antiproliferative effect, meaning it helps normalize the rate at which your scalp sheds skin cells. This is the active ingredient in Head & Shoulders and many similar brands.
  • Selenium sulfide (1%) works similarly to zinc pyrithione but requires higher concentrations to achieve the same antifungal effect. It’s effective but can slightly discolor light or chemically treated hair.
  • Salicylic acid (2–3%) doesn’t kill yeast. Instead, it loosens and dissolves flake buildup so other ingredients can reach the scalp. It works best as a complement to an antifungal shampoo, not a standalone treatment.
  • Coal tar slows skin cell production and reduces itching. It has a strong smell and can also affect hair color, so it’s typically a second-line option.

If one shampoo doesn’t improve your dandruff after a few weeks, the American Academy of Dermatology recommends alternating between products with different active ingredients rather than sticking with what isn’t working. Your scalp may respond better to a different mechanism of action, and rotating helps prevent the yeast from adapting.

How to Use Medicated Shampoo Properly

Most people rinse medicated shampoo out too quickly. The active ingredients need time to penetrate your scalp. Lather the shampoo directly into your scalp (not just your hair), then leave it in place for a full five minutes before rinsing. This contact time is what makes the difference between a shampoo that works and one that feels useless.

During an active flare, use the medicated shampoo every time you wash. Once flaking is under control, you can taper to two or three times a week and use your regular shampoo on other days. Dandruff is a chronic condition managed by ongoing treatment, not a one-time fix. If you stop using medicated shampoo entirely, flaking will likely return within a few weeks.

How Often to Wash Your Hair

Washing frequency matters more than most people realize. Clinical studies have found that when people with dandruff increased their washing to every other day for just one week, they saw improvements in flaking, itchiness, and overall scalp health. The participants who had been washing least frequently before the study saw the greatest improvement.

This makes sense given how dandruff works. Sebum is the fuel for Malassezia, and regular washing removes excess oil before the yeast can break it down into inflammatory byproducts. If you have oily hair, daily or every-other-day washing with your medicated shampoo is reasonable during flares. If your hair is drier or textured and daily washing isn’t practical, focus on applying the medicated shampoo to your scalp rather than your hair lengths, and use a conditioner on your ends afterward to prevent dryness.

Natural Options That Have Evidence

Tea tree oil is the best-studied natural alternative. In a randomized trial of 126 patients with mild to moderate dandruff, a shampoo containing 5% tea tree oil produced a 41% improvement in dandruff severity over four weeks, compared to just 11% improvement with a placebo shampoo. That’s a meaningful difference, though it’s still less potent than pharmaceutical antifungals like ketoconazole.

If you want to try tea tree oil, look for a shampoo that lists it at or near 5% concentration. Lower concentrations sold in many drugstore “natural” shampoos may not deliver the same results. You can also add a few drops of pure tea tree oil to your regular shampoo, though getting the concentration right is harder this way.

Apple cider vinegar rinses are popular online but lack clinical trial data for dandruff specifically. The acidity may temporarily reduce yeast activity, but there’s no reliable evidence it matches medicated shampoos.

Lifestyle Factors That Help

Stress is one of the most consistent triggers for dandruff flares. The connection isn’t fully mapped, but stress alters immune function and oil production, both of which feed the cycle. Many people notice their worst flaking during high-pressure periods at work or after poor sleep.

Zinc plays a role in skin health and immune regulation. While most dandruff treatment involves topical zinc (applied directly to the scalp), making sure your diet includes adequate zinc from foods like meat, shellfish, legumes, and seeds supports the same skin processes from the inside. A zinc deficiency won’t cause dandruff on its own, but it can make an existing problem harder to control.

Cold, dry weather tends to worsen dandruff for many people, partly because indoor heating dries out the scalp and partly because seasonal immune shifts favor yeast overgrowth. You may need to increase your medicated shampoo frequency during winter months.

When Over-the-Counter Products Aren’t Enough

If you’ve tried multiple medicated shampoos with proper contact time for several weeks and your scalp is still flaking, itching, or getting worse, the next step is a prescription-strength treatment. This might include a stronger topical antifungal, a corticosteroid solution to reduce inflammation, or in severe cases, an oral antifungal medication. Crusting, weeping, spreading redness, or flaking that extends to your eyebrows, nose creases, or chest suggests seborrheic dermatitis that needs more targeted treatment than what’s available on store shelves.