Dandruff vs Contact Dermatitis

Dandruff is flaking and itching of the scalp caused by low-grade inflammation. It is the mildest form of seborrheic dermatitis. It is not caused by a dirty or a dry scalp, and it settles quickly with the right shampoo used the right way. Contact dermatitis is a rash caused by something that touched the skin. It comes in two forms - irritation from a substance that would bother anyone given enough exposure, and an allergic reaction to something only some people react to. Both clear once the cause is found and removed.

Reviewed by Dr. Schwarz, Board-Certified Dermatologist · Research updated 2026-10-23
A part line in straight light hair, seen from above, on pale skin. White-gray flakes sit along the part and the scalp beneath them looks pink.The back of one hand and the wrist on pale skin. A bright pink, slightly swollen patch with tiny blisters covers the back of the hand and stops at a straight line across the wrist.

Key differences

The same eight facts on every condition comparison.

Usual age
After puberty
Any age
Where
Scalp
Where something touched
Main sign
White or yellow flakes
Red, itchy or burning rash
Itch or pain
Itchy
Itchy or burning
Contagious
No
No
Long term
Comes and goes; controlled with shampoo
Clears once the cause stops
Scars
No
No
Who gets it
Very common in adults
Anyone; wet-work jobs

What is it?

Dandruff
Contact Dermatitis
What is it?

It is excessive scalp flaking.
Dandruff can come with itch.

It sits within seborrheic dermatitis.
It is often seen as a mild, scalp-only form.

Several factors contribute.
Malassezia, barrier changes, sebum and susceptibility all play a part.

Medicine must reach the scalp.
Treatment works on the scalp, not the hair lengths.

It is eczema from contact.
A substance touching the skin provokes the rash.

There are two types.
Irritant dermatitis damages the barrier directly; allergic dermatitis is a delayed immune reaction.

Patch testing finds allergies.
It differs from skin-prick testing.

The exposure is part of treatment.
Identifying what touched the skin guides care.

What it looks like

Dandruff

Dandruff: White flakes.

White flakes Loose flakes on the scalp.

Dandruff: Flakes on clothing.

Flakes on clothing Visible on dark shoulders.

Dandruff: Itchy scalp.

Itchy scalp Mild itch, no rash.

Contact Dermatitis

Contact Dermatitis: Dry, cracked hands; Irritant.

Irritant contact dermatitis Damage from soaps, solvents or water; most common.

Contact Dermatitis: Allergic.

Allergic contact dermatitis Immune reaction to nickel, fragrance, plants and more.

Skin tones
A part line in straight light hair, seen from above, on pale skin. White-gray flakes sit along the part and the scalp beneath them looks pink.
A part line in dark wavy hair, seen from above, on medium olive skin. Greasy yellow-white scale sits along the part and the scalp beside it looks dull pink-brown.
A part line in tightly coiled hair, seen from above, on mid-brown skin. Gray-white scale sits along the part, and the scalp beside it shows patches lighter than the surrounding skin rather than red.
A part line in tightly coiled hair, seen from above, on deep brown skin. Gray-white scale sits along the part, and several smooth, evenly lighter patches with soft edges sit on the scalp beside it.
The back of one hand and the wrist on pale skin. A bright pink, slightly swollen patch with tiny blisters covers the back of the hand and stops at a straight line across the wrist.
The back of one hand and the wrist on medium olive skin. A dusky pink-brown, slightly swollen and scaly patch covers the back of the hand and stops at a straight line across the wrist.
The back of one hand and the wrist on mid-brown skin. A violet-brown, swollen, slightly scaly patch covers the back of the hand and stops at a straight line across the wrist, with no red color in it.
The back of one hand and the wrist on deep brown skin. A dark violet-brown, swollen, scaly patch covers the back of the hand and stops at a straight line across the wrist, with no red color anywhere in it.
Diagram
Dandruff mechanism diagram. Loose flakes become visible: Dandruff usually has little visible inflammation. Surface yeast and oils interact: Malassezia is part of the scalp environment. The outer layer sheds unevenly: Skin sensitivity and turnover contribute.
Contact Dermatitis mechanism diagram. Irritants damage the barrier: Repeated exposure can directly injure outer skin. Inflammation causes a rash: Both routes can cause itching, scale, and swelling. Allergy activates immune memory: A sensitized immune system reacts to a contact allergen.
In the skin

