Health & Wellness 9 min read Easy 8 steps

How to Get Rid of Dandruff

Learn how to get rid of dandruff with medicated shampoos, the right washing routine, and daily habits. Dermatologist-backed tips that actually work.

Published · Last updated
Hand running through long dark wavy hair against a white background

We ignored our dandruff for way too long, hoping it would just go away on its own. It did not. Those white flakes kept showing up on dark shirts, and the itching got worse every winter.

Dandruff is incredibly common. Estimates suggest it affects anywhere from 15 to 50 percent of the adult population at some point. It is almost always treatable at home once you understand what is actually happening on your scalp and use the right products the right way.

This guide walks through everything that works, from picking the right medicated shampoo to using it properly, plus the daily habits that keep flakes from coming back.

1

Figure out if it is actually dandruff

Before you grab a medicated shampoo, make sure you are dealing with dandruff and not a dry scalp. They look similar but need opposite treatments. Dandruff flakes are usually larger, yellowish or white, and feel oily or waxy. Your scalp may look greasy and red in patches. A dry scalp produces smaller, finer white flakes that look more like dust, and the skin feels tight rather than oily. If you have dry skin on your hands, legs, or face too, dry scalp is more likely. Here is a simple test. Rub a light moisturizer into your scalp before bed. Wash your hair the next morning. If the flaking stops, you had a dry scalp that just needed moisture. If the flakes are still there, that is dandruff, and you need the steps below. This distinction matters because dandruff is driven by an overgrowth of Malassezia, a fungus that naturally lives on everyone's scalp. It feeds on the oils your skin produces and breaks them down into byproducts that irritate some people's skin more than others. That irritation triggers faster skin cell turnover, which is what causes the visible flaking.

2

Pick a medicated shampoo with the right active ingredient

Over-the-counter dandruff shampoos are not all the same. They contain different active ingredients that work in different ways, and the American Academy of Dermatology recommends looking for one of these six. Zinc pyrithione is a good starting point for mild to moderate dandruff. It reduces the Malassezia fungus and is gentle enough for frequent use. Ketoconazole is the strongest antifungal option and targets Malassezia directly. Selenium sulfide slows skin cell turnover and helps with persistent, heavy flaking. Salicylic acid works as an exfoliant that loosens and removes scales, but it does not treat the underlying fungus on its own. Coal tar slows how quickly skin cells on your scalp die and flake off. Sulfur helps remove flakes and has mild antifungal properties. If you have never used a dandruff shampoo before, start with zinc pyrithione or ketoconazole. Both appear on the AAD's list above, and both are easy to find over the counter.

Good to know: Coal tar shampoos can make your scalp more sensitive to sunlight. If you use one, wear a hat outdoors or apply sunscreen to any exposed scalp areas.

3

Use the shampoo properly

Dandruff shampoo does almost nothing if you lather it up quickly and rinse it out like regular shampoo. The active ingredients in medicated shampoos need contact time to work. Apply the shampoo directly to your scalp, not just your hair. Massage it in with your fingertips (not your nails) and let it sit for at least five minutes before rinsing. Some products recommend up to ten minutes. Check the label. Focus the product on your scalp only. Working it through the lengths of your hair dries it out without any added benefit. After the contact time, rinse thoroughly. Leftover residue can irritate your scalp and make flaking worse. If the medicated shampoo leaves your hair feeling dry or rough, follow up with a regular conditioner on the mid-lengths and ends. Just keep the conditioner off your scalp.

4

Follow the right washing schedule for your hair type

How often you use the medicated shampoo depends on your hair type. The AAD recommends using dandruff shampoo twice a week if you have straight, fine, or oily hair. On the other days, wash with your regular shampoo to keep oil levels down. If you have curly, coily, or tightly textured hair, once a week is usually enough. Washing more frequently strips natural oils that textured hair needs for moisture and elasticity. Apply the medicated shampoo only to your scalp and follow with a moisturizing conditioner. One thing that makes dandruff worse is skipping washes entirely. It seems logical that leaving your hair alone would help, but dandruff feeds on the oil that builds up on an unwashed scalp. Sticking to a consistent schedule is more important than any single product you use.

5

Rotate shampoos when one stops working

Your scalp can develop a tolerance to a single active ingredient over time, which is why a shampoo that worked great for months can suddenly stop being effective. The Mayo Clinic recommends rotating between two or three dandruff shampoos with different active ingredients. For example, you might use a ketoconazole shampoo for a few weeks, then switch to zinc pyrithione for a few weeks, then try selenium sulfide. This keeps the fungus from adapting and gives you a fallback when one product loses its edge. If you have been using the same shampoo consistently for four to six weeks and your dandruff has not improved at all, do not keep waiting. Switch to a different active ingredient and give the new one another four weeks before deciding if it is working.

6

Address the everyday triggers

