Dandruff is one of the most common scalp conditions, affecting roughly 5% of adults worldwide. The white flakes are dead skin cells shed faster than normal, almost always driven by a naturally occurring fungus on your scalp that feeds on oil. The good news: most cases respond well to the right over-the-counter shampoo within two to four weeks, and a few simple habit changes can keep flakes from coming back.
What Actually Causes Dandruff
Your scalp constantly sheds old skin cells and grows new ones. In dandruff, that turnover speeds up dramatically. The main trigger is a yeast-like fungus called Malassezia that lives on everyone’s scalp but thrives when oil production is high. As the fungus breaks down scalp oils, it produces byproducts that irritate the skin, causing inflammation, itching, and accelerated flaking.
Several factors make the problem worse: stress, cold or dry weather, hormonal shifts, and infrequent washing (which lets oil build up). Oily scalps tend to be more affected than dry ones, which is why dandruff often peaks in adolescence and early adulthood when oil glands are most active.
Medicated Shampoos: Your First Line of Defense
Over-the-counter dandruff shampoos contain active ingredients that target the fungus, reduce inflammation, or help loosen flakes. Not all of them work the same way, so understanding your options helps you pick the right one.
Ketoconazole
This is one of the most effective options available without a prescription. It kills the Malassezia fungus by disrupting its cell membranes. In a large clinical trial comparing it head-to-head with zinc pyrithione, ketoconazole 2% shampoo achieved 73% improvement in dandruff severity at four weeks, and 57% of users saw complete clearing.
Zinc Pyrithione
Found in many popular shampoo brands, zinc pyrithione works by disrupting the fungus’s ability to transport nutrients across its cell membrane. It’s slightly less potent than ketoconazole (67% improvement in the same trial, with 44% full clearing) but still effective for mild to moderate dandruff. It also has antibacterial properties, which can help with general scalp health.
Selenium Sulfide
This ingredient fights dandruff through antifungal activity and by slowing the rate at which scalp cells divide and shed. It’s a good choice if other shampoos haven’t worked, though it can temporarily discolor light or chemically treated hair.
Salicylic Acid
Rather than targeting the fungus directly, salicylic acid works as a keratolytic, meaning it dissolves the bonds holding dead skin cells together. This helps loosen and remove existing flakes. It pairs well with antifungal shampoos but can leave the scalp feeling dry on its own, so follow up with a conditioner.
How to Use Medicated Shampoo Correctly
The biggest mistake people make with dandruff shampoo is rinsing it out too quickly. These products need contact time with your scalp to work. Lather the shampoo into your scalp (not just your hair), then leave it on for three to five minutes before rinsing. Skipping this step is the most common reason people think their shampoo “doesn’t work.”
For most people, using a medicated shampoo three to four times per week is the right frequency during a flare-up. You can use your regular shampoo on the other days. Most people notice itch relief within the first couple of washes and visible flake reduction within one to two weeks. Full clearing typically takes two to four weeks of consistent use. Severe cases may take closer to four weeks.
If you have curly, coiled, or textured hair, you may want to use medicated shampoo less often, around once or twice a week, to avoid stripping moisture. On non-wash days, focus on keeping the scalp moisturized and avoid heavy oils near the roots, which can feed the fungus.
Natural Options That Have Evidence
Tea tree oil is the most studied natural remedy for dandruff. A randomized clinical trial found that a shampoo containing 5% tea tree oil reduced dandruff severity by 41% over four weeks, compared to just 11% with a placebo. That’s meaningful, though less dramatic than ketoconazole or zinc pyrithione. Look for shampoos that list tea tree oil at around 5% concentration. Pure essential oil applied directly to the scalp can cause irritation, so stick with formulated products.
Coconut oil is sometimes recommended for its moisturizing and mild antifungal properties, but clinical evidence for dandruff specifically is thin. It may help with the dryness and itching that come alongside flaking, especially if you have textured hair and are spacing out medicated washes.
Daily Habits That Help
Washing your hair regularly matters more than most people realize. If you let oil accumulate on your scalp for days between washes, you’re creating the exact environment Malassezia loves. For people with straight or wavy hair, washing every day or every other day during a flare-up helps control oil levels. For curly and coiled hair types, a co-wash (conditioner-only wash) between medicated shampoo days keeps things balanced without over-drying.
Avoid scratching your scalp, even when it itches. Scratching creates micro-tears that increase inflammation and can lead to secondary infections. If itching is intense, an antifungal shampoo with zinc pyrithione often provides relief within one or two washes.
Stress management plays a role too. Stress doesn’t cause dandruff on its own, but it suppresses immune function and increases oil production, both of which let the fungus flourish. People often notice flare-ups during high-stress periods, and getting sleep, exercise, and stress under control can reduce recurrence.
When It Might Not Be Simple Dandruff
Dandruff exists on a spectrum with seborrheic dermatitis. In fact, dermatologists consider dandruff the mildest form of seborrheic dermatitis, limited to the scalp. When the condition progresses, you may notice thickened, crusty, or scaly patches rather than just fine white flakes, along with redness that extends to the hairline, eyebrows, or sides of the nose.
Scalp psoriasis can look similar but tends to produce thicker, silvery-white scales with well-defined borders, and it often extends beyond the hairline onto the forehead or behind the ears. If your symptoms don’t improve after four weeks of consistent over-the-counter treatment, or if you’re seeing thick plaques, persistent redness, or hair thinning, a dermatologist can distinguish between these conditions and prescribe stronger treatments.
Keeping Dandruff From Coming Back
Dandruff is a chronic condition, meaning it can be controlled but not permanently cured. Once your scalp clears, you can reduce your medicated shampoo to once or twice a week as maintenance. Many people find they can rotate between a medicated and a regular shampoo indefinitely without flare-ups.
If one active ingredient stops working over time, switch to a different one. Rotating between ketoconazole, zinc pyrithione, and selenium sulfide every few months is a common strategy that keeps the fungus from adapting. Pay attention to seasonal patterns too. Dandruff often worsens in fall and winter when indoor heating dries out the air, so you may need to increase your medicated wash frequency during colder months.

