Dandruff responds well to over-the-counter medicated shampoos, and most people can control it entirely at home. The key is choosing the right active ingredient, using it correctly, and sticking with a consistent routine. Flaking tends to come back when you stop treating it, so think of dandruff management as ongoing maintenance rather than a one-time fix.
Why Dandruff Happens
Dandruff is driven by a yeast-like fungus that lives naturally on everyone’s scalp. It feeds on the oils your skin produces, and in some people, it triggers an inflammatory response that speeds up skin cell turnover. The result: visible white or yellowish flakes, itching, and sometimes redness. Oily scalps tend to produce more flaking because the fungus has more to feed on.
Stress, cold dry weather, hormonal shifts, and infrequent washing can all make dandruff worse. It’s not caused by poor hygiene, but letting oil and dead skin build up on the scalp does give the fungus a better environment to thrive in.
Choosing a Medicated Shampoo
The most effective way to treat dandruff is with a shampoo containing an active ingredient that either kills the fungus or slows the overproduction of skin cells. Several ingredients work, and if one doesn’t help after a few weeks, switching to another often does.
- Zinc pyrithione (1%) is the most widely available option. It’s antifungal and antibacterial, gentle enough for frequent use, and effective for mild to moderate flaking.
- Ketoconazole (1% OTC, 2% prescription) is a stronger antifungal. Clinical trials have tested it head-to-head against zinc pyrithione in severe dandruff, and both perform well, though ketoconazole may have an edge for stubborn cases.
- Selenium sulfide (1%) slows skin cell turnover and reduces fungal growth. It can discolor light or color-treated hair with repeated use, so rinse thoroughly.
- Salicylic acid (1.8 to 2% for scalp lotions) works as a peeling agent. It doesn’t kill the fungus but loosens and removes thick, built-up scale so other treatments can reach the skin. It pairs well with an antifungal shampoo.
- Coal tar reduces cell turnover and inflammation. It’s effective but comes with trade-offs: it can temporarily discolor blond, bleached, or tinted hair, stain skin and clothing, and make your scalp significantly more sensitive to UV light. After using a coal tar product, you should protect the treated area from direct sunlight for 72 hours.
How to Use Medicated Shampoo Properly
The biggest mistake people make with dandruff shampoo is rinsing it out too quickly. These products need contact time with your scalp to work. Lather the shampoo into your scalp, then leave it sitting for about 5 minutes before rinsing. Just squirting it on and washing it off immediately won’t give the active ingredients enough time to penetrate.
Focus the shampoo on your scalp, not your hair. Use your fingertips (not nails) to gently massage it in, which helps lift flakes and distribute the product evenly. You can use a regular conditioner on your ends afterward if the medicated shampoo leaves your hair dry.
How Often to Wash
Higher shampooing frequency is directly associated with lower dandruff severity. For mild dandruff, washing two to three times a week with a medicated shampoo is generally enough, but you should use the medicated formula every time you wash rather than alternating with a regular shampoo. If your flaking is more severe, daily washing may be necessary at first.
Once your dandruff is under control, you can often reduce frequency, but don’t stop the medicated shampoo entirely. The fungus doesn’t go away. Regular use keeps the active ingredients on your scalp at levels that prevent the fungus from bouncing back. Many people settle into a pattern of using their medicated shampoo two or three times a week indefinitely.
Tea Tree Oil as a Natural Option
If you prefer a more natural approach, tea tree oil has some evidence behind it. A clinical trial published in the Journal of the American Academy of Dermatology found that a 5% tea tree oil shampoo improved dandruff symptoms. Lower concentrations are unlikely to do much, so look for products that list tea tree oil as a primary ingredient at a meaningful percentage rather than burying it at the bottom of the ingredient list. Tea tree oil works as a mild antifungal, though it’s generally less potent than the pharmaceutical options above.
What Your Diet Can and Can’t Do
There’s no strong clinical evidence that dietary changes cure dandruff. That said, diets high in sugar and processed foods promote systemic inflammation and can trigger increased oil production on the skin, both of which create conditions the fungus thrives in. Eating fewer refined carbohydrates and more antioxidant-rich foods (fruits, vegetables, fatty fish) may help reduce the frequency or severity of flares for some people, even if it won’t eliminate dandruff on its own. Think of diet as a supporting factor, not a replacement for topical treatment.
When It Might Not Be Dandruff
Simple dandruff produces loose, white or yellowish flakes and mild itching. If your symptoms are more intense, you could be dealing with a related but more severe condition.
Seborrheic dermatitis is essentially dandruff’s more aggressive cousin. It causes inflamed, red skin covered with oily, crusted patches, and it can spread to the face, eyebrows, and chest. Treatment uses the same active ingredients but sometimes at prescription strength.
Scalp psoriasis looks different. The scales are thicker and drier, and patches tend to extend beyond the hairline onto the forehead or behind the ears. Psoriasis also usually shows up in other places on the body, like the elbows, knees, or lower back. Nail changes such as pitting are another hallmark. If your flaking matches this description, a healthcare provider can usually distinguish between the two conditions with a visual exam.
A Practical Starting Routine
Start with a 1% zinc pyrithione shampoo, since it’s inexpensive and widely available. Use it every time you wash your hair, leaving it on for 5 minutes per wash. Give it three to four weeks of consistent use. If you’re still seeing significant flaking, switch to a ketoconazole-based shampoo and repeat the process. For thick, crusty buildup, add a salicylic acid product once or twice a week to loosen the scale before using your antifungal shampoo.
If two different active ingredients haven’t made a noticeable difference after six to eight weeks total, or if you’re seeing redness, oozing, or flaking that extends beyond your scalp, it’s worth getting a professional evaluation to rule out seborrheic dermatitis or psoriasis that may need prescription treatment.

