MEDICATION

Ketoconazole

An antifungal cream and shampoo used for dandruff, seborrheic dermatitis, tinea versicolor and ringworm. The tablet form is no longer used for skin infections because of liver risk.

Updated 10/22/2026
AntifungalSkin and scalp

Key facts

Ketoconazole at a glance.

Used for

Dandruff and selected fungal rashes

Results

1–2 weeks

Treatment commitment

Initial course; maintenance if needed

Key precautions

Topical irritation; keep out of eyes

What is it?

Top things to know about Ketoconazole

  1. It is an azole antifungal. Ketoconazole interferes with fungal cell membranes.
  2. It treats yeasts and dermatophytes. It is used for fungal infections and seborrheic dermatitis.
  3. It does not prevent recurrence. Seborrheic dermatitis tends to return.
  4. Scalp ringworm needs more. Shampoo alone does not treat infected hair roots.

HOW IT WORKS

How Ketoconazole works

Ketoconazole. Disrupts the membrane that fungi need to grow. 1. Limits ergosterol production: Reduces a building block of fungal cell membranes. 2. Disrupts fungal membranes: Fungi have more difficulty maintaining normal cells. 3. Reduces susceptible fungi: Fungal and yeast-related skin problems can improve.
Swipe across the diagram to explore the full image.Open full-size diagram
Diagram explanation and sources

Limits ergosterol production: Reduces a building block of fungal cell membranes. Disrupts fungal membranes: Fungi have more difficulty maintaining normal cells. Reduces susceptible fungi: Fungal and yeast-related skin problems can improve.

Topical ketoconazole impairs fungal ergosterol synthesis. The contribution of Malassezia reduction to seborrheic dermatitis benefit is proposed rather than fully established. Species and resistance matter.

Source 1

Strengths

Ketoconazole strengths

Ketoconazole skin and scalp products include 1% OTC dandruff shampoo and 2% prescription formulations. Shampoo, cream and foam have different indications and contact instructions; oral ketoconazole is a separate medicine with major safety restrictions.

1%

2%

OTC

A rinse-off scalp product. It is not a lower-dose equivalent of a leave-on cream.

Rx

The appropriate vehicle depends on the diagnosis and site. Matching percentages do not make rinse-off and leave-on directions interchangeable.

LowestHighest
Strength sources

Forms

Ketoconazole forms

Foam — generic texture
Rinse-off scalp form

Shampoo

A cleansing vehicle that spreads through wet hair and rinses away. Cleansing agents can affect dryness and comfort.

Cream — generic texture
Dry skin

Cream

Richer and more moisturizing; often suits dry skin. The full formula still affects comfort.

Foam — generic texture
Lightweight feel

Foam

Easy to spread through hair or over larger areas. Moisturizing feel and stinging vary with the formula.

How to use it

Your treatment, step by step.

How to apply it

  1. 01

    When to Apply

    For the shampoo, twice a week on wet hair. Lather it in, leave it on the scalp three to five minutes, then rinse. Contact time is what works, not volume. For the cream, a thin layer once or twice a day over the area and a little past its edge.

  2. 02

    How to Start

    Twice-weekly shampoo, or daily cream, for the first two to four weeks. Tinea versicolor is often treated with the shampoo as a body wash, left on five minutes, daily for a few days or weekly for a few weeks. Athlete's foot needs longer, often about six weeks.

  3. 03

    If It Irritates

    Mild stinging, dryness or an itchy scalp early on usually settles. Rinsing more thoroughly, dropping to once a week, or switching from gel or foam to cream generally fixes it. A rash that worsens each time you use it may be an allergy, and needs a look.

  4. 04

    If It's Not Working

    Give it two full weeks used correctly, with the contact time. If the scalp is no better, the reasons are usually rinsing too soon, a different diagnosis such as psoriasis, or a fungus that needs a tablet. Rotating with selenium sulfide, zinc pyrithione or ciclopirox often helps.

Monitoring & follow-up

No blood tests and no routine monitoring for the cream, shampoo, gel or foam. Absorption through intact skin is minimal, and the serious risks belong to the tablet.

People use this for years. Seborrheic dermatitis and dandruff are long-term conditions, and continuing at a lower frequency is the normal plan, not a sign something has gone wrong.

The exception to watch for is an allergic contact reaction, a rash that worsens each time it is used. Uncommon, but it happens, and it is a reason to stop and have it looked at rather than to use it more often.

Oral ketoconazole is the version that needs liver blood tests, heart tracings and interaction checks. It is not used for skin infections.

What to expect

How things change over time.

  1. Using it

    Lather, leave it on a few minutes, then rinse. Twice a week on the scalp.

  2. Itch settles

    Itching and greasiness ease first, often within the first few washes.

  3. Flaking drops

    Scale on the scalp or sides of the nose drops substantially, so judge it here. Tinea versicolor clears in the same window.

  4. Skin infections clear

    Ringworm, jock itch and yeast in folds clear here. Treat a little beyond the visible edge, since the fungus extends past it, and keep the fold dry.

  5. Athlete's foot

    The soles are thick and slow, so this takes longer.

  6. Maintenance

    For dandruff and seborrheic dermatitis, move to once a week or every other week rather than stopping. This is control, not a cure.

  1. First wash
  2. Days 1 to 7
  3. Weeks 1 to 2
  4. Weeks 2 to 4
  5. Around 6 weeks
  6. Beyond 4 weeks
