Getting rid of stubborn dandruff requires targeting the root cause: a yeast called Malassezia that lives on everyone’s scalp but overgrows in some people, feeding on the natural oils your skin produces. The flaking, itching, and irritation aren’t just dry skin. They’re an inflammatory reaction to byproducts this yeast leaves behind as it breaks down sebum. The good news is that even severe dandruff responds well to the right combination of medicated products, proper technique, and a few habit changes.
Why Bad Dandruff Happens
Malassezia yeast can’t make its own fatty acids, so it depends entirely on the oils your sebaceous glands produce. It uses an enzyme called lipase to break down sebum into fatty acids it can absorb, and those fatty acids are the problem. They penetrate the outer layer of your skin, increase its permeability, and trigger irritation, scaling, and itching. At the same time, the yeast generates reactive oxygen species and inflammatory byproducts that cause your skin cells to multiply faster than normal. Instead of shedding invisibly, they clump together into the visible white or yellowish flakes you see on your shoulders.
Colonization by Malassezia increases during puberty when sebaceous glands ramp up, which is why dandruff rarely affects young children but peaks in adolescence and adulthood. People with oilier skin tend to have worse dandruff because there’s simply more fuel for the yeast. Stress, cold weather, and immune suppression can also tip the balance from harmless colonization to visible flaking.
Choosing the Right Medicated Shampoo
Over-the-counter medicated shampoos are the first line of attack, and the active ingredients matter more than the brand. The three most effective ingredients are ketoconazole, selenium sulfide, and zinc pyrithione. Each works slightly differently, but all reduce the Malassezia population on your scalp.
In a six-week clinical trial comparing ketoconazole and selenium sulfide shampoos in people with moderate to severe dandruff, both performed well. Selenium sulfide reduced total scale scores by about 78%, while ketoconazole reduced them by roughly 70%. Itching dropped by about 76% in both groups. The differences were small enough that either ingredient is a solid choice, so if one doesn’t work for you after a few weeks, switching to the other is a reasonable next step.
Tea tree oil is a natural alternative with some clinical backing. Shampoos containing 5% tea tree oil have shown effectiveness against dandruff-causing fungi. Look for that specific concentration on the label, as lower percentages are less likely to help. Tea tree oil works best for mild to moderate cases and can be used alongside a medicated shampoo on alternating wash days.
How to Actually Use Medicated Shampoo
This is where most people go wrong. A medicated shampoo isn’t like a regular shampoo. You can’t lather it on and rinse it off 30 seconds later. The active ingredients need prolonged contact with your scalp to penetrate the skin and kill yeast. Lather the shampoo thoroughly, then leave it on your scalp for 5 to 10 minutes before rinsing. Set a timer if you need to. Skipping this step is the single most common reason medicated shampoos seem to “not work.”
For bad dandruff, start by using the medicated shampoo daily for the first two to four weeks. Once flaking is under control, you can scale back to twice a week for maintenance. On the days you skip the medicated product, use a gentle, fragrance-free shampoo. If your scalp feels dry or tight from daily medicated washing, apply a lightweight conditioner to your hair (not your scalp) after rinsing.
When Over-the-Counter Products Aren’t Enough
If you’ve been using a medicated shampoo correctly for four to six weeks and your dandruff is still severe, a dermatologist can prescribe stronger options. Prescription-strength antifungal shampoos, like ciclopirox, are used daily at first and then tapered to twice a week. For intense inflammation, redness, or thick crusting, a prescription steroid solution or foam applied directly to the scalp can calm things down quickly. These are typically used for short periods, a couple of weeks, to break the cycle of inflammation before switching back to an antifungal maintenance routine.
For dandruff that spreads to your face (around the eyebrows, nose creases, or behind the ears), prescription antifungal creams or non-steroidal anti-inflammatory creams can be applied directly to those areas twice daily. This pattern of flaking beyond the scalp is a sign that you’re dealing with seborrheic dermatitis rather than simple dandruff, though the underlying cause is the same.
Washing Frequency Matters More Than You Think
One of the most impactful changes you can make is simply washing your hair more often. Clinical research consistently shows that infrequent washing allows sebum to accumulate and break down into the inflammatory fatty acids that drive dandruff. In one study, going just four days without washing led to a measurable buildup of these fatty acids, which correlated directly with increased scalp itching. Washing immediately reduced the itch.
A larger study found that when people who normally washed infrequently switched to washing every other day for just one week, they saw improvements in dandruff, itching, and dryness. The people who had been washing least often before the study saw the biggest gains. Daily washing with a zinc pyrithione shampoo for four weeks reduced both the amount of oxidized lipids on the scalp and visible flaking scores. This held true across all hair types, including tightly coiled hair, where washing every other day also reduced inflammatory markers on the scalp.
If you’ve been stretching washes to once or twice a week, increasing to every other day (or daily during a bad flare) can make a noticeable difference within days.
Diet and Dandruff
What you eat plays a supporting role. Malassezia yeast metabolizes sugars and simple carbohydrates, and diets high in refined carbs have been linked to worse seborrheic dermatitis symptoms. High-glycemic foods like white bread, sugary snacks, sweetened drinks, and refined cereals cause insulin spikes that promote systemic inflammation, which can worsen flaking and redness on the scalp.
Cutting back on these foods won’t cure dandruff on its own, but it can reduce the severity of flares and make your medicated shampoo more effective. Prioritizing whole grains, vegetables, lean proteins, and healthy fats gives the yeast less to feed on and lowers the background inflammation that contributes to symptoms.
Is It Dandruff or Something Else?
Severe, persistent flaking sometimes turns out to be scalp psoriasis rather than dandruff. The two can look similar, but there are key differences. Psoriasis scales tend to be thicker and drier, with well-defined silvery plaques. Dandruff scales are usually thinner, oilier, and more diffuse. Psoriasis also tends to extend past the hairline onto the forehead or behind the ears, and it often shows up in other places on the body: elbows, knees, lower back. Pitting or ridging on your fingernails is another telltale sign of psoriasis.
If your flaking is painful, your scalp is swollen or oozing fluid, over-the-counter treatments have failed after consistent use, or the condition is affecting your daily life or mental health, it’s worth getting a professional evaluation. Psoriasis and severe seborrheic dermatitis both have effective treatments, but they require different approaches.

