Condition guide
Dandruff and seborrheic dermatitis
Seborrheic dermatitis is a common inflammatory skin condition that causes flaky, white to yellowish scales on oily areas like the scalp, eyebrows, sides of the nose, behind the ears, or the middle of the chest. On the scalp it's often called dandruff, and in babies it's called cradle cap. The exact cause isn't known; oil glands and a yeast called Malassezia that lives on the skin may play a part. It's lifelong and comes and goes, but treatment can control it. Start with an over-the-counter dandruff shampoo. For severe cases, a provider may prescribe a shampoo, cream, ointment, or lotion with a stronger version of the same ingredients, or medicines like ciclopirox, sodium sulfacetamide, a corticosteroid, tacrolimus, or pimecrolimus.
Medicines covered on KnowYourPills
This isn't a complete list of treatments — your doctor may recommend others, and the right choice depends on you.
Over-the-counter dandruff shampoos
Ketoconazole shampoo and cream
SkinAlso known as Nizoral AD, Nizoral, Extina, Ketozole, Xolegel
An antifungal shampoo that controls flaking, scaling, and itching. It should help within 2 to 4 weeks.
Selenium sulfide
SkinAlso known as Selsun Blue, Selsun, Head and Shoulders Intensive Treatment
A lotion shampoo that relieves itching and flaking. Rinse it off; don't leave it on overnight.
Besides medicine
- Choosing a shampoo whose label says it treats dandruff or seborrheic dermatitis; other active ingredients include salicylic acid, coal tar, zinc, and resorcinol
- Using the shampoo exactly as the label says
- Sunlight: some people get better in summer, especially after outdoor activities
- Controlling things that make it worse, like stress, fatigue, and heavy alcohol use or lotions that contain alcohol, and taking careful care of your skin
- Phototherapy, where your skin is carefully exposed to ultraviolet light, if your provider recommends it
When to get help
- Symptoms that don't get better with self-care or over-the-counter treatments — contact your provider
- Patches that drain fluid or pus, form crusts, or become very red or painful — call your provider
- Scalp or skin irritation, a rash, or hives from a dandruff shampoo — call your doctor right away
Sources
- MedlinePlus (U.S. National Library of Medicine): Dandruff, Cradle Cap, and Other Scalp Conditions
- MedlinePlus: Seborrheic dermatitis
- FDA drug safety information
Last updated November 30, 2026. Not yet reviewed by a pharmacist or physician — how our guides are made.