How to Get Rid of Dandruff and Itchy Scalp: What Works

Dandruff and an itchy scalp are almost always caused by the same thing: a naturally occurring yeast on your skin that feeds on oil and leaves behind irritating byproducts. The good news is that over-the-counter medicated shampoos work well for most people, and a few changes to how you wash your hair can make a noticeable difference within weeks.

Why Your Scalp Flakes and Itches

A yeast called Malassezia globosa lives on everyone’s scalp, but it only causes problems for some people. This yeast feeds on the natural oils your scalp produces, breaking down triglycerides with enzymes called lipases. One of the byproducts of that process is oleic acid, a fatty acid that triggers inflammation and rapid skin-cell turnover in susceptible individuals. Researchers at the Journal of Investigative Dermatology confirmed this by applying oleic acid directly to scalps that had been cleared of all yeast. People prone to dandruff still developed flaking, while non-susceptible people did not. That individual sensitivity is why your roommate can skip shampoo for days with no issues while your scalp starts flaking after one.

Oil production, not dryness, drives the process. Your scalp’s oil-rich environment is exactly where Malassezia thrives, which is why dandruff tends to worsen during hormonal shifts, stressful periods, or seasons when you’re wearing hats that trap heat and moisture.

Dandruff, Dry Scalp, or Something More

Before you treat the problem, it helps to know what you’re dealing with. These three conditions look similar but respond to different approaches.

Dandruff produces small, white or yellowish flakes that appear in your hair and on your scalp. It’s confined to the scalp, and while it can itch, the skin underneath isn’t usually red or swollen. Dandruff is technically a mild form of seborrheic dermatitis.

Seborrheic dermatitis is the more aggressive version. It shows up as greasy, yellowish scales on defined patches of skin, often with visible redness and swelling. It can spread beyond your scalp to your eyebrows, the creases around your nose, behind your ears, and onto your chest. If you’re seeing flaking in those areas, you’re likely dealing with seborrheic dermatitis rather than simple dandruff.

Dry scalp happens when your skin lacks moisture. The flakes tend to be smaller and less oily, and your scalp feels tight rather than greasy. Dry scalp improves with gentler, moisturizing shampoos, while dandruff requires the opposite: active ingredients that target yeast or reduce oil.

There’s also contact dermatitis to consider. If the itching started after you switched hair products, detergents, or styling tools, you may be reacting to an ingredient rather than dealing with dandruff. Contact dermatitis typically causes more intense itching than dandruff and sometimes produces a dry rash or blisters.

Medicated Shampoos That Work

Over-the-counter medicated shampoos are the first-line treatment, and the FDA recognizes several active ingredients at specific concentrations for dandruff control. Each works differently, so if one doesn’t help after a few weeks, switching to another category often does.

  • Pyrithione zinc (0.3 to 2 percent): The most widely available option. It works primarily as an antimicrobial, reducing the population of Malassezia on your scalp. You’ll find it in brands like Head & Shoulders and Vanicream. It’s gentle enough for frequent use.
  • Selenium sulfide (1 percent): Available in products like Selsun Blue. It slows skin-cell turnover and has antimicrobial properties. It can discolor light or color-treated hair, so rinse thoroughly.
  • Ketoconazole (1 percent OTC, 2 percent prescription): A dedicated antifungal that directly targets the yeast responsible for flaking. Nizoral is the most common brand. It’s particularly effective for stubborn dandruff that hasn’t responded to zinc or selenium.
  • Salicylic acid: This doesn’t kill yeast. Instead, it works as an exfoliant by dissolving the lipids that hold dead skin cells together, loosening and lifting existing flakes. Because it’s lipid-soluble, it penetrates oily buildup on the scalp more effectively than water-based exfoliants. It pairs well with an antifungal shampoo: use salicylic acid to clear the flakes, and an antifungal to address the root cause.
  • Coal tar (0.5 to 5 percent): Slows skin-cell production and reduces inflammation. It has a strong smell and can stain light hair, but it’s effective for people who also deal with scalp psoriasis.

How to Use Medicated Shampoo Correctly

The biggest mistake people make with dandruff shampoo is rinsing it out too quickly. Most medicated shampoos need 3 to 5 minutes of contact time on your scalp before you rinse. Lathering and immediately rinsing doesn’t give the active ingredients enough time to work. Massage the shampoo into your scalp (not just your hair), then leave it while you wash the rest of your body.

For frequency, aim for 2 to 3 medicated washes per week as a starting point. If your scalp tends to be oily, you may need 3 to 4 sessions weekly to see improvement. Consistency matters more than intensity. Using a medicated shampoo once when you notice flakes and then stopping is why many people feel like “nothing works.” Plan on at least 4 weeks of regular use before judging whether a product is effective.

On non-medicated days, use a gentle, sulfate-free shampoo to avoid stripping your scalp and triggering rebound oil production. Once your symptoms are under control, you can taper down to once or twice a week with the medicated shampoo to maintain results.

Natural and Complementary Options

Tea tree oil is the most studied natural alternative. One clinical trial found that a shampoo containing 5 percent tea tree oil improved dandruff over four weeks, though the evidence isn’t strong enough for it to be considered a reliable standalone treatment. If you want to try it, look for shampoos that list tea tree oil at or near 5 percent concentration. Lower concentrations are unlikely to do much.

Apple cider vinegar rinses are popular but lack clinical evidence. The idea is that the acidity helps restore scalp pH and inhibit yeast, which is plausible but unproven. If you try it, dilute it heavily (one part vinegar to three or four parts water) to avoid irritating already-inflamed skin.

Coconut oil can help with dry scalp but may actually worsen true dandruff. Because Malassezia feeds on certain oils, adding more oil to an already oily scalp can provide more fuel for the yeast. If your flakes are from dryness rather than dandruff, coconut oil applied before shampooing can help. If your scalp is oily and flaky, skip it.

Lifestyle Factors That Affect Your Scalp

Stress is one of the most consistent triggers for dandruff flare-ups. It doesn’t cause dandruff directly, but it initiates and worsens episodes, likely through its effects on immune function and inflammation. If your dandruff reliably gets worse during high-stress periods, that’s not coincidental.

Diet plays a role too, though the research is less definitive. An anti-inflammatory dietary approach, particularly reducing refined carbohydrates, may help people with stubborn seborrheic dermatitis. The U.S. Department of Veterans Affairs notes that some clinicians recommend reducing breads, cheeses, beer, wine, and excessive carbohydrates for people who struggle to control their symptoms, though rigorous clinical trials on this approach are lacking. At minimum, a diet heavy in refined sugar and processed foods promotes systemic inflammation, which won’t help an already-inflamed scalp.

Washing frequency matters more than most people realize. If you’re prone to dandruff, going several days without washing lets oil accumulate, giving Malassezia more to feed on. You don’t need to shampoo daily, but letting oil build up for days at a time works against you.

Signs Your Scalp Needs Professional Treatment

Most dandruff responds to consistent OTC treatment within a month. But some situations call for a dermatologist. Watch for greasy, yellowish plaques with visible redness or swelling, which suggest seborrheic dermatitis that may need prescription-strength treatment. Crusting, oozing, or skin that looks infected warrants a visit, since scratching an itchy scalp can break the skin and allow bacteria in. If you’ve been using medicated shampoos consistently for 4 to 6 weeks with no improvement, a dermatologist can prescribe stronger antifungal treatments or topical steroids to break the cycle. And if the flaking and itching are severe enough to disrupt your sleep or daily routine, that alone is reason enough to get help.