Most scalp flaking is caused by dandruff, and the fix is straightforward: use a medicated shampoo with the right active ingredient, leave it on long enough to work, and wash at the right frequency for your hair type. If that doesn’t clear things up within a few weeks, you may be dealing with something other than basic dandruff, and the approach changes.
Why Your Scalp Is Flaking
The most common cause of scalp flaking is a yeast called Malassezia that lives on everyone’s skin. This yeast feeds on the natural oils your scalp produces, breaking down the fats in sebum to generate energy. That process releases leftover fatty acids, particularly oleic acid, onto your skin’s surface. In people who are susceptible, oleic acid irritates the scalp and disrupts the normal cycle of skin cell turnover, causing cells to clump together and shed as visible flakes.
Not all flaking comes from this yeast, though. A dry scalp produces small, white, powdery flakes and feels tight, especially in winter or after harsh shampooing. Dandruff flakes tend to be larger, yellowish or white, and appear on an oily (not dry) scalp. The distinction matters because antifungal shampoos won’t help a moisture problem, and moisturizing won’t stop a fungal one.
Figure Out What You’re Dealing With
Before reaching for a product, it helps to narrow down the cause. Dandruff and mild seborrheic dermatitis exist on the same spectrum. Both involve Malassezia, oily patches, and itching. Seborrheic dermatitis is essentially dandruff’s more inflamed cousin, with redder skin and greasier, crustier patches.
Scalp psoriasis looks different. The scales are thicker and drier, often silvery-white, and the patches tend to extend beyond the hairline onto the forehead, behind the ears, or down the neck. If your flaking is confined to your scalp and the skin underneath looks oily rather than dry and raised, dandruff or seborrheic dermatitis is the more likely culprit.
Simple dryness produces fine, loose flakes without redness or oiliness. If your scalp feels parched and tight, especially after washing, skip the antifungal section below and jump to the moisture-barrier advice.
Choosing the Right Medicated Shampoo
For dandruff and seborrheic dermatitis, over-the-counter medicated shampoos are the first line of defense. The key active ingredients work in different ways, and switching between them can help if one stops working.
- Ketoconazole (2%) directly targets the Malassezia yeast. In head-to-head trials, it reduced dandruff scores significantly better than placebo and was better tolerated than selenium sulfide, with fewer complaints of scalp irritation or oiliness.
- Zinc pyrithione (1-2%) disrupts the yeast’s ability to grow and is one of the most widely available options. It’s gentle enough for frequent use.
- Selenium sulfide (2.5%) is equally effective at reducing flaking and itching compared to ketoconazole but can feel harsher on some scalps and may discolor light or color-treated hair.
- Salicylic acid doesn’t kill yeast. Instead, it loosens the bonds between dead skin cells, dissolving the “glue” (proteins called desmogleins) that holds flakes together. This makes it useful for breaking up heavy buildup, often as a first step before using an antifungal shampoo.
If one ingredient doesn’t improve things after three to four weeks of consistent use, try a shampoo with a different active ingredient rather than assuming medicated shampoos don’t work for you.
How to Actually Use Medicated Shampoo
The biggest mistake people make is rinsing medicated shampoo out too quickly. These products need contact time with your scalp to work. Lather the shampoo into your scalp, then leave it in place for a full five minutes before rinsing. Set a timer if you need to. Rinsing after 30 seconds essentially washes the active ingredient down the drain before it can do anything.
Your washing frequency should match your hair type. If you have fine or naturally straight hair, or your scalp tends toward oily, you may need to wash daily or every other day, using your medicated shampoo for two of those washes per week. If you have coarse, curly, or coily hair, wash as needed and use the medicated shampoo about once a week. On non-medicated days, use a gentle, sulfate-free shampoo.
When Dryness Is the Problem
If your scalp flakes are fine and powdery, your skin isn’t red or oily, and your scalp feels tight, you likely have a damaged moisture barrier rather than a fungal issue. Antifungal shampoos can actually make this worse by stripping more moisture.
Look for scalp products containing urea, a naturally occurring molecule in healthy skin that pulls water into the outer layer and strengthens the skin barrier. Products with 2 to 10 percent urea hydrate and restore barrier function without being overly aggressive. At higher concentrations (above 10 percent), urea starts acting as an exfoliant, which is useful for thick, scaly buildup from conditions like psoriasis but overkill for simple dryness. Ceramide-containing products work similarly, reinforcing the lipid barrier that keeps moisture in.
Cutting back on washing frequency, lowering your water temperature, and avoiding shampoos with sulfates can also help a dry scalp recover.
Tea Tree Oil as a Natural Option
For people who prefer a non-pharmaceutical approach, tea tree oil has the strongest clinical evidence among natural remedies. A randomized trial of 126 patients found that a shampoo containing 5 percent tea tree oil improved dandruff severity by 41 percent over four weeks, compared to just 11 percent with placebo. That’s a meaningful difference, though it’s generally less potent than prescription-strength antifungals. Look for shampoos listing tea tree oil at 5 percent concentration; lower amounts may not deliver the same benefit.
Diet and Scalp Health
There’s growing evidence that what you eat can influence scalp flaking, particularly for seborrheic dermatitis. In case-control studies, people with seborrheic dermatitis consumed significantly more simple carbohydrates like white bread, rice, and pasta than those without the condition. Patients also self-reported flare-ups after eating sweets, spicy food, fried food, and dairy products.
This doesn’t mean sugar causes dandruff, but if you’re doing everything right topically and still flaking, it’s worth paying attention to whether refined carbohydrates or specific foods seem to trigger flare-ups for you. Reducing your intake of highly processed, high-sugar foods is low-risk and may help calm inflammation.
When OTC Products Aren’t Enough
If you’ve tried two or three different medicated shampoo ingredients for at least a month each, used them with proper contact time, and your flaking persists or worsens, it’s time for a professional evaluation. Persistent thick, silvery scales that extend past the hairline may indicate psoriasis, which requires a different treatment approach. Severe seborrheic dermatitis sometimes needs prescription-strength topical treatments to get inflammation under control before maintenance with OTC products becomes effective.
Hair loss accompanying your flaking, open sores, or spreading patches of redness are also signs that something beyond routine dandruff is going on.