Dandruff involves uneven shedding of the scalp's outer skin cells. The interaction between scalp oils, Malassezia yeast and individual skin sensitivity contributes to visible flakes, usually with little obvious inflammation.

Skin contact can cause inflammation through direct irritation or a delayed allergic reaction. These are different routes to a rash that may itch, swell, blister or scale.

Where it shows up

Scalp
Where the skin meets a trigger

When it usually starts

010203040506070+

Dandruff. Usually begins after puberty and may come and go through adult life.

Contact Dermatitis. Can begin at any age after irritation or sensitization to a contacting substance.

Causes and triggers

Causes

Dandruff is flaking caused by an overgrowth of Malassezia, a yeast that lives on everyone's scalp, and the scalp's reaction to it.

Contact dermatitis happens when something touching the skin either damages it directly or sets off an allergic reaction. The rash shows up where the contact happened.

Family tendency

People with eczema or a family history of allergies react more easily.

Risk factors
Oily scalp, Teen to middle age, Male sex
Eczema, Wet work, Healthcare, cleaning and hairdressing jobs, Frequent handwashing
Trigger
● Dandruff
● Contact Dermatitis
Cold, dry weather
Strong link
Not listed
Stress
Possible
Not listed
Washing hair less often
Possible
Not listed
Nickel
Not listed
Well established
Fragrance
Not listed
Well established
Poison ivy
Not listed
Well established
Hair dye
Not listed
Strong link
Harsh soaps and solvents
Not listed
Well established
Preservatives in skincare
Not listed
Strong link

Daily Care

Dandruff
Contact Dermatitis
Daily care

Habits that help

  • Wash more often during a flare
    Removing oil removes the yeast's food.
  • Soften thick scale before treating it
    An oil or salicylic acid for an hour lifts it.
  • Adjust moisturizing and indoor humidity during dry weather
    Dry air makes flaking obvious.
  • Allow the label’s contact time before rinsing medicated shampoo
    Follow the product-specific contact time. Longer exposure is not always better and may irritate.

Avoid

  • Avoid: Washing less often when it flares
    More oil means more yeast.
  • Avoid: Heavy oils, pomades and greases
    They feed the yeast.
  • Avoid: Scratching and picking off scale
    Damages the barrier, restarts the itch.
  • Avoid: Sweat, hats and helmets
    Trapped heat and moisture.
  • Avoid: Product build-up
    Dry shampoo and styling products mix with oil.
  • Avoid: Stress, illness and poor sleep
    Not a cause, but flares track them.
  • Avoid: Harsh scrubbing and very hot water
    Leaves the scalp sore, the yeast untouched.
  • Avoid: Stopping the shampoo as soon as it works
    Maintenance, not a course.

Habits that help

  • Find the cause and stop it
    Photograph it and list what touches it.
  • Learn the ingredient names
    One molecule hides in dozens of products.
  • Switch to fragrance-free products
    A meaningful label, unlike unscented.
  • A thick, plain moisturizer, applied often
    Barrier repair is half the treatment.
  • The right gloves, worn the right way
    Vinyl or nitrile, cotton liner, off when done.
  • Lukewarm water and a non-foaming wash
    Dry gently, moisturize straight after.
  • Barrier protection for nickel
    Clear polish short term, titanium or steel long term.
  • Cool compresses
    Gently apply a cool, damp cloth to soothe weeping or irritated skin.
  • Patch testing
    The only way to name an allergen.

