Dandruff is a common scalp condition that causes white or yellow flakes and sometimes itching. You can stop dandruff by using a medicated shampoo with an antifungal ingredient like pyrithione zinc, selenium sulfide, or ketoconazole. Wash your hair regularly—typically every day or every other day—and leave the shampoo on your scalp for a few minutes before rinsing. If one shampoo stops working, switch to a different active ingredient. Dandruff is usually controlled, not cured, so consistent treatment is key.
What Actually Causes Dandruff?
Dandruff happens when a yeast called Malassezia grows too much on your scalp. This yeast lives on everyone’s skin and feeds on the oils your scalp produces. For reasons that are not completely understood, some people’s immune systems react to the yeast and its byproducts. That reaction causes skin cells to shed faster than normal, producing visible flakes.
Other factors can make dandruff worse: oily skin, not washing enough, stress, and certain medical conditions like psoriasis or eczema. It is not caused by poor hygiene. It is also not contagious. You cannot catch dandruff from someone else.
How Can You Stop Dandruff?
The most proven way to stop dandruff is to use a medicated shampoo that targets the yeast overgrowth or speeds up the shedding of dead skin cells. Look for one of these active ingredients on the label:
- Pyrithione zinc – kills yeast and bacteria
- Selenium sulfide – slows yeast growth and reduces skin cell turnover
- Ketoconazole – an antifungal that stops the yeast from growing
- Salicylic acid – helps remove scale and flakes
- Coal tar – slows skin cell shedding (but some people avoid it because of odor and potential safety concerns; evidence on long-term risk is mixed)
Use the shampoo at least twice a week. For moderate to severe dandruff, you may need to use it every time you wash. Wet your hair first, apply the shampoo, and leave it on for three to five minutes before rinsing. This gives the ingredient time to work.
If one ingredient stops working after a few weeks, switch to a different one. Some people rotate between two or three shampoos to prevent the yeast from adapting. No single product works for everyone, so some trial and error is normal.
Is Dandruff the Same as Dry Scalp?
No. Dandruff is caused by excess oil and yeast. Dry scalp is caused by a lack of moisture, often from cold air, harsh shampoos, or skin conditions like eczema. The flakes look different: dandruff flakes are usually larger, greasy, and yellowish. Dry scalp flakes are smaller, white, and dry.
Treatment is different too. For dry scalp, you need a moisturizing shampoo and less frequent washing. For dandruff, you need an antifungal shampoo and regular washing. If you treat the wrong condition, you can make symptoms worse.
What Shampoo Ingredients Actually Work?
All five ingredients listed above have clinical evidence supporting their use for dandruff. Pyrithione zinc is the most common in over-the-counter shampoos and works well for mild cases. Ketoconazole is a stronger antifungal and is often more effective when dandruff is stubborn. Selenium sulfide also works well but may discolor light-colored hair if not rinsed thoroughly.
Salicylic acid is different—it does not kill yeast but helps remove the flakes so the scalp looks cleaner. Coal tar is effective but has a strong smell and may increase sun sensitivity. Some studies have raised concerns about long-term coal tar use, but the risk from occasional use in shampoos is considered low by most dermatologists. If you are unsure, stick with the other ingredients.
No large, high-quality trial has shown that any one of these ingredients is clearly better than the others for everyone. The best choice depends on your individual response.
How Often Should You Wash Your Hair for Dandruff?
For most people with dandruff, washing every day or every other day is recommended. Regular washing removes excess oil and the dead skin cells that feed the yeast. If you have very dry or curly hair, washing less often may be fine, but you still need to use a medicated shampoo at least twice a week.
Skipping washes allows oil and yeast to build up, which usually makes dandruff worse. However, harsh scrubbing can irritate your scalp. Gently massage the shampoo into your scalp with your fingertips, not your nails.
Can Diet or Stress Affect Dandruff?
The evidence is limited but suggestive. Some studies have found that people with dandruff tend to eat more sugary and fatty foods, but it is unclear whether that causes dandruff or is just a correlation. Stress is known to worsen many skin conditions, including seborrheic dermatitis (the medical name for severe dandruff). Stress hormones can increase oil production and inflammation.
No clinical guidelines currently recommend specific dietary changes to treat dandruff. However, eating a balanced diet and managing stress are good for overall skin health. If you notice a clear pattern—like dandruff flaring after eating a lot of sugar—you can try avoiding that trigger. But the evidence is not strong enough to promise it will stop dandruff.
When Should You See a Doctor for Dandruff?
You should see a doctor if over-the-counter shampoos do not improve your symptoms after four to six weeks of consistent use. Also see a doctor if your scalp is red, swollen, painful, or if the flakes are thick and crusty. These signs may indicate seborrheic dermatitis, psoriasis, or a fungal infection that requires a prescription-strength treatment.
A dermatologist can prescribe stronger shampoos, topical steroids, or antifungal creams. They can also rule out other conditions that look like dandruff but require different treatment.
Frequently Asked Questions
Can dandruff be cured forever?
No, dandruff cannot be permanently cured. It is a chronic condition that can be controlled with regular use of medicated shampoos and good scalp hygiene.
Is dandruff contagious?
No, dandruff is not contagious. You cannot catch it from someone else or pass it to another person.
Does washing hair less help dandruff?
No, washing less usually makes dandruff worse because oil and dead skin cells build up and feed the yeast. Most people with dandruff need to wash more often, not less.
Can coconut oil stop dandruff?
No clinical evidence confirms that coconut oil stops dandruff. Olive oil and coconut oil can help loosen scale, but they do not target the yeast that causes dandruff and may make oily scalps worse.

