Scalp fungus is killed by antifungal medications, both topical and oral. Over-the-counter antifungal shampoos can handle mild cases like dandruff-related fungal overgrowth, but a true scalp fungal infection (tinea capitis) almost always requires prescription oral antifungal medication because the fungus lives inside the hair follicle, where shampoos can’t reach.
The fungi responsible are called dermatophytes, specifically species in the Trichophyton and Microsporum families. They feed on keratin, the protein in your hair and skin, and can cause patchy hair loss, scaly rings, and intense itching. Knowing which type of treatment matches your situation is the difference between clearing the infection in weeks and dealing with it for months.
Antifungal Shampoos for Mild Cases
If your scalp problem is more flaking and itching than hair loss or visible bald patches, an over-the-counter antifungal shampoo is a reasonable first step. The most effective active ingredient is ketoconazole, which works by disrupting the cell membranes of fungi so they can’t survive and reproduce. It’s the only over-the-counter antifungal ingredient approved specifically for dandruff-related fungal overgrowth. Other shampoo ingredients like selenium sulfide and zinc pyrithione also reduce fungal populations on the scalp, though they work through different mechanisms.
For ketoconazole shampoo (2% strength), the recommended technique is to lather it onto your wet scalp and leave it in place for a full five minutes before rinsing with warm water. Rushing through a quick wash and rinse won’t give the active ingredient enough contact time to work. Most people use it twice a week for several weeks, though your situation may call for a different schedule.
These shampoos are often used alongside oral medications for confirmed tinea capitis. They won’t cure the infection on their own, but they reduce the number of fungal spores on the scalp surface, which helps prevent spreading to other people.
Oral Antifungals for True Scalp Infections
When fungus has invaded the hair shaft itself, causing bald patches, broken-off hairs, or raised scaly rings, oral medication is necessary. Shampoo simply cannot penetrate deep enough into the follicle to reach the infection. There are several prescription options, and treatment typically lasts between four and twelve weeks depending on the medication and the specific fungus involved.
Griseofulvin has been the standard treatment for decades because of its long safety record. It’s taken daily for six to twelve weeks, and doctors usually recommend continuing for two weeks after symptoms have fully cleared to prevent relapse. Terbinafine is a newer alternative with equal effectiveness and a shorter treatment course of about six weeks, though infections caused by Microsporum species may need a longer course. Fluconazole offers the option of either daily or once-weekly dosing, which some people find more convenient.
Oral antifungals are processed by the liver, so your doctor will likely check liver function with a blood test before starting treatment. Terbinafine in particular is not recommended for anyone with chronic or active liver disease. While taking it, watch for symptoms like persistent nausea, unusual fatigue, loss of appetite, upper abdominal pain, dark urine, or yellowing skin. These are uncommon but signal the need to stop the medication and get checked immediately.
Treatment for Children
Scalp fungus is far more common in children than adults. Terbinafine is FDA-approved for children two years and older, and griseofulvin has a long history of safe use in pediatric patients. For younger children, griseofulvin is often the go-to choice. Other antifungals like itraconazole have less safety data in children and aren’t typically first-line recommendations for scalp infections.
Natural Remedies: What the Evidence Shows
Tea tree oil is the most commonly discussed natural antifungal for the scalp. The evidence is limited. One study found that a shampoo containing 5% tea tree oil used over four weeks helped reduce dandruff, but this falls short of proof that it can treat a genuine fungal infection. Tea tree oil may offer mild relief for flaking and irritation, but relying on it for tinea capitis risks letting the infection worsen and spread.
Coconut oil, apple cider vinegar, and garlic are frequently recommended online. None have strong clinical evidence supporting their use against dermatophyte infections of the scalp. If your scalp problem involves hair loss or visible bald patches, skip the home remedies and get a proper diagnosis.
How to Tell Scalp Fungus From Other Conditions
Not every itchy, flaky scalp is a fungal infection. Seborrheic dermatitis (severe dandruff) and scalp psoriasis can look similar, and the treatments are different.
- Scalp fungus (tinea capitis) typically causes patchy hair loss, broken hairs close to the scalp, and sometimes a raised, ring-shaped border. It’s contagious and most common in children.
- Seborrheic dermatitis causes oily or waxy flakes and inflamed skin but doesn’t cause hair to break off or fall out in patches. The flakes tend to be greasy rather than dry.
- Scalp psoriasis produces thicker, drier scales that often extend beyond the hairline onto the forehead or behind the ears. If you also have scaly patches on your elbows, knees, or lower back, or pitting in your nails, psoriasis is more likely than a fungal infection.
A doctor can often tell the difference by appearance, but may scrape a small sample from your scalp or examine it under a special light to confirm fungus before prescribing treatment.
Preventing Reinfection and Spread
Scalp fungus is contagious. It spreads through shared combs, brushes, hats, pillowcases, and direct head-to-head contact. Cleaning your environment during and after treatment is important for preventing a cycle of reinfection.
Wash pillowcases, towels, and hair covers in hot water (70 to 80°C, or about 160 to 175°F) with detergent, then dry on a hot setting. Combs and brushes should be washed in warm water with detergent, rinsed in hot running water, and dried thoroughly. For items you can’t submerge, like electric clippers, wipe them down with a cloth dampened with 70% rubbing alcohol and let them air dry.
Don’t share hats, helmets, hair ties, or brushes with anyone during treatment. If a child in your household is infected, check other family members for signs of infection, since the fungus can spread before symptoms appear. Pets, particularly cats and dogs, can also carry dermatophytes, so a persistent or recurring infection in the family sometimes traces back to the family animal.

