Dandruff: What It Is, Causes, and Treatment

Dandruff is a chronic scalp condition in which skin cells shed in visible white or yellowish flakes, usually accompanied by itching. It affects roughly half of adults at some point and is driven primarily by a group of fungi called Malassezia that live on everyone’s scalp but provoke an inflammatory reaction in susceptible people. The condition sits on a spectrum with seborrheic dermatitis, and while it cannot be permanently cured, the right shampoo ingredients and maintenance habits keep most cases well controlled.

What Actually Causes the Flaking

Your scalp constantly produces sebum, the oily substance secreted by sebaceous glands. Malassezia fungi feed on that sebum. Specifically, they produce lipase enzymes that break down the triglycerides in sebum into free fatty acids, and those fatty acids irritate the skin.1PubMed. Three etiologic facets of dandruff and seborrheic dermatitis: Malassezia fungi, sebaceous lipids, and individual sensitivity The irritation triggers an inflammatory response: the scalp speeds up its normal cell-turnover cycle, pushing immature skin cells to the surface in clumps rather than shedding them invisibly one at a time. Those clumps are the flakes you see on your shoulders.

Among the Malassezia species, two stand out. Whole-genome research has shown that Malassezia globosa and M. restricta dominate on dandruff-affected scalps, with M. globosa considered the primary instigator because of its particularly high lipase activity.2PubMed. Malassezia globosa and restricta: breakthrough understanding of the etiology and treatment of dandruff and seborrheic dermatitis through whole-genome analysis A separate study confirmed that the amount of Malassezia on the scalp correlates with how bad the dandruff is: higher fungal density means more severe flaking.3PubMed Central. Association of Malassezia species with dandruff This is why antifungal shampoos work so well: they reduce the fungal population, which means fewer irritating fatty acids, which means less inflammation and flaking.

An important nuance is that the fungus alone is not the whole story. Malassezia lives on virtually everyone’s scalp, yet not everyone gets dandruff. The condition requires three ingredients working together: the fungi, enough sebum for them to feed on, and an individual sensitivity to the fatty acid byproducts they produce.1PubMed. Three etiologic facets of dandruff and seborrheic dermatitis: Malassezia fungi, sebaceous lipids, and individual sensitivity That individual sensitivity explains why two people with similar scalp oil levels can have very different dandruff experiences.

How the Skin Barrier Gets Involved

Once the inflammatory cycle gets going, it damages the outermost layer of the scalp’s skin. This barrier normally keeps moisture in and irritants out, but chronic irritation from Malassezia byproducts weakens it. The damaged barrier loses hydration, which in turn triggers abnormal skin-cell growth and maturation, making the flaking even worse.4PubMed Central. Stratum corneum dysfunction in dandruff This feedback loop is one reason dandruff persists if left untreated: inflammation damages the barrier, barrier damage worsens inflammation, and the cycle sustains itself.

It also helps explain why dandruff-prone scalps often feel both oily and dry at the same time. The sebaceous glands keep producing oil (feeding the fungi), but the compromised barrier cannot retain moisture in the skin itself. Treatments that address only the oiliness or only the dryness miss the full picture, which is why effective dandruff shampoos target the fungal cause rather than just the surface symptoms.

Where Dandruff Ends and Seborrheic Dermatitis Begins

Dermatologists generally consider dandruff and seborrheic dermatitis to be part of a single spectrum rather than two entirely separate conditions.5PubMed Central. Seborrheic Dermatitis and Dandruff: A Comprehensive Review Dandruff is the milder end: flaking confined to the scalp, with minimal redness. Seborrheic dermatitis is the more severe end, where the flaking is accompanied by noticeable redness and can spread to the eyebrows, sides of the nose, behind the ears, and the upper chest. Both share the same underlying Malassezia-driven mechanism. The distinction matters mainly for treatment intensity: mild dandruff responds to over-the-counter medicated shampoos, while seborrheic dermatitis may need prescription-strength antifungals or topical anti-inflammatory agents.

People sometimes worry that dandruff will inevitably progress to seborrheic dermatitis. For most people it does not. Mild flaking that you keep in check with the right shampoo tends to stay mild. But if flaking starts spreading off the scalp or you notice persistent red, greasy patches, that shift along the spectrum is worth a visit to a dermatologist.

What Makes Some People More Susceptible

Beyond the fungi-sebum-sensitivity triad, researchers have looked at what makes certain people’s immune systems overreact to Malassezia. No single “dandruff gene” has been found, but recent work has identified specific immune-system gene variants that appear to raise the risk. Certain HLA alleles and mutations in the LCE3 gene cluster, which is involved in skin-barrier proteins, have shown up more often in people with seborrheic dermatitis. Some of the genetic mutations linked to the condition seem to impair the immune system’s ability to keep Malassezia in check, partly through problems with the complement system.6PubMed. An update on the microbiology, immunology and genetics of seborrheic dermatitis

