Dandruff: what causes the flakes and how to treat them
What causes dandruff, how it differs from a dry scalp, which shampoo ingredients work, how long to leave them on, and when flakes need a doctor instead.

Key takeaways
- Dandruff is a mild form of seborrheic dermatitis, linked to a yeast called Malassezia that lives on most adult scalps and feeds on scalp oil.
- Medicated shampoos containing ketoconazole, zinc pyrithione, selenium sulfide, salicylic acid, or coal tar are the main home treatments, and switching between them can help if one stops working.
- These shampoos work best when massaged into the scalp and left on for a few minutes before rinsing, and they need several weeks of regular use.
- Flaking that does not improve after about four weeks, or that comes with redness, swelling, sore patches, or hair loss, should be checked by a doctor.
Dandruff is one of the most common scalp complaints there is. It is not harmful and it is not contagious, but white flakes on a dark top and a scalp that will not stop itching are hard to ignore. The good news is that the main treatments are inexpensive, sold without a prescription, and work for most people once they are used the right way. This guide explains what causes dandruff, how to tell it apart from a dry scalp, which shampoo ingredients to look for, and when flaking is a sign of something else.
What dandruff actually is
Dandruff is a mild form of seborrheic dermatitis, a common skin condition that affects oily areas of the body, especially the scalp. The word "seborrheic" refers to sebum, the natural oil your skin makes.
Several things seem to work together:
- A yeast called Malassezia. It lives on the scalps of most adults and feeds on scalp oil. As it breaks that oil down, it releases substances that can irritate the skin in people who are sensitive to them.
- Oil. Areas with more oil glands, such as the scalp, eyebrows, sides of the nose, and behind the ears, are where seborrheic dermatitis usually appears.
- Your skin's response. Not everyone reacts to the yeast in the same way. In people who do, the scalp sheds skin cells faster, and those cells clump into visible flakes.
Dandruff often starts in young adulthood and is more common in men. Stress and cold, dry weather tend to make it worse. It is not caused by poor hygiene, although flakes may be more obvious if you go a long time between washes.
When the scalp is also red, greasy, and itchy, or the flaking spreads to the eyebrows, the folds beside the nose, or the chest, doctors usually call it seborrheic dermatitis rather than dandruff. The treatment approach is similar, but a doctor may need to add something stronger.
Dry scalp or dandruff?

A dry scalp can also flake, and the fixes are different, so it helps to know which you are dealing with.
| Dry scalp | Dandruff | |
|---|---|---|
| Flakes | Small, fine, and dry | Often larger, and can look oily or slightly yellow |
| Scalp feel | Tight or dry, not greasy | Often oily, sometimes itchy |
| Other signs | Dry skin elsewhere on the body | Flaking on eyebrows, beside the nose, or behind the ears |
| Usual trigger | Cold weather, hot showers, harsh cleansers | Yeast and oil, worse with stress and cold weather |
If you think your scalp is just dry, try gentler, fragrance-free products, lukewarm rather than hot water, and conditioner or a light scalp moisturizer before reaching for medicated shampoo. If that does not help within a few weeks, treat it as dandruff.
Medicated shampoo ingredients that work

Dandruff shampoos are sold in pharmacies and supermarkets. The active ingredient matters more than the brand, so check the label. The active ingredient is printed on the front or in the drug facts panel, so you do not have to decode the whole list.
Ketoconazole
An antifungal that reduces Malassezia on the scalp. It is one of the most widely recommended options, and 1% ketoconazole shampoo is sold over the counter in many countries.
Zinc pyrithione
Also targets the yeast and is found in many everyday anti-dandruff shampoos. The AAD also suggests cleansers containing it for seborrheic dermatitis on the face and body.
Selenium sulfide
Another option that works against the yeast. Some strains of Malassezia do not respond well to ketoconazole, so DermNet suggests trying selenium sulfide or zinc pyrithione when an antifungal like ketoconazole has not helped.
Salicylic acid
Salicylic acid loosens and lifts scale so it washes away more easily. It does not target the yeast, so it is often most useful for thick, stuck-on flakes or alongside an antifungal shampoo.
Coal tar
One of the longest-used scalp treatments. It can discolor light, bleached, or tinted hair, and it can make the scalp more sensitive to the sun, so wear a hat or use sunscreen on any exposed areas of scalp.
Sulfur is another ingredient you may see in dandruff shampoos.
Which shampoo to try first
- Oily, itchy flakes. Start with ketoconazole or zinc pyrithione.
- Thick scale that sits on the scalp. Use salicylic acid to loosen it, and keep an antifungal shampoo in the rotation.
- One product stops working. Switch the active ingredient. A new brand of the same active is not a new treatment.
- Fine, dry flakes, a tight scalp, and dry skin elsewhere. Treat dryness first: gentler products, lukewarm water, and conditioner. Move to a medicated shampoo if that does not help within a few weeks.
How to use dandruff shampoo properly

