How to Treat Eczema on the Scalp (and Tell It Apart From Dandruff)
An itchy, flaking scalp could be eczema, seborrheic dermatitis, or both — here's how to tell and treat it.

Key takeaways
- Scalp eczema can look similar to dandruff or seborrheic dermatitis but has different underlying causes.
- Medicated shampoos containing zinc pyrithione, ketoconazole or coal tar are first-line treatments.
- Black seed oil has mild anti-inflammatory and antifungal activity in lab studies, but isn't a replacement for medicated shampoo.
- Persistent, thick, or painful scalp patches should be checked by a dermatologist.
An itchy, flaking scalp can have more than one cause, and figuring out which one you have changes the best treatment.
Scalp eczema vs. seborrheic dermatitis vs. dandruff
| Condition | Appearance | Typical cause |
|---|---|---|
| Atopic (scalp) eczema | Dry, red, intensely itchy patches | Skin barrier dysfunction, allergies |
| Seborrheic dermatitis | Greasy yellow-white scales, redness | Overgrowth of Malassezia yeast, oil glands |
| Dandruff | Dry white flakes, mild itch, little redness | Mild form of seborrheic dermatitis |
How to treat eczema on the scalp
- Use a gentle, sulfate-free shampoo to avoid stripping natural oils.
- Try a medicated shampoo (zinc pyrithione, ketoconazole, or coal tar) 2–3 times a week.
- Apply a fragrance-free moisturizer or prescribed topical steroid solution to flare-ups.
- Avoid scratching, which can break skin and lead to infection.
- Manage stress, which is a known flare trigger for many people.
Can black seed oil help scalp eczema?
Thymoquinone, the main active compound in black seed oil, has shown anti-inflammatory and antimicrobial activity in lab research.[1] Some people massage diluted black seed oil into the scalp before shampooing to soften scale and soothe itching, though there's no large clinical trial specifically testing it for scalp eczema. See our guide on using black seed oil for hair for a safe dilution routine.
When to see a dermatologist
See a doctor if your scalp is intensely painful, oozing, crusted thickly, or not improving after a few weeks of consistent over-the-counter care — you may need a prescription-strength treatment.
When to see a doctor
Black seed oil and oregano oil are not a substitute for diagnosis or prescribed treatment. See a healthcare professional if symptoms are severe, getting worse or not improving.
Frequently asked questions
What is the fastest way to treat scalp eczema?
Consistent use of a medicated shampoo plus a fragrance-free moisturizer on the scalp usually brings the fastest relief; severe cases may need a prescription topical.
Can diet affect scalp eczema?
For some people, certain foods can worsen eczema generally, but triggers vary by person — a dermatologist or allergist can help identify yours.
Is scalp eczema the same as psoriasis?
No. See our [scalp psoriasis vs eczema comparison](/health-conditions/psoriasis-vs-eczema/) for how to tell them apart.
The bottom line
Scalp eczema usually responds to gentle cleansing, medicated shampoo, and consistent moisturizing. Black seed oil may offer soothing, supportive benefits, but it works best alongside — not instead of — proven scalp treatments.
Read this next

Skin
Eczema: Symptoms, Causes and Natural Approaches
Eczema causes dry, itchy, inflamed skin. Learn the causes and what studies say about black seed oil.

Skin
Scalp Psoriasis Treatment: From Shampoos to Natural Options
Thick, scaly scalp plaques need a dedicated routine — here's what dermatologists recommend, plus the evidence on black cumin seed oil.

Skin
Psoriasis vs. Eczema: How to Tell the Difference
Red, itchy, scaly skin could be psoriasis or eczema — the differences matter for treatment.

Skin
Dry Scalp and Hair Loss: Is There a Connection?
A dry, irritated scalp isn't usually the direct cause of hair loss, but scalp health still matters for strong hair.

Skin
Scalp Pain and Hair Loss: What's the Connection?
A sore, tender scalp alongside shedding hair is a recognized — if poorly understood — symptom combination.

Black Seed Oil
What Does Black Seed Oil Taste Like?
Bold, bitter and peppery — here's what to expect from black seed oil's taste, and how to skip it.
Sources
- Yousefi M, Barikbin B, Kamalinejad M, et al. Comparison of therapeutic effect of topical Nigella with Betamethasone and Eucerin in hand eczema. J Eur Acad Dermatol Venereol. 2013;27(12):1498-1504.
- Darakhshan S, Bidmeshki Pour A, Hosseinzadeh Colagar A, Sisakhtnezhad S. Thymoquinone and its therapeutic potentials. Pharmacol Res. 2015;95-96:138-158.