White flakes in your hair are almost always one of three things: dandruff, a dry scalp, or product buildup. Each has a different fix, so the first step is figuring out which one you’re dealing with. The good news is that most cases clear up within a few weeks using the right over-the-counter shampoo and a few habit changes.
Figure Out What’s Causing the Flakes
Not all white flakes are dandruff. Product buildup and dry scalp can look similar at first glance, but they behave differently and need different solutions.
Dandruff is caused by an overgrowth of a yeast called Malassezia that naturally lives on your scalp. This yeast feeds on the oils your skin produces, and when it multiplies too fast, your scalp sheds skin cells more rapidly than normal. The flakes tend to be irregular in size and shape, sometimes with a yellowish tint. They fall freely from your scalp onto your shoulders, even when your hair is otherwise clean. Higher colony counts of the yeast correlate directly with more severe flaking. Stress, fatigue, oily skin, weather extremes, and a weakened immune system can all make it worse.
Dry scalp produces smaller, whiter, more uniform flakes. Your scalp will feel tight and may itch, especially in winter or after using harsh shampoos. Unlike dandruff, you won’t see much oiliness on the scalp itself.
Product buildup is the easiest to rule out. If flakes stick to your hair strands rather than falling off when you rub your scalp, buildup is the likely culprit. Products containing alcohol, like gels and hairsprays, can harden and create white specks. Your hair will also feel greasy or coated even shortly after washing.
Choose the Right Medicated Shampoo
If your flakes are from dandruff (the most common scenario), an over-the-counter medicated shampoo is your best first move. These shampoos contain different active ingredients that work in distinct ways, so if one doesn’t help, switching to another type often does.
Antifungal shampoos target the Malassezia yeast directly. Ketoconazole is the strongest option available without a prescription. In a large clinical trial of 575 people with moderate to severe dandruff, a 2% ketoconazole shampoo used twice weekly for two to four weeks produced an excellent response in 88% of patients. When those patients continued using it just once a week afterward, only 19% relapsed over six months, compared to 47% who stopped using it entirely.
Zinc-based shampoos (containing 1% or 2% zinc pyrithione) work by slowing yeast growth and normalizing how your scalp sheds skin cells. They reduce the structural abnormalities that cause flaking and bring the Malassezia population back down to normal levels. These are widely available and tend to be gentler for everyday use.
Selenium sulfide shampoos (1% to 2.5%) control dandruff primarily through their antifungal effect, though they also slow the rate at which scalp cells turn over. They work well but can sometimes leave a slight odor or discolor lighter hair if not rinsed thoroughly.
Salicylic acid shampoos (typically 2% for over-the-counter products) take a different approach. Rather than targeting yeast, they chemically exfoliate the scalp, dissolving the bonds between dead skin cells so flakes loosen and wash away. These pair well with an antifungal shampoo if you have thick, stubborn scaling.
How to Use Medicated Shampoo Effectively
The biggest mistake people make with dandruff shampoo is treating it like regular shampoo: lather, rinse, done. Most medicated shampoos need to sit on your scalp for 5 to 10 minutes before you rinse. Check the label for specific instructions, because timing varies by product.
How often you use it depends on your hair type. If you have fine, straight, or naturally oily hair, you may need to wash daily and use your medicated shampoo twice a week. If you have coarse, curly, or coily hair, once a week is generally enough, and you should apply the medicated shampoo only to your scalp to avoid drying out your hair lengths. You can always follow up with your regular shampoo and conditioner afterward.
Give any medicated shampoo a few weeks of consistent use before deciding it isn’t working. If you don’t see improvement after that window, try switching to a shampoo with a different active ingredient rather than giving up on treatment altogether.
Clearing Product Buildup
If your flakes are from styling products rather than a scalp condition, a clarifying shampoo will solve the problem in one or two washes. Clarifying shampoos are designed to strip away residue that regular shampoos leave behind. Use one once a week or every two weeks to prevent buildup from returning, but not more often, as they can strip your hair’s natural moisture.
You can also reduce buildup by applying styling products to your hair rather than your scalp, using less product overall, and making sure you rinse thoroughly when you wash.
Treating a Dry Scalp
If your flakes are small, white, and accompanied by a tight or itchy scalp with no oiliness, dryness is more likely the issue than dandruff. Medicated dandruff shampoos can actually make a dry scalp worse because many of them reduce oil production.
Instead, switch to a gentle, moisturizing shampoo and cut back on washing frequency. Hot water strips oils from the scalp, so use lukewarm water when you wash. A lightweight scalp oil or leave-in treatment between washes can help restore moisture. If you live in a dry climate or run the heat all winter, a humidifier in your bedroom makes a noticeable difference.
Tea Tree Oil as a Natural Option
If you prefer a more natural approach, tea tree oil has clinical evidence behind it. A randomized trial found that a shampoo containing 5% tea tree oil improved dandruff severity by 41%, compared to just 11% improvement with a placebo shampoo. Look for shampoos that list tea tree oil at or near that 5% concentration. Lower amounts may smell pleasant but are unlikely to deliver the same antifungal benefit. Tea tree oil should not be applied undiluted to your scalp, as it can cause irritation.
When Flakes Signal Something More Serious
Most white flakes respond well to the treatments above, but some scalp conditions look similar and need different care. Scalp psoriasis produces thicker, drier scales than dandruff, often with well-defined raised patches (plaques) that may extend past your hairline onto your forehead or behind your ears. If you also notice flaking or redness on your elbows, knees, or lower back, or small pits in your fingernails, psoriasis is a strong possibility. It’s more persistent and harder to treat than dandruff, and typically requires prescription-strength treatments.
You should also pay attention if your scalp becomes painful, swollen, or starts oozing fluid, as these are signs of infection. Persistent flaking that doesn’t respond to any over-the-counter treatment after several weeks of consistent use is worth bringing to a dermatologist, who can often diagnose the specific condition just by examining your scalp and nails.

