Ketoconazole is an antifungal medication used to treat a wide range of fungal skin infections, dandruff, and certain serious internal fungal diseases. It comes in several forms, including creams, shampoos, foams, gels, and oral tablets, each designed for different conditions. The topical versions are the most commonly used today, while the oral tablet form is reserved for severe infections when safer alternatives aren’t available.
Topical Uses: Skin and Scalp Infections
Ketoconazole cream, shampoo, foam, and gel are workhorses for treating everyday fungal infections of the skin and scalp. The 2% cream is applied once daily and treats a long list of conditions:
- Athlete’s foot (fungal infection of the feet)
- Jock itch (fungal infection of the groin)
- Ringworm (fungal infection of the body)
- Yeast infections of the skin (cutaneous candidiasis)
- Tinea versicolor (light or dark patches caused by a yeast that lives on the skin)
- Seborrheic dermatitis (red, flaky, scaly patches on the skin or scalp)
Treatment length depends on the infection. Ringworm, jock itch, and yeast infections of the skin typically need about two weeks of daily application to clear up and reduce the chance of recurrence. Athlete’s foot takes longer, requiring roughly six weeks of treatment because the fungus is harder to eliminate from the thick skin of the feet.
Shampoo for Dandruff and Tinea Versicolor
Ketoconazole shampoo comes in two strengths. The 1% version is available over the counter and is primarily used to control dandruff. The 2% prescription shampoo is a preferred treatment for tinea versicolor because it’s easy to apply over large areas of skin and works effectively with a short course of treatment. For tinea versicolor, the shampoo is typically lathered onto the affected skin (not just the scalp), left on briefly, then rinsed off.
The foam and gel formulations also target seborrheic dermatitis, giving options for people who find one form easier to use than another.
How It Works Against Fungal Infections
Fungi rely on a compound called ergosterol to build their cell membranes, much like human cells use cholesterol. Ketoconazole blocks a key enzyme in the production of ergosterol. Without it, the fungal cell membrane becomes unstable and leaky, and the fungus can’t survive or reproduce. This mechanism is effective against a broad spectrum of fungi, from the common yeasts behind dandruff to the more dangerous organisms that cause systemic infections.
Oral Tablets for Serious Fungal Infections
Oral ketoconazole tablets treat deep, systemic fungal infections that can’t be reached by creams or shampoos. The FDA-approved indications include blastomycosis, coccidioidomycosis (Valley fever), histoplasmosis, chromomycosis, and paracoccidioidomycosis. These are serious infections that often affect the lungs, skin, or other organs, and they’re more common in certain geographic regions or in people with weakened immune systems.
There’s an important caveat: the oral tablets are only used when other antifungal treatments aren’t available or can’t be tolerated. This restriction exists because oral ketoconazole carries significant safety risks that its topical counterparts do not. It also doesn’t penetrate well into the fluid surrounding the brain and spinal cord, so it’s not used for fungal meningitis.
Off-Label Use for Excess Cortisol
Ketoconazole has an unusual secondary effect that makes it useful beyond fungal infections. At higher doses, it blocks several enzymes involved in producing cortisol and other steroid hormones in the adrenal glands. This property has made it a treatment option for Cushing’s syndrome, a condition where the body produces too much cortisol. It’s sometimes used as a second-line treatment after surgery, particularly for Cushing’s disease caused by a pituitary tumor. This cortisol-lowering effect is unique to ketoconazole among antifungal drugs in its class.
Safety Differences Between Topical and Oral Forms
The safety profiles of topical and oral ketoconazole are drastically different, which is why understanding which form you’re using matters.
Topical ketoconazole (creams, shampoos, foams, gels) is generally well tolerated. Side effects tend to be mild and local: some irritation, itching, or dryness at the application site. Very little of the drug is absorbed into the bloodstream through the skin, so systemic side effects are rare.
Oral ketoconazole tablets are a different story. They carry an FDA boxed warning, the most serious type of safety alert, for two major risks:
- Liver damage: Serious liver injury, including cases requiring liver transplant and fatal outcomes, has occurred in patients taking oral ketoconazole. This has happened in people with no prior risk factors for liver disease, at both high doses taken for short periods and low doses taken for long periods. The damage is usually reversible if the medication is stopped in time, but not always.
- Adrenal insufficiency: At doses of 400 mg and higher, oral ketoconazole suppresses the adrenal glands’ ability to produce cortisol. While this effect is intentionally harnessed for Cushing’s syndrome treatment, it can be dangerous in other patients, especially during physical stress like surgery or illness. The recommended daily dose of 200 to 400 mg should not be exceeded.
Because of these risks, anyone taking the oral form needs regular monitoring of liver function and, in some cases, adrenal function.
Drug Interactions With Oral Ketoconazole
Oral ketoconazole is one of the most potent inhibitors of a liver enzyme system responsible for breaking down a large number of medications. When this system is blocked, other drugs can build up to dangerously high levels in the body. This is why oral ketoconazole has a long list of medications it cannot be combined with, including certain cholesterol drugs, heart medications, sedatives, and others. If you’re prescribed oral ketoconazole, your doctor will need a complete list of everything else you take. Topical forms don’t cause these interactions because the drug stays on or near the skin surface rather than entering the bloodstream in meaningful amounts.