Avoid

  • Avoid: Carrying on using the product
    Why most rashes last months.
  • Avoid: Frequent handwashing and hand sanitizer
    Water, detergent and alcohol strip broken skin.
  • Avoid: Occlusive gloves worn for hours
    Trapped sweat swells skin.
  • Avoid: Hot water and scrubbing
    Both strip barrier fats.
  • Avoid: Scratching
    Lets more trigger in and thickens the skin.
  • Avoid: Adding more products to soothe it
    Fragrance and botanicals cause a second reaction.
  • Avoid: Numbing and anti-itch creams
    Names ending in -caine often cause allergy.
  • Avoid: Wet wipes and moist toilet tissue
    The preservatives are known allergens.
  • Avoid: Sweat under metal
    Nickel releases faster in sweat - buckles and jewelry flare.
  • Avoid: Sunlight, for some substances
    Some ingredients only react after sunlight changes them.
  • Avoid: An allergen hiding in another product
    Nail polish on eyelids, hair dye on the neck.
  • Avoid: Stopping treatment when it looks better
    Allergic reactions take two to four weeks.
  • Avoid: Anti-itch creams ending in -caine
    Numbing ingredients such as benzocaine are another frequent cause of allergic contact dermatitis. The relief is brief, and a rash that gets worse the more cream you use is a classic story. If an anti-itch product seems to be making things worse, stop it and mention it to your doctor.

Treatment differences

Evidence labels come from each condition’s own treatment list.

Treatment
● Dandruff
● Contact Dermatitis
Over-the-counter
Four dandruff shampoo bottles: DHS Zinc, Head and Shoulders Classic Clean, CeraVe Anti-Dandruff and Head and Shoulders Bare

Pyrithione Zinc

Strong evidence

The workhorse dandruff shampoo: it reduces the yeast and calms the scalp, and it is gentle enough to keep using for years. Part the hair, work it into the skin rather than the lengths, and leave it on for five minutes. It is a good choice for color-treated, gray or relaxed hair because it does not discolor.

Two Selsun Blue bottles, two Head and Shoulders Clinical Strength bottles and a Vichy Dercos bottle and box

Selenium Sulfide

Strong evidence

Reduces the yeast and also slows how fast scalp cells shed, which makes it useful when the flaking is heavy. Rinse it thoroughly. The catch is color: it can discolor light, gray, relaxed or color-treated hair, so zinc pyrithione or ketoconazole is usually the better pick for those.

Five medicated scalp products on white, including Amazon Basics tar gel, T+Plus, MG217, RoyceDerm and Nizoral

Coal Tar

Moderate evidence

Works by slowing the shedding rather than by treating the yeast, so it suits thick, heavy flaking more than a mildly itchy scalp. It smells strongly and it stains light hair and fabric, which is why most people use it only during a flare. It is also useful when scalp psoriasis is in the picture too.

Paula's Choice 2% BHA exfoliant, La Roche-Posay Effaclar cleanser and a CeraVe psoriasis cream pump

Salicylic Acid

Limited evidence

This one lifts scale rather than treating the cause. It is the right choice when the scale is thick and stuck down and other shampoos cannot reach the skin underneath. Use it first to clear the way, then follow with an anti-yeast shampoo — on its own it will not stop the dandruff coming back.

Five dark glass tea tree essential oil bottles with glass droppers and one green box on white

Tea Tree Oil

Limited evidence

A 5 percent tea tree shampoo did beat a plain shampoo in one small trial, so it is not nothing. It is weaker than the standard actives and there is much less behind it. It is also a common cause of allergic contact dermatitis, so if the scalp becomes more itchy and irritated on it, that is a reason to stop rather than to persist.

A plain white ointment tube lying on its side, labeled Hydrocortisone with a blue swoosh.

Hydrocortisone 1%

Limited evidence

The mildest topical steroid, and enough for a small patch on the body once the contact has stopped. Use it twice a day for one to two weeks rather than dabbing it on now and then. It is often too weak for the hands or feet, and on the face or eyelids it should be short-term and worth asking about first.

Illustration: Generic oral tablet bottle and tablets.

Antihistamine tablets

Limited evidence

Contact dermatitis is not driven by histamine, so antihistamines do very little for the rash itself. A sedating one at night can help you sleep through the itching instead of scratching, which is worth something. The non-drowsy daytime ones sold for hay fever will not make much difference here.

Illustration: Generic ointment jar and translucent ointment.

OTC antibiotic ointments

Avoid