Several daily habits can make dandruff worse even if you are using the right shampoo. Stress is one of the biggest triggers. It weakens your immune response and can cause flare-ups or make existing dandruff harder to control. If stress is a constant in your life, our guide on how to reduce stress covers practical techniques that help. Heat styling irritates the scalp and increases oil production, which feeds the Malassezia fungus. If you use a blow dryer, flat iron, or curling iron regularly, try turning down the heat or giving your scalp a break for a few weeks to see if it makes a difference. Product buildup from gels, mousses, dry shampoo, and hair sprays creates a layer on your scalp that traps oil and dead skin. If you use styling products daily, make sure you are washing them out completely each time. Diet plays a supporting role too. Diets low in zinc, B vitamins, and omega-3 fatty acids have been associated with more dandruff. Eating more fish, nuts, leafy greens, and whole grains supports overall skin health.

7

Try tea tree oil as a supplement

Tea tree oil has natural antifungal and anti-inflammatory properties that can help with dandruff when used alongside a medicated shampoo. A clinical trial of 126 participants published in the Journal of the American Academy of Dermatology found that a 5 percent tea tree oil shampoo used daily for four weeks produced a 41 percent improvement in dandruff severity compared to 11 percent in the placebo group. Look for shampoos that contain at least 5 percent tea tree oil, or add a few drops of pure tea tree oil to your regular shampoo. This is not a replacement for a medicated shampoo with proven active ingredients, but it works well as a complement on your non-treatment wash days. Some people are sensitive to tea tree oil and may experience irritation or contact dermatitis. Do a patch test first by applying a small amount of diluted oil behind your ear and waiting 24 hours before using it on your whole scalp.

Heads up: Never apply undiluted tea tree oil directly to your scalp. It is too concentrated and can cause burns or severe irritation. Always dilute it in a carrier oil or shampoo.

8

Know when to see a dermatologist

If over-the-counter shampoos have not made a dent after six to eight weeks of consistent, correct use, it is time to see a dermatologist. What you thought was dandruff might be seborrheic dermatitis, scalp psoriasis, or a fungal infection that needs prescription treatment. See a doctor sooner if your scalp has thick, crusty, or yellowish patches, if the flaking has spread to your eyebrows, nose creases, ears, or chest, if your scalp is very red and swollen, or if you are noticing hair thinning in the affected areas. Dermatologists have several tools that are not available over the counter. Prescription-strength ketoconazole shampoo, topical corticosteroid solutions for inflammation, and oral antifungal medications for widespread cases. A newer foam treatment called roflumilast is also approved for seborrheic dermatitis, and a dermatologist can tell you whether it fits your case.

Dandruff is annoying, but it is not something you have to live with. The right medicated shampoo, used properly and consistently, clears up most cases within a few weeks. If one product stops working, rotate to a different active ingredient. Keep your scalp clean, manage your stress, and do not let product buildup pile up. If nothing over the counter is making a dent after a couple of months, see a dermatologist. There are prescription-strength treatments that work on even the most stubborn cases. The important thing is not to ignore it and hope it resolves on its own, because dandruff almost never does.

Questions we get asked about this

Answers from experience, not a textbook.

No. Dandruff is not an infection that spreads from person to person. It is caused by your body's own reaction to Malassezia fungus, which naturally lives on everyone's scalp. Some people's skin reacts more strongly to the byproducts of this fungus, leading to flaking and irritation. You cannot catch dandruff from sharing a comb, hat, or pillow.

Dandruff itself does not cause hair loss. However, severe itching can lead to frequent scratching, which damages hair follicles and can cause temporary thinning. The underlying condition, like seborrheic dermatitis, can also weaken hair if left untreated for a long time. Treating the dandruff stops the scratching cycle and the hair almost always grows back.

Often, yes. Cold, dry air outside combined with heated indoor air strips moisture from the scalp, which can trigger or worsen flare-ups. If you notice a seasonal pattern, using a humidifier at home and staying consistent with medicated shampoo through the winter months helps keep it under control.

There is some evidence that diet plays a role. Diets low in zinc, B vitamins, and omega-3 fatty acids have been associated with more frequent or more severe dandruff. Foods high in sugar and refined carbohydrates may also promote yeast growth on the scalp. Eating more fish, nuts, leafy greens, and whole grains supports overall skin health, but diet changes alone will not cure an active dandruff problem. They work best alongside proper treatment.

Most medicated shampoos need two to four weeks of consistent use before you see significant improvement. Some stubborn cases can take six to eight weeks. If you have not seen any change after eight weeks of using a medicated shampoo correctly (leaving it on for at least five minutes, using it at the right frequency), switch to a different active ingredient or see a dermatologist. Do not keep using the same product and hoping for different results.

Like this?

We write one of these every week.

Subscribe for one useful thing a week. Read it over coffee, skip the rest.