When you stop

Stop the cream once the infection has cleared, usually about a week after the skin looks normal, so nothing is left at the edges.

The shampoo is different. Dandruff and seborrheic dermatitis are driven by a yeast that lives on the skin permanently, so stopping usually means the flaking returns over the following weeks. No rebound and no withdrawal, it just goes back to how it was.

Step down rather than stop, twice weekly while it is active, then once a week or every other week to hold it. Some people need it only in winter or during stressful periods.

What it Pairs with

Ketoconazole + your routine

Product or situationWith KetoconazoleWhat to know
Rinsing the shampoo out straight awayAvoidContact time is the treatment. Three to five minutes on the scalp is the difference between working and not.
Using it in or near the eyesAvoidIt stings sharply. Rinse with water if it gets in.
The gel or foam on broken or raw skinAvoidBoth contain alcohol and sting badly there.
Stopping the moment the flakes goAvoidSeborrheic dermatitis returns within weeks for most people. A weekly wash keeps it quiet.
Scrubbing or picking scale off the scalpAvoidIt irritates the skin, and irritated skin flakes more.
Expecting a nail to respondAvoidTopical antifungals do not reach through the nail plate.
If a rash gets worse each time you apply itUse careThat pattern suggests allergy to the product rather than irritation.
If the scalp has thick, silvery, well-defined plaquesUse careThat looks more like psoriasis, which needs different treatment.
If the flaking is on an infant's scalpUse careCradle cap is managed differently, and often needs no treatment early on.
If you are offered ketoconazole tabletsUse careFor a skin or nail infection, ask why, since that use was withdrawn and safer tablets exist.
If a fungal rash keeps returningUse careRecurring or widespread infection despite correct use can point to diabetes, a suppressed immune system, or a pet or family member as the source.
If you are pregnant or breastfeedingUse careAsk the doctor managing your pregnancy before using it, and keep it off the chest area if breastfeeding.

Getting it and cost

Getting Ketoconazole.

Cost & access

The 1% shampoo is over the counter and inexpensive, and store-brand versions work the same for less.

What affects the cost

The 2% shampoo and cream are generic and among the cheaper prescriptions in dermatology.

What affects the cost

The 2% gel and foam cost much more, and insurance often requires trying the cream or shampoo first. They are worth the difference mainly for hairy areas where cream is impractical.

What affects the cost

Selenium sulfide and zinc pyrithione shampoos are cheaper alternatives with reasonable evidence, and rotating between them keeps costs down.

Alternatives

Other options to consider.

Educational still life: shampoo.
If you prefer a similar option

Selenium sulfide shampoo

similar evidence for dandruff and tinea versicolor, and cheaper. Has a stronger smell and can discolor light or treated hair.

Educational still life: shampoo.
If weighing the evidence

Zinc pyrithione shampoo

widely available and gentle, with good evidence for mild dandruff. Generally less effective than ketoconazole for stubborn seborrheic dermatitis.

Educational still life: shampoo.
If you prefer a similar option

Ciclopirox shampoo or cream

comparable results, and a useful alternative to rotate to when ketoconazole seems to stop helping.

Existing educational treatment illustration: Spinosad
If itch is your concern

Terbinafine cream

more effective than ketoconazole for ringworm, jock itch and athlete's foot, and often a shorter course. Does not treat seborrheic dermatitis or tinea versicolor, because it does not cover the yeast behind them.

Clotrimazole or miconazole cream.
If you prefer a similar option

Clotrimazole or miconazole cream

same family, similar results, cheaper and easier to buy. Reasonable for straightforward ringworm or yeast in a fold.

An illustrative cream tube labeled Topical steroids beside a white cream swatch.
If adding to your routine

A mild topical steroid

settles the redness and itch of seborrheic dermatitis faster, but does nothing about the yeast and cannot be used long term on the face. Often used briefly alongside ketoconazole rather than instead of it.

Representative selection of topical treatment forms, not exact product packaging.
If you need maintenance

Tacrolimus or pimecrolimus cream

steroid-free options for facial seborrheic dermatitis that needs long-term treatment. More expensive, and they can sting at first.

Questions

Questions you might be asking.

How long do I leave the shampoo on?

Three to five minutes before rinsing. Rinsing straight away is the most common reason people think it failed.

How often should I use it?

Twice a week while it is active, then once a week or every other week to keep it quiet.

Will it make my hair fall out?

No. It has been looked at for a small possible benefit in pattern hair loss, not as a cause.

Can I use it on my face?

The cream, yes, for seborrheic dermatitis on the sides of the nose, eyebrows and hairline. Keep it away from the eyes.

Why are the pale patches still there after treatment?

Tinea versicolor leaves uneven color behind after the fungus is gone. It fades over weeks to months, and looks more obvious once the surrounding skin tans.

Should I be taking the tablet instead?

No. Oral ketoconazole had its skin and nail uses withdrawn because of serious liver injury and drug interactions. If a tablet is needed, terbinafine, fluconazole or itraconazole is used.