Worth naming because they are so often reached for. Neomycin and bacitracin are among the most common contact allergens there are, so an ointment used on an itchy rash can become the reason the rash will not go. Unless the skin is genuinely infected, plain petroleum jelly does the same job with none of the risk.

Four ointments on white: CeraVe Healing Ointment, a Vaseline jar, a petroleum jelly tube and Aquaphor

Petrolatum

Moderate evidence

Plain petroleum jelly, or any thick fragrance-free ointment, rebuilds the barrier that irritation broke. Barrier repair is genuinely half the treatment in irritant hand dermatitis, and it works because it has no fragrance, preservative or botanical in it to start a second reaction. Apply after every hand wash, not once a day.

Five colloidal oatmeal eczema products lined up on white: tubes, a jar and a pump lotion

Colloidal Oatmeal

Limited evidence

An oatmeal bath can take the edge off the itch of a widespread reaction, in cool rather than hot water. It is comfort only. Pick a plain one, because an itch product with fragrance or botanicals in it is a common way people acquire a second allergy on top of the first.

Prescription topicals
Ketoconazole — Header Image

Ketoconazole

Strong evidence

Ketoconazole 2% shampoo. Double the strength of the version on the shelf, and the usual first prescription when a month of over-the-counter shampoo has not shifted it. Twice a week for a month, five minutes on the scalp each time. Once it is clear, most people drop back to an over-the-counter shampoo for maintenance rather than staying on this.

Ciclopirox

Strong evidence

Ciclopirox shampoo. A different antifungal, and the usual next step when ketoconazole has stopped working or was never tolerated. It is used two or three times a week in the same way, with contact time on the scalp. Rotating it with a zinc pyrithione shampoo is a common way to keep a stubborn scalp under control.

Clobetasol — Header Image

Clobetasol

Moderate evidence

Clobetasol Propionate. A potent steroid, prescribed for the scalp as a solution, foam or shampoo, that settles a red, sore, intensely itchy flare within days. It is for short bursts of two to four weeks, not for keeping on hand. It does nothing about the yeast, so the medicated shampoo carries on alongside it and takes over afterwards.

Representative medication packaging labelled Zoryve, lying sideways on a white background.

Zoryve

Moderate evidence

A newer non-steroid foam approved for seborrheic dermatitis, used once a day on the scalp and face. It calms the inflammation without the thinning that comes with long-term steroid use, which makes it a reasonable option for people who keep needing steroid courses. Cost and insurance are usually the limiting factor.

Protopic — Header Image

Protopic

Limited evidence

A non-steroid ointment used mainly where dandruff has spread onto the face — the eyebrows, the creases beside the nose, behind the ears. It calms the same inflammation without thinning that thin skin, which matters when the area needs treating on and off for years. It stings for the first few days. It is awkward to apply in hair, so it is rarely the choice for the scalp itself.

Clobetasol — Header Image

Clobetasol

Moderate evidence

Clobetasol Propionate. A potent steroid ointment for hands and feet, where the skin is thick enough that milder creams barely register. It is used in short bursts of two to three weeks with breaks in between, not continuously. Nothing above the neck, and remember that hand dermatitis takes six weeks or more to settle even when the steroid is doing its job.

Protopic — Header Image

Protopic

Moderate evidence

A non-steroid ointment for the eyelids, face and skin folds, where repeated steroid use thins the skin. It calms the same immune reaction without that risk, which makes it useful for eyelid dermatitis that keeps returning while the trigger is being tracked down. It stings for the first few days, and that usually passes.

Representative medication packaging labelled Triamcinolone, lying sideways on a white background.

Triamcinolone Acetonide

Moderate evidence

A mid-strength steroid cream or ointment, the usual prescription for contact dermatitis on the body, arms or legs. Two weeks of it will clear most reactions once the contact has stopped. It is too strong for the eyelids and the folds, and it is a treatment for the inflammation, not for the cause.

16:9 hero for Desonide. Never cropped: the tone strip and the corner logo depend on the full frame.

Desonide

Limited evidence

A mild steroid stronger than over-the-counter hydrocortisone but gentle enough for the face and eyelids in short courses. It is the usual first prescription when a reaction has landed above the neck. Use it for the days it is prescribed for, not as something kept in the drawer.

16:9 hero for Elidel. Never cropped: the tone strip and the corner logo depend on the full frame.

Elidel

Limited evidence

A gentler alternative to tacrolimus for the face and eyelids, and easier to tolerate for people who cannot get past the initial burning. It is not strong enough for hand dermatitis. Like tacrolimus, it buys comfort while the actual trigger is being identified.

Prescription pills
16:9 hero for Fluconazole. Never cropped: the tone strip and the corner logo depend on the full frame.

Fluconazole

Limited evidence

An antifungal tablet, occasionally used for a short course when seborrheic dermatitis is severe, widespread, or not responding to anything applied to the skin. Ordinary dandruff never needs it. It also does not keep it away — shampoo maintenance still has to carry on afterwards — and it interacts with a number of common medicines.

Prednisone — Header Image

Prednisone

Moderate evidence

Steroid tablets for a widespread, blistering reaction, most often poison ivy covering large areas or a rash on the face that is closing an eye. The course has to run two to three weeks with a taper; the short packs are the usual reason the rash rebounds a few days after finishing. It is for the big reactions only, not for a patch on one arm.

An amber pill bottle labeled Cyclosporine tipped over with white tablets spilling out

Cyclosporine

Limited evidence

A short specialist course for severe hand dermatitis that has not responded to strong steroids and proper avoidance. It works quickly and reliably, which is exactly why it is used for a few months rather than long term — blood pressure and kidney function have to be watched throughout. It is a bridge, not an answer.

16:9 hero for Methotrexate. Never cropped: the tone strip and the corner logo depend on the full frame.

Methotrexate

Limited evidence

A weekly tablet sometimes used for chronic hand dermatitis when avoidance and creams have genuinely failed. The evidence in contact dermatitis specifically is thin, mostly borrowed from eczema. It needs regular blood tests, and it is a specialist decision rather than a next step.

Antibiotic tablets for infection

Antibiotic tablets for infection

Listed

Used only when bacteria have moved into the broken skin — spreading warmth and pain, pus, or fever. They treat the infection sitting on top and do nothing to the dermatitis underneath, so the steroid and the avoidance carry on alongside them.

Injections
None listed
A white and green autoinjector pen labeled Dupixent lying on a plain pale background

Dupixent

Limited evidence

An injected biologic increasingly asked about for chronic hand dermatitis. Reports are encouraging for the eczema-like cases, but it is not approved for allergic contact dermatitis and some allergens appear not to respond to it. It does not replace finding and removing the trigger, and it is a specialist conversation.

Outlook

Long term

Dandruff comes in waves - quiet stretches broken by flares. It can carry on for decades without getting steadily worse, and it follows a rough arc through life.

Timing is the best clue to which form you have. The rash is temporary; the allergy is not - sensitization is generally lifelong, so avoidance is permanent. Once the substance is named and avoided, most people stay clear.

Complications

Possible complications

Dandruff is a mild scalp form of seborrhoeic dermatitis. Itching and flaking can recur; marked inflammation or persistent symptoms may indicate a condition needing a different treatment.

  • Infection in the broken skin
  • Chronic hand dermatitis
  • Time off work
More details

Infection in the broken skin
Weeping, cracked or scratched skin gives bacteria an opening, most often on the hands. The signs are honey-colored crusts, pus, increasing pain, or redness and warmth spreading outward. It is common and it is treatable, but it needs antibiotics rather than more steroid cream, so it is worth being seen rather than waiting it out.

Chronic hand dermatitis
When the exposure carries on, hand dermatitis stops settling between flares. The skin thickens, the normal lines deepen, and painful cracks open across the fingertips and knuckles that catch on everything and are slow to close. It is the reason contact dermatitis is a leading work-related skin problem, and it is largely preventable by naming the cause early instead of treating the rash for months.

Time off work
Hand dermatitis is one of the leading work-related health problems, and for people in wet or chemical work it can mean weeks of light duties, a change of role, or leaving a trade. It is also the part most often left out of the conversation. Naming the cause early, and getting the right gloves and routine in place, is what keeps the job.

When to get help

When to get help

Seek assessment for persistent symptoms despite dandruff shampoo, marked redness, pain, crusting or patchy hair loss.

Seek help for persistent or recurrent rash; patch testing may identify contact allergy. Pain, spreading warmth, pus or fever require prompt assessment.

Common questions

Dandruff:Is dandruff caused by a dry scalp?

Usually not. It is commonest on oily scalps, and the yeast behind it feeds on that oil. The scalp can feel dry and tight because it is inflamed and the barrier is disrupted, which is not the same as being short of moisture. Treating it as dryness makes it worse.

Dandruff:How often should I wash my hair if I have dandruff?

More often than you otherwise would, at least during a flare, because washing removes the oil the yeast lives on. If frequent washing damages your hair, change how you wash rather than how often - medicated shampoo straight onto the scalp, five minutes, condition only the lengths.

Dandruff:Does dandruff cause hair loss?

Not permanently. A very itchy, inflamed scalp that gets scratched or picked sheds more hair for a while, and that recovers once the inflammation settles. Thinning or bald patches need their own assessment, not a stronger shampoo.

Dandruff:Why did my shampoo stop working?

Usually one of two things. Either contact time slipped and it is being rinsed straight out again, or the scalp has stopped responding to that active. Rotating two medicated shampoos, such as zinc pyrithione and ketoconazole, tends to keep working.

Dandruff:Is dandruff related to the flaky redness around my nose and eyebrows?

Yes - the same condition in a different place. Seborrheic dermatitis affects the oily areas of the body, and the scalp is the most obvious one. The face usually responds to a gentle antifungal cream or a short course of a mild anti-inflammatory prescribed for that area, not to shampoo left on the skin.

Dandruff:Can I use medicated shampoo on colored or chemically treated hair?

Generally yes, but the active matters. Selenium sulfide and coal tar can discolor light, gray, relaxed or color-treated hair. Zinc pyrithione and ketoconazole are the usual choices, and conditioning the lengths limits drying of the hair shaft.

Contact Dermatitis:How do I figure out what caused it?

Start with location and shape, not a list of products. Photograph the rash, note where its edges are, and look for an object or habit that matches that outline. An allergic reaction shows up one to three days after contact, so look at what happened two days before, not that morning. Include things you have used for years - those are the likeliest candidates, not the least. If a few weeks of attention does not settle it, patch testing ends the guessing.

Contact Dermatitis:How long does it take to clear up?

An irritant reaction improves within days of contact stopping. An allergic reaction takes two to four weeks to settle even with treatment, because the immune cells doing the damage take that long to stand down. Hands are slowest, often six weeks or more, because the skin there is used and washed constantly. Judging it at day three tells you very little.

Contact Dermatitis:Is it contagious?

No. This is your own skin reacting to a substance, not an infection. You cannot pass it on by touch. If two people in a household get the same rash, they were both exposed to the same thing.

Contact Dermatitis:Will the allergy ever go away?

Generally no. Once your immune system has learned a substance, that memory is permanent, and tiny amounts can trigger a reaction years later. In practice it is less grim than it sounds - people who know their allergen and avoid it stay clear indefinitely, and the avoidance is usually narrower than they feared.

Contact Dermatitis:Why did this appear on my eyelids when I never put anything there?

Eyelid skin is the thinnest on your body, so it reacts to amounts the rest of your skin ignores. Nail polish, hair products, face creams and airborne particles reach the eyelids from your hands or from your scalp. When a rash is on the eyelids alone, the cause is usually somewhere else.

Contact Dermatitis:Can I just use hydrocortisone from the pharmacy?

For a small, mild patch on the body, often yes, alongside stopping the contact. Over-the-counter hydrocortisone is a mild strength and rarely clears thicker skin on hands or feet. On the face and eyelids keep it short-term, and ask first. It treats the inflammation, not the cause - if the rash returns each time you stop, find the trigger.

Sources

Sources and further reading

  1. DermNet
  2. DermNet
Dermapedia on YouTube