Most people who say dandruff shampoo does not work are rinsing it off too quickly or giving up too soon.
- Focus on the scalp. Massage the shampoo into the skin of your scalp rather than the lengths of your hair.
- Leave it on. Many medicated shampoos need to sit on the scalp for around five to ten minutes before rinsing. Check the bottle, as directions vary between products.
- Rinse thoroughly. Leftover product can irritate the scalp.
- Condition the lengths. Medicated shampoos can be drying. Use your usual conditioner on the mid-lengths and ends afterward.
- Give it time. The NHS suggests using it for up to four weeks to see whether it helps.
- Rotate if needed. If one shampoo stops working or never helps, switch to one with a different active ingredient. Some people alternate two shampoos with different actives, for example an antifungal one week and a salicylic acid one the next.

Once the flakes are under control, many people can drop to a lower maintenance frequency rather than stopping completely, which helps keep it from coming back. Dandruff often returns if treatment stops entirely, so a maintenance wash once or twice a week is a reasonable long-term plan.
How often to wash
How often you wash depends on your hair type and scalp, not on a fixed rule.
- Fine or straight hair, or an oily scalp. You may need to shampoo daily and use the medicated shampoo about twice a week.
- Coarse, curly, or coily hair. Wash when needed and use the medicated shampoo about once a week, if your hair tolerates it. Apply it to the scalp only, as dandruff actives can dry out textured hair, then follow with your usual shampoo or conditioner if needed.
Our product guides explain what to look for in a shampoo beyond the active ingredient.
When flaking might be something else
Several other conditions can look like dandruff at first glance:
- Scalp psoriasis. Red, flaky, crusty patches covered with silvery scales, which can feel sore. They are usually thicker and more defined than dandruff flakes.
- Ringworm of the scalp (tinea capitis). A fungal infection that causes a red or silvery scaly rash, sometimes with broken hairs or patchy hair loss. It needs treatment from a doctor.
- Eczema. Very itchy, dry, red skin, often with eczema elsewhere on the body.
- Contact dermatitis. A reaction to a product such as hair dye, gel, or spray, with red, irritated skin that may blister or crack.
Rather than guessing between these, it is better to have a doctor look at your scalp if standard dandruff treatment is not helping. Our guide to hair fall covers scalp conditions that can lead to hair loss.
When to see a doctor or dermatologist
A doctor or dermatologist can confirm what is causing the flakes and may prescribe a stronger antifungal shampoo, a medicated scalp lotion to calm inflammation, or treatment for another condition such as psoriasis.
The short version
Dandruff is common, harmless, and usually manageable at home. Choose a shampoo with a proven active ingredient, leave it on your scalp for a few minutes, and use it regularly for about a month. Switch actives if it stops working. If flaking persists, spreads, or comes with redness, soreness, or hair loss, see a doctor.
Frequently asked questions
Is dandruff caused by not washing my hair enough?
No. Dandruff is not a hygiene problem, though flakes can be more noticeable if oil and dead skin build up between washes. The yeast and oil involved are present on almost everyone's scalp, and some people's skin simply reacts to them more.
Is dandruff contagious?
No, you cannot catch dandruff from someone else or from sharing a pillow. A flaky, itchy scalp with patchy hair loss can occasionally be a fungal infection called ringworm, which can spread, so that combination is worth showing to a doctor.
Can I use dandruff shampoo on colored or curly hair?
Yes, with some care. Apply it to the scalp only, rinse it through, and follow with your usual conditioner on the lengths. Coal tar shampoos can discolor light, bleached, or tinted hair, so another active ingredient is usually a better choice for those hair colors.
Will dandruff go away for good?
Dandruff tends to come and go, and it often returns when treatment stops or during stress and cold weather. Most people can keep it under control by using a medicated shampoo regularly, then dropping to a lower maintenance frequency once the flakes settle.
Sources
- How to treat dandruff — American Academy of Dermatology
- Seborrheic dermatitis: Self-care — American Academy of Dermatology
- Dandruff — NHS
- Dandruff: Symptoms and causes — Mayo Clinic
- Seborrhoeic dermatitis — DermNet
This guide is general information, not medical advice. It cannot diagnose a condition or replace a doctor or dermatologist who can examine you. Read our medical disclaimer.

