What Causes Dandruff in Hair: Fungus, Oils & More

Dandruff starts with a combination of oil, a naturally occurring fungus on your scalp, and your skin’s reaction to the byproducts of that fungus. About half of all adults deal with dandruff at some point, and while it looks like a simple dry-skin problem, the actual cause is more complex. Understanding what’s happening on your scalp makes it much easier to manage.

The Fungus Already Living on Your Scalp

Your scalp is home to a yeast-like fungus called Malassezia globosa. Everyone has it, whether they have dandruff or not. This fungus feeds on sebum, the oily substance your skin produces, and breaks it down into a compound called oleic acid. If your scalp is sensitive to oleic acid, your skin reacts by ramping up cell turnover, trying to shed the irritant as fast as possible.

Normally, skin cells on your scalp mature and shed over the course of about a month, invisibly. When oleic acid triggers that sensitivity response, the cycle can compress to just 2 to 7 days. Cells clump together before they fully separate, producing the visible white or yellowish flakes you recognize as dandruff. So the fungus itself isn’t the whole story. It’s the interaction between the fungus, your oil production, and your individual skin sensitivity that determines whether you get flakes.

How Hormones and Oil Production Play a Role

Sebum production is controlled by hormones, which is why dandruff often first appears during puberty when oil glands become more active. The more oil your scalp produces, the more food there is for Malassezia, and the more oleic acid gets generated. This is also why dandruff tends to peak during young adulthood and can fluctuate with hormonal shifts throughout life.

Anything that increases oil production on your scalp can make dandruff worse. Stress, for example, triggers hormonal changes that boost sebum output. So can certain medications and hormonal conditions. People with naturally oilier skin tend to have more persistent dandruff for this reason.

Your Scalp’s Bacterial Balance Matters

Beyond the well-known fungal component, research has shown that bacterial populations on the scalp shift noticeably in people with dandruff. On a healthy scalp, a bacterium called Cutibacterium (formerly Propionibacterium) dominates, making up about 56% of the bacterial population, while Staphylococcus species account for roughly 25%. On dandruff-affected scalps, Staphylococcus increases to about 34% while Cutibacterium drops. A study published in PLOS ONE found that one species in particular, Staphylococcus capitis, increases significantly in the most flake-heavy areas of the scalp.

At the same time, Staphylococcus epidermidis, a species generally considered beneficial for skin health, decreases as dandruff severity increases. This suggests that dandruff isn’t just about one organism. It involves a broader disruption in the microbial community living on your scalp, where protective species decline and potentially irritating ones take over.

Winter Weather and Indoor Heating

Many people notice their dandruff gets worse in winter, and there’s a straightforward reason. Cold air holds less moisture, and when you combine that with indoor heating, humidity drops significantly. Your scalp dries out, its barrier weakens, and it becomes more vulnerable to irritation from oleic acid and other triggers. People also tend to take hotter, longer showers in cold weather, which strips even more moisture from the skin.

The temperature swings between cold outdoor air and warm, dry indoor environments can also provoke flares of seborrheic dermatitis, a more inflammatory cousin of dandruff.

Hair Products That Trigger Flaking

Not all scalp flaking is true dandruff. Some of it comes from contact dermatitis, an allergic or irritant reaction to ingredients in your hair care products. Common culprits include fragrances, preservatives (especially formaldehyde-releasing chemicals like imidazolidinyl urea and DMDM hydantoin), and harsh surfactants like sodium laureth sulfate. Hair dyes are another frequent trigger, particularly those containing PPD (p-phenylenediamine) and its derivatives.

If your flaking started or worsened after switching to a new shampoo, conditioner, or styling product, an ingredient reaction is worth considering. The flaking from contact dermatitis can look identical to dandruff but won’t respond to antifungal dandruff shampoos, since the cause is entirely different.

Diet and Inflammation

The connection between diet and dandruff hasn’t been proven in clinical trials, but dermatologists have noted patterns in practice. Diets high in sugar, processed foods, and unhealthy fats can trigger insulin spikes, which stimulate hormones that increase oil production on the scalp. More oil means more fuel for Malassezia, and potentially more flaking.

Sugars and simple carbohydrates also promote systemic inflammation, which could make your scalp more reactive. Some dermatologists report that patients who shift toward lower-sugar, antioxidant-rich diets see improvements in their flaking, though this hasn’t been formally studied as a dandruff treatment.

Dandruff vs. Seborrheic Dermatitis

Dandruff and seborrheic dermatitis exist on a spectrum of the same underlying process, but they differ in severity. Standard dandruff is a non-inflammatory condition with mild itching and fine white or yellowish flakes confined to the scalp. Seborrheic dermatitis involves visible redness and inflammation, thicker and greasier yellowish scales, and more persistent, intense itching.

Seborrheic dermatitis can also spread beyond the scalp to other oil-rich areas: around the nose, eyebrows, ears, chest, and back. If your flaking is accompanied by noticeable redness, greasy patches, or appears on your face and body, you’re likely dealing with seborrheic dermatitis rather than simple dandruff, and it typically requires more targeted treatment.

Why Some People Get It and Others Don’t

Since Malassezia lives on virtually everyone’s scalp, the question isn’t really about exposure. It’s about individual susceptibility. Your genetics determine how sensitive your skin is to oleic acid, how much oil your glands produce, and how your immune system responds to microbial byproducts. Two people with identical scalp fungus levels can have completely different outcomes, one with heavy flaking and one with none.

This also explains why dandruff is a chronic, recurring condition for many people rather than something you cure once. The underlying factors (your skin’s sensitivity, your oil production, the microbes on your scalp) are persistent. Managing dandruff is typically about controlling those factors over time rather than eliminating a single cause.