Hormones also play a role. Sebaceous glands are sensitive to androgens, which is why dandruff tends to appear during puberty, when sebum production ramps up. It is most common from the teenage years through middle age and then often improves as oil production naturally declines. Conditions that alter hormone levels or suppress the immune system, including HIV, Parkinson’s disease, and chronic stress, are well-known triggers for more severe flaking.

The scalp’s broader microbial community matters too. Dandruff-affected scalps show a different balance of bacteria and fungi compared with healthy scalps, a state researchers call dysbiosis.7PubMed Central. Comparison of Healthy and Dandruff Scalp Microbiome Reveals the Role of Commensals in Scalp Health It is not just that Malassezia increases; certain beneficial bacteria decrease. Whether the dysbiosis causes dandruff or results from it is still debated, but it suggests that future treatments might target the whole microbial ecosystem, not just the fungi.

How Medicated Shampoos Compare

Most dandruff responds to shampoos containing one of a handful of active ingredients. Each works a bit differently, and understanding the differences helps you pick the right one or switch if one stops working.

  • Ketoconazole (2%): The most studied antifungal for dandruff. In a randomized trial comparing it head-to-head with zinc pyrithione, ketoconazole 2% shampoo achieved about a 73% improvement in dandruff severity after four weeks, compared with 67% for zinc pyrithione 1%, and had a lower rate of relapse afterward.8Skin Pharmacology and Applied Skin Physiology. A Multicenter Randomized Trial of Ketoconazole 2% and Zinc Pyrithione 1% Shampoos in Severe Dandruff and Seborrheic Dermatitis Lab studies also show ketoconazole is effective at much lower concentrations than the other agents.9PubMed. The in vitro antifungal activity of ketoconazole, zinc pyrithione, and selenium sulfide against Pityrosporum and their efficacy as a shampoo in the treatment of experimental pityrosporosis in guinea pigs
  • Zinc pyrithione (1%): Available over the counter in most countries and effective for mild to moderate dandruff. It works as both an antifungal and an antibacterial agent. While the head-to-head trial above showed it slightly behind ketoconazole, the difference is modest enough that zinc pyrithione remains a solid first-line choice for many people.
  • Selenium sulfide (1–2.5%): Combines antifungal action with a slowing effect on skin-cell turnover. An Italian expert panel noted that selenium disulfide may be especially useful for both acute symptom control and long-term maintenance because it also helps normalize the scalp microbiome.10PubMed. Experts’ view on the management of scalp seborrheic dermatitis in Italy It can temporarily discolor light or chemically treated hair, so rinse thoroughly.
  • Salicylic acid: Acts as a keratolytic, meaning it softens and loosens flakes so they wash away more easily. It does not kill fungi directly, so it works best in combination with an antifungal ingredient. One study found that a combination shampoo containing 2% salicylic acid, piroctone olamine, and elubiol outperformed a coal tar shampoo in reducing Malassezia counts and preventing flake recurrence.11PubMed. Comparative anti-dandruff efficacy between a tar and a non-tar shampoo
  • Coal tar: One of the oldest dandruff treatments, coal tar slows skin-cell turnover and has anti-inflammatory properties. It can stain light hair and fabrics and has a strong smell, which limits its appeal. The study just mentioned found it less effective at reducing Malassezia than the newer combination approach.

A practical strategy when one ingredient seems to lose effectiveness is to rotate between two products with different active ingredients. Because each targets the fungus or inflammation through a different mechanism, alternating can prevent the kind of adaptation some people notice after months of using the same shampoo.

Tea Tree Oil and Other Non-Prescription Approaches

For people who prefer plant-based or “natural” options, tea tree oil has the most clinical evidence behind it. A randomized, placebo-controlled trial found that a shampoo containing 5% tea tree oil improved dandruff severity scores by 41%, compared with 11% in the placebo group, with no adverse effects reported.12PubMed. Treatment of dandruff with 5% tea tree oil shampoo That improvement is meaningful, though it falls short of the roughly 70% improvements seen with ketoconazole and zinc pyrithione in their trials. Tea tree oil shampoo may be a reasonable option for mild dandruff or as a maintenance product between courses of a stronger medicated shampoo.

Other ingredients you will see on “natural” dandruff products include apple cider vinegar, coconut oil, and aloe vera. These have limited or no clinical trial evidence specifically for dandruff. Coconut oil can moisturize the scalp and may have some antifungal properties, but no rigorous trials have tested it as a standalone dandruff treatment. Apple cider vinegar’s acidity could theoretically discourage Malassezia growth, but again, controlled studies are lacking. If you find these soothing, there is no harm in using them alongside a proven antifungal ingredient, but relying on them alone for moderate or severe dandruff is unlikely to produce results comparable to the medicated options.

Keeping Dandruff From Coming Back

Dandruff is a managed condition, not a cured one. Because Malassezia is a permanent resident of the scalp, stopping treatment altogether usually leads to relapse within weeks or months. A large double-blind trial illustrates this clearly: among patients whose dandruff had cleared with ketoconazole 2% shampoo, 47% of those switched to a placebo shampoo relapsed within six months. By contrast, only 19% of those who continued using ketoconazole once a week relapsed, and 31% of those who alternated between ketoconazole and placebo every other week relapsed.13PubMed. Successful treatment and prophylaxis of scalp seborrhoeic dermatitis and dandruff with 2% ketoconazole shampoo: results of a multicentre, double-blind, placebo-controlled trial

The takeaway is that stepping down to a maintenance schedule is more effective than stopping cold. Once your scalp clears up after a few weeks of frequent use (most medicated shampoo labels suggest two to three times per week initially), switching to once a week or once every two weeks often keeps things under control. A separate controlled study confirmed that this maintenance approach preserves the improvement achieved during the initial treatment phase, while those who stopped treatment lost their gains.14PubMed Central. Clinical and biochemical assessment of maintenance treatment in chronic recurrent seborrheic dermatitis: randomized controlled study

How you use the shampoo matters as much as which one you pick. Most antifungal shampoos need to sit on the scalp for several minutes to work. If you lather and rinse immediately, the active ingredient barely contacts the skin. Leaving it on for three to five minutes before rinsing gives the antifungal time to penetrate the oily layer where Malassezia thrives.

Common Misconceptions

A few persistent myths are worth clearing up. The first is that dandruff means your scalp is dirty. Infrequent washing can allow sebum and dead cells to build up, which may make flaking more visible, but dandruff is a fungal and inflammatory process, not a hygiene problem. Washing your hair more often with a regular shampoo will not fix the underlying cause.

The second myth is that dandruff is contagious. Malassezia fungi live on almost everyone, so sharing a hat or comb with someone who has dandruff does not transmit the condition. What determines whether you get dandruff is your own immune response and sebum composition, not exposure to someone else’s scalp.

A third misconception is that a dry scalp and dandruff are the same thing. A genuinely dry scalp produces small, fine flakes and feels tight, while dandruff flakes tend to be larger, oilier, and accompanied by itching. The treatments are different too: moisturizing a truly dry scalp can help, but adding moisture to a dandruff-affected scalp without addressing the fungal cause will not fix the flaking.

Diet, Stress, and Other Lifestyle Factors

The relationship between diet and dandruff is an area of growing research, though no dietary change has been shown to replace antifungal treatment. A systematic review of the available evidence found that a Western-style diet was associated with higher risk of seborrheic dermatitis in women, while higher fruit intake was associated with lower risk across all patients. The review also found that people with seborrheic dermatitis tended to have lower serum levels of zinc and vitamins D and E.15PubMed Central. Nutrition, Obesity, and Seborrheic Dermatitis: Systematic Review A case-control study added a counterpoint, finding that vitamin D supplement use was actually more common among people with seborrheic dermatitis, though the direction of that association is unclear: people with the condition may be more likely to take supplements in an attempt to treat it.16PubMed Central. Association Between Diet and Seborrheic Dermatitis: A Case-Control Study

Stress is a well-recognized trigger, though the mechanism is indirect. Psychological stress alters immune function and can increase sebum production, both of which favor Malassezia overgrowth and an exaggerated inflammatory response. Many people with dandruff notice their worst flares during periods of sleep deprivation, work pressure, or illness. Cold, dry winter weather is another common trigger, possibly because indoor heating lowers humidity and stresses the skin barrier, while people tend to wash their hair less frequently in cooler months.

Alcohol consumption and smoking have also been linked to worse seborrheic dermatitis, though the evidence is observational. Both can affect immune regulation and skin inflammation. None of these lifestyle factors are the root cause of dandruff on their own, but managing them alongside your medicated shampoo routine may reduce how often flares occur and how severe they get.

When to See a Dermatologist

Most dandruff is manageable at home, but a few situations warrant professional help. If you have tried two or three different medicated shampoos over several weeks and see no improvement, a dermatologist can evaluate whether you are actually dealing with something else: psoriasis of the scalp, for instance, can look very similar to dandruff but requires different treatment. Contact dermatitis from a hair product, eczema, and even fungal infections other than Malassezia can mimic dandruff as well.

Prescription options for stubborn cases include higher-concentration ketoconazole shampoo, topical corticosteroid solutions for short-term inflammation control, and topical calcineurin inhibitors for people who cannot tolerate steroids. For very severe or widespread seborrheic dermatitis, oral antifungal courses are occasionally used, though they carry more side-effect risk and are generally reserved for cases that have not responded to topical treatment. Dermatologists can also help you establish a maintenance schedule tailored to your flare pattern, which is especially useful if your dandruff is seasonal or tied to identifiable triggers like exam periods or travel.