Why Do I Have Dandruff? Causes and Treatments

Caspa, or dandruff, happens because a naturally occurring fungus on your scalp feeds on your skin’s oils and leaves behind irritating byproducts that speed up skin cell shedding. Nearly everyone has this fungus living on their scalp, but certain factors like oil production, climate, diet, and even your hair products determine whether it causes visible flakes. Understanding what’s driving your specific case helps you pick the right fix.

The Fungus Behind the Flakes

Your scalp is home to a yeast-like fungus called Malassezia. It’s present on virtually every human scalp and is usually harmless. The problem starts when it feeds on the natural oils (sebum) your scalp produces. The fungus releases enzymes called lipases that break down sebum triglycerides, absorbing the saturated fatty acids it needs for energy. What it leaves behind are unsaturated fatty acids, particularly oleic acid, which accumulate on the skin surface.

Oleic acid is an irritant for many people. When it builds up, your scalp responds with inflammation and starts pushing skin cells to the surface faster than normal. A healthy scalp sheds skin cells on a cycle of about 28 to 30 days, and the cells are so small they’re invisible. In dandruff-prone skin, that cycle compresses to just 10 to 15 days. The cells clump together before they’ve fully broken down, forming the white or yellowish flakes you see on your shoulders and in your hair.

Why Some People Get It and Others Don’t

Everyone has Malassezia on their scalp, so the fungus alone doesn’t explain why you have dandruff and your friend doesn’t. The difference comes down to how much oil your scalp produces, how your immune system reacts to oleic acid, and a handful of environmental and lifestyle factors that tip the balance.

People who produce more sebum give the fungus more food, which means more oleic acid irritation. Hormonal shifts during puberty, stress, or certain medical conditions can increase oil production. Men tend to produce more sebum than women, which is one reason dandruff is slightly more common in men. Your individual immune response also matters: some people’s skin simply tolerates oleic acid without reacting, while others mount an inflammatory response even at low concentrations.

Weather and Seasonal Patterns

If your dandruff gets worse at certain times of year, climate is likely playing a role. In winter, cold outdoor air combined with dry indoor heating strips moisture from your scalp. Your skin compensates by producing extra oil, creating ideal conditions for fungal growth. The result is a frustrating cycle: dryness triggers more oil, more oil feeds the fungus, and the fungus produces more irritation.

Hot, humid weather can be just as bad. Heat makes your scalp sweat more, leading to a buildup of oils and dead skin cells that encourages fungal overgrowth. Rainy or monsoon seasons with persistently high humidity are particularly notorious for worsening dandruff, since the excess moisture creates a breeding ground for fungi on your scalp.

Diet and Dandruff Severity

What you eat can influence how much oil your scalp produces. A case-control study published in Cureus found that people with seborrheic dermatitis (a more severe form of dandruff) consumed significantly more simple carbohydrates like white bread, rice, and pasta. The likely mechanism: easily absorbed carbohydrates cause a rapid spike in insulin and insulin-like growth factor (IGF-1), which stimulates androgen activity and increases sebum production. Patients with more severe cases had higher IGF-1 levels than those with mild symptoms.

Participants in the same study commonly reported that spicy food, sweets, fried food, and dairy products made their symptoms worse. On the other hand, leafy green vegetables and citrus fruits were associated with improvement. Leafy greens are rich in vitamin A, whose active form helps suppress sebum production. The study also found that people with dandruff had significantly lower levels of essential fatty acids and lower serum vitamin D compared to healthy controls, with lower vitamin D correlating to worse scalp symptoms.

Your Hair Products Could Be the Problem

Sometimes what looks like dandruff is actually your scalp reacting to an ingredient in your shampoo, conditioner, or styling product. Allergic contact dermatitis of the scalp causes flaking, itching, and redness that closely mimics dandruff. The most common culprits are hair dyes (particularly a chemical called PPD) and fragrance chemicals, which are present in the vast majority of shampoos and conditioners.

Other potential irritants include preservatives like methylisothiazolinone, coconut-derived surfactants (especially one called DMAPA), emulsifiers like cetyl alcohol and lanolin alcohol, propylene glycol, and formaldehyde-releasing preservatives. A review of over 3,000 patients with scalp allergic contact dermatitis found that coconut-derived surfactants alone accounted for 7% of cases. If your flaking started after switching products, or if it’s accompanied by redness and burning rather than just itching, a product sensitivity is worth investigating. Switching to a fragrance-free, dye-free shampoo for a few weeks can help you rule this out.

Dandruff vs. Something More Serious

Standard dandruff produces light, white-to-yellowish flakes scattered across the scalp and hair, without significant redness. Itching ranges from absent to mild. If that describes your situation, you’re dealing with ordinary dandruff.

Seborrheic dermatitis is essentially dandruff’s more aggressive cousin. It involves the same fungal mechanism but with visible inflammation: red, irritated skin covered in oily or crusted patches. It can also appear on the face, particularly around the eyebrows, nose, and ears.

Scalp psoriasis looks different. The scales are thicker, drier, and more silvery than dandruff flakes, and the patches often extend beyond the hairline onto the forehead or behind the ears. Psoriasis plaques feel raised and firm compared to the loose flakes of dandruff. If your flaking matches either of these descriptions, you’re dealing with something that benefits from targeted treatment beyond regular anti-dandruff shampoo.

How to Treat It Effectively

Over-the-counter medicated shampoos are the first-line treatment for dandruff, and the active ingredients work in different ways. Antifungal shampoos (containing ketoconazole at 2%) directly target Malassezia and are among the most effective options. Selenium sulfide (at 2.5%) also reduces the fungus and slows skin cell turnover. In clinical trials, both performed significantly better than placebo at reducing flakes and itching, though ketoconazole was better tolerated with fewer side effects. Zinc pyrithione, found in many widely available dandruff shampoos, works by disrupting the fungus’s ability to grow.

The most common mistake people make with medicated shampoos is rinsing too quickly. These products need contact time with your scalp to work. Lather the shampoo into your scalp and leave it on for at least three to five minutes before rinsing. For topical scalp treatments in general, research on percutaneous absorption shows that roughly 50% of an active ingredient is absorbed within the first hour of contact, so even a few extra minutes makes a meaningful difference compared to an immediate rinse.

You don’t need to use medicated shampoo every day. Two to three times per week is typically enough to keep symptoms controlled, and you can use your regular shampoo on other days. If one active ingredient doesn’t work after a few weeks of consistent use, try switching to a different one. Some people respond better to antifungal formulas while others do better with zinc-based options.

Lifestyle Changes That Help

Beyond shampoo, a few adjustments can reduce how much your scalp flares. Cutting back on refined carbohydrates like white bread, white rice, and sugary foods may help by reducing insulin-driven oil production. Adding more leafy greens, which provide vitamin A, supports your skin’s ability to regulate sebum. Making sure you’re getting enough vitamin D and essential fatty acids (from sources like fish, flaxseed, or walnuts) addresses nutritional gaps that are more common in people with dandruff.

Managing stress also matters, since stress hormones increase oil production and suppress immune function, both of which give Malassezia an advantage. In dry environments or during winter months, using a humidifier at home can help prevent the dryness-to-overproduction cycle that worsens flaking. And if you suspect a product allergy, simplify your hair care routine to fragrance-free basics and reintroduce products one at a time to identify the trigger.