
Key takeaways
- Ketoconazole is an antifungal shampoo approved for dandruff and certain fungal skin conditions. It is not FDA-approved to treat hair loss.
- Small studies suggest it may modestly improve hair density or shaft thickness in pattern hair loss, possibly by calming scalp inflammation, but large randomized trials are lacking.
- Its clearest benefit is treating dandruff and seborrheic dermatitis, which can make an itchy, flaky scalp more comfortable alongside hair-loss treatment.
- Caffeine shampoos and lotions have mostly low-quality evidence; no shampoo has been shown to replace minoxidil or finasteride.
- A shampoo stays on the scalp for minutes, which limits how much any active ingredient can do. Use it as a supporting step, not the plan.
Ketoconazole shampoo may give a small extra benefit for pattern hair loss, but the evidence is limited and it is not an approved hair-loss treatment. It is an antifungal that targets Malassezia, a yeast that lives on the scalp, and a small 1998 study found hair density and the proportion of growing hairs improved with it about as much as with minoxidil in that study. A 2020 systematic review called it a promising add-on but said randomized trials are still needed.
Because it also treats dandruff and seborrheic dermatitis, ketoconazole is a common part of hair-loss routines. This guide covers what the studies found, how it might work, where caffeine and other hair-loss shampoos fit, and how to use shampoo sensibly alongside proven treatment.
What is ketoconazole shampoo?
Ketoconazole is an azole antifungal. As a shampoo, it is sold in a lower strength over the counter for dandruff and in a stronger strength by prescription for fungal skin conditions and seborrheic dermatitis. A 2019 systematic review of 40 randomized trials found topical ketoconazole clinically effective for conditions driven by Malassezia yeast, including seborrheic dermatitis and pityriasis versicolor, a common fungal rash.
Ketoconazole tablets are a different story: oral ketoconazole has carried safety warnings and labeling restrictions because of liver toxicity. Topical use on the scalp is a different exposure and is generally considered safe, though the same review noted that allergic contact dermatitis can occur.
What does the evidence say about hair loss?
The best-known study is small. In 1998, researchers in Belgium compared ketoconazole shampoo with an unmedicated shampoo, used with or without minoxidil, in men with pattern hair loss. Hair density, hair size and the proportion of hairs in the growing phase improved almost similarly with the ketoconazole and minoxidil regimens, and scalp oiliness appeared lower with ketoconazole. The authors themselves said the clinical significance awaited larger controlled studies.
A 2020 systematic review found seven relevant studies: two in animals and five in humans with 318 participants in total. Human studies reported thicker hair shafts and improvements on photographs and patient ratings, and the authors concluded ketoconazole is a promising adjunctive or alternative therapy, while stating that randomized controlled trials are needed. In short, the signal is real enough to be interesting but too thin to rely on alone.
Why might an antifungal help hair?
Pattern hair loss is driven mainly by genetics and DHT, the hormone that shrinks sensitive follicles. Researchers have proposed that low-grade inflammation around follicles, possibly fueled by scalp microbes like Malassezia, adds to the damage. Ketoconazole reduces Malassezia and has some anti-inflammatory activity, which is the leading explanation for any benefit. Some laboratory work has also suggested it may interfere with androgen signaling in the skin, but that has not been shown to matter clinically.
Our guide to what DHT is and how it drives hair loss explains the hormonal side, which a shampoo does not meaningfully change.
Caffeine and other hair-loss shampoos
Shampoos marketed for thinning hair commonly contain caffeine, plant extracts, saw palmetto, biotin or peptides. The evidence varies a great deal.
Ketoconazole
- What the evidence shows
- Small studies suggest modest benefit in pattern loss; clearly effective for dandruff
- Status
- Approved for dandruff and fungal conditions; off-label for hair loss
Caffeine
- What the evidence shows
- Nine trials, mostly low or very low quality; all favored caffeine
- Status
- Cosmetic
Zinc pyrithione, selenium sulfide
- What the evidence shows
- Effective for dandruff; little hair-loss data
- Status
- Over-the-counter dandruff ingredients
Plant extracts and saw palmetto
- What the evidence shows
- Small trials with mixed methods
- Status
- Cosmetic
Biotin
- What the evidence shows
- Helps only true deficiency, which is rare
- Status
- Cosmetic
| Ingredient | What the evidence shows | Status |
|---|---|---|
| Ketoconazole | Small studies suggest modest benefit in pattern loss; clearly effective for dandruff | Approved for dandruff and fungal conditions; off-label for hair loss |
| Caffeine | Nine trials, mostly low or very low quality; all favored caffeine | Cosmetic |
| Zinc pyrithione, selenium sulfide | Effective for dandruff; little hair-loss data | Over-the-counter dandruff ingredients |
| Plant extracts and saw palmetto | Small trials with mixed methods | Cosmetic |
| Biotin | Helps only true deficiency, which is rare | Cosmetic |
A 2025 systematic review of topical caffeine found nine clinical trials with 684 participants. All favored caffeine, but the quality of evidence was medium in three, low in one and very low in five, with common problems including no randomization, no placebo group and no stated caffeine concentration. A separate 2025 review of non-prescription products for pattern loss reached a similar conclusion: some improvements, but larger and better trials are needed. Our article on hair loss supplements covers the pill versions of several of these ingredients.
How to use a medicated shampoo sensibly
The AAD's advice for dandruff shampoos is a reasonable template: follow the instructions on the bottle, which may include letting the shampoo sit on the scalp for several minutes before rinsing, and if one shampoo does not work, try alternating with one that has a different active ingredient. Some dandruff shampoos, such as coal tar, can make the scalp more sensitive to sunlight.
- Treat it as a supporting step. A shampoo is on the scalp for minutes, so even a useful ingredient has limited contact time.
- Watch for irritation. Stop and get advice if you develop redness, burning or a rash, because an inflamed scalp can worsen shedding.
- Mind dryness. Medicated shampoos can dry hair; a conditioner on the lengths helps.
- Pair with proven treatment. For pattern loss, the core options are covered in finasteride vs minoxidil.
What about pregnancy and breastfeeding?
This is one situation where ketoconazole shampoo gets more attention. Many hair-loss medications are avoided in pregnancy: finasteride and other DHT blockers can affect a developing male fetus, and minoxidil and spironolactone are generally not used while pregnant. A 2026 literature review of hair-loss treatments in pregnancy and breastfeeding, drawing on FDA labeling and drug-safety references, listed ketoconazole shampoo as an option for pattern loss during pregnancy or breastfeeding, while noting it is unlikely to help shedding from telogen effluvium.
That does not make it a strong treatment; it reflects that it is applied briefly to the scalp with little absorption. Anyone pregnant or breastfeeding should still check every product with their obstetric provider. Our guide to hair loss treatment in pregnancy and breastfeeding covers the wider picture.
When flaking or itching means something else
Thick, greasy scale may be seborrheic dermatitis; sharply outlined silvery plaques may be psoriasis; patchy hair loss with scaling, broken hairs or swollen glands can be a fungal infection of the scalp that needs oral treatment rather than shampoo. Pain, burning or scarring near the hairline needs a dermatologist. Our guide to dandruff vs seborrheic dermatitis explains the differences.
If you are dealing with both thinning and an irritated scalp, a provider on the hair program can review photos, suggest how to manage the scalp, and discuss prescription options for the hair loss itself.
Common questions
Does ketoconazole shampoo regrow hair?
It may help a little. A small 1998 study and a 2020 review of 318 human participants reported improvements in hair density or shaft thickness, but there are no large randomized trials, and it is not FDA-approved for hair loss.
Is ketoconazole shampoo a DHT blocker?
Not in any meaningful clinical sense. Its main actions are antifungal and anti-inflammatory. Some lab studies suggest an effect on androgen signaling in skin, but that has not been shown to translate into results comparable to finasteride.
Can I use ketoconazole shampoo with minoxidil or finasteride?
They are commonly used together and there is no known interaction. If your scalp becomes irritated, space out products and talk with your provider, since an irritated scalp can make topical treatments harder to tolerate.
Do caffeine shampoos work for hair loss?
A 2025 systematic review found nine trials that all favored caffeine, but most were low or very low quality. Caffeine shampoo may be worth trying as a cosmetic step, but it is not a substitute for proven treatment.
Is ketoconazole shampoo safe?
Topical ketoconazole is generally considered safe. Possible problems include dryness, irritation and, rarely, allergic contact dermatitis. Oral ketoconazole is a different product with serious liver warnings.
Is any shampoo FDA-approved for hair loss?
No shampoo is FDA-approved to treat hair loss. The FDA-approved medications for pattern loss are topical minoxidil and, for men, oral finasteride.
Sources
- Piérard-Franchimont C, De Doncker P, Cauwenbergh G, Piérard GE. Ketoconazole shampoo: effect of long-term use in androgenic alopecia. Dermatology. 1998;196(4):474–477. Link (opens in a new tab)
- Fields JR, Vonu PM, Monir RL, Schoch JJ. Topical ketoconazole for the treatment of androgenetic alopecia: a systematic review. Dermatol Ther. 2020;33(1):e13202. Link (opens in a new tab)
- Choi FD, Juhasz MLW, Atanaskova Mesinkovska N. Topical ketoconazole: a systematic review of current dermatological applications and future developments. J Dermatolog Treat. 2019;30(8):760–771. Link (opens in a new tab)
- Szendzielorz E, Spiewak R. Caffeine as an active ingredient in cosmetic preparations against hair loss: a systematic review of available clinical evidence. Healthcare (Basel). 2025;13(4):395. Link (opens in a new tab)
- Gupta AK, Wang H, Wang T, Talukder M. Do non-prescription products help in managing androgenic alopecia? Skin Appendage Disord. 2025;11(3):270–281. Link (opens in a new tab)
- Maas D, Zaminski D, Bawany F, Brown C, Bieber AK. Treating hair loss related to pregnancy and lactation: a literature review. Dermatol Online J. 2026;32(4). Link (opens in a new tab)
- American Academy of Dermatology. How to treat dandruff. Link (opens in a new tab)
This article is for general education and is not medical advice. Protocols described here require an online consultation with a licensed provider who will determine if a prescription is appropriate for you. Explore hair & skin options or read the FAQ.




