There’s no single “best” shampoo for eczema because the right choice depends on what type of scalp eczema you have and what’s triggering it. But the most effective options share a few things in common: they contain an active ingredient that targets inflammation or fungal overgrowth, they skip common irritants like fragrance and harsh surfactants, and they maintain a pH close to your skin’s natural acidity. Here’s how to find the right one for your scalp.
Types of Scalp Eczema Need Different Ingredients
Scalp eczema generally falls into two categories, and each responds to different active ingredients. Seborrheic dermatitis, the most common form, involves an overgrowth of yeast on the scalp and causes greasy, yellowish flakes. Atopic dermatitis on the scalp is driven more by immune-system overreaction and a damaged skin barrier, producing dry, intensely itchy patches.
For seborrheic dermatitis, antifungal shampoos are the first-line option. Ketoconazole at 2% concentration and zinc pyrithione at 1% are both well-studied for severe dandruff and seborrheic dermatitis. Coal tar shampoos (typically around 4% concentration) work through a different mechanism, slowing the rapid turnover of skin cells and reducing inflammation. Selenium sulfide and salicylic acid shampoos are sometimes used as follow-up or maintenance treatments after an initial course of antifungal therapy.
For atopic dermatitis on the scalp, the goal shifts toward calming inflammation and restoring moisture. Shampoos with colloidal oatmeal are particularly useful here. Colloidal oatmeal has moisturizing, anti-inflammatory, and antioxidant properties. It forms a thin film on the skin that helps hold water in the outer layer of the scalp, which is exactly what a dry, cracked eczema barrier needs. Some people with atopic dermatitis also benefit from ceramide-containing products, which help rebuild the lipid structure of damaged skin.
Ingredients That Make Scalp Eczema Worse
Choosing the right active ingredient matters less if the shampoo is loaded with irritants. Fragrance is the single biggest culprit in shampoo-related allergic reactions on the scalp. Beyond fragrance, preservatives like methylisothiazolinone (MI) and methylchloroisothiazolinone (MCI) are well-documented triggers for allergic contact dermatitis.
Surfactants deserve special attention. Sodium lauryl sulfate (SLS) is notoriously harsh and strips the scalp’s natural oils, but even “gentler” alternatives can cause problems. Cocamidopropyl betaine (CAPB), a coconut-derived surfactant found in many shampoos marketed as natural or gentle, accounted for 7% of scalp allergic contact dermatitis cases in one review of over 3,000 patients. A related compound called dimethylaminopropylamine (DMAPA), also derived from coconut oil, is actually the most common coconut derivative to trigger allergic reactions.
Other ingredients to scan for on labels include propylene glycol, benzalkonium chloride, sodium benzoate, cetyl alcohol, lanolin alcohol, and formaldehyde-releasing preservatives like diazolidinyl urea. If you’ve been using a “sensitive skin” shampoo and your scalp is still flaring, one of these could be the reason.
Why pH Matters for an Eczema Scalp
Healthy scalp skin sits at a slightly acidic pH, roughly between 4.5 and 5.5. This acid mantle acts as a defense layer against bacteria and irritants. Many commercial shampoos are alkaline, which disrupts that protective barrier and can worsen eczema flares. Look for shampoos labeled as pH-balanced or neutral-to-acidic. Some brands list the pH on the packaging; if they don’t, a product marketed specifically for sensitive or eczema-prone skin is more likely to fall in the right range than a standard drugstore shampoo.
How to Use Medicated Shampoos Correctly
Medicated shampoos aren’t like regular shampoos. You can’t just lather and rinse immediately. Most need to sit on your scalp for about five minutes before rinsing to give the active ingredient time to work. This is true for ketoconazole, coal tar, and zinc pyrithione formulations alike.
During a flare, you’ll typically use a medicated shampoo more frequently, sometimes every other day. Once the flare settles, you can scale back to once or twice a week for maintenance. The key is to complete whatever course you started, even if your scalp feels better after a few uses. Stopping too early often leads to a rebound flare within weeks. On the days you’re not using your medicated shampoo, a gentle, fragrance-free cleanser works as your everyday option.
What to Do About Conditioner and Styling Products
Conditioners can irritate an eczema-prone scalp, so the National Eczema Society recommends avoiding them when possible. If your hair type makes skipping conditioner impractical, apply it only to the ends of your hair and keep it off the scalp entirely.
For scalp moisture between washes, emollient lotions, gels, or spray-on oils designed for sensitive skin are better options than traditional leave-in hair treatments. These provide hydration without the fragrance, silicones, and preservatives that tend to come in styling products. If your scalp feels tight or dry after washing, applying a light emollient while the scalp is still slightly damp can help lock in moisture.
Choosing Between Over-the-Counter and Prescription
Most people with mild to moderate scalp eczema can manage it with over-the-counter medicated shampoos. Zinc pyrithione and lower-concentration coal tar products are widely available without a prescription. Ketoconazole is available at 1% over the counter in many countries, with the stronger 2% version requiring a prescription.
If you’ve tried two or three different medicated shampoos over several weeks without improvement, the issue may be more than a shampoo can address. Moderate to severe scalp eczema sometimes requires prescription-strength topical treatments applied directly to the scalp, such as steroid solutions or non-steroidal anti-inflammatory options. Persistent scalp eczema that doesn’t respond to antifungals could also turn out to be psoriasis or contact dermatitis from a product ingredient, both of which need different treatment approaches.
Patch testing, where small amounts of common allergens are applied to your skin to identify specific triggers, can be especially helpful if your scalp reacts to multiple products. Knowing your exact triggers makes choosing the right shampoo far more straightforward than trial and error.

