How to Get Rid of Scalp Pimples and Keep Them Away

Scalp pimples clear up for most people with a combination of the right medicated shampoo, a hard look at the hair products they use, and consistent washing habits. The bumps are usually a form of folliculitis, meaning inflamed hair follicles, and they respond well to over-the-counter active ingredients like salicylic acid or antifungal agents. Keeping them from coming back, though, requires understanding what triggered them in the first place, because the scalp has its own quirks that make it different from treating acne on your face or back.

What Scalp Pimples Actually Are

Most bumps on the scalp are inflamed hair follicles. The scalp is densely packed with follicles, each attached to a sebaceous gland that produces oil. When a follicle gets clogged by dead skin, excess sebum, or product residue, bacteria or fungi can colonize it and trigger a red, sometimes painful bump. In a histological study of folliculitis cases, about a quarter of inflamed follicles showed bacterial colonization, with Staphylococcus species being the most common culprit, while a smaller percentage involved fungal organisms.1PubMed. Microbiology of folliculitis: a histological study of 39 cases That leaves a majority of cases where no infectious agent is clearly to blame, which means mechanical irritation, product buildup, or immune-driven inflammation are doing the work on their own.

This distinction matters because it changes how you treat the problem. If bacteria are driving the bumps, antibacterial washes help. If a yeast called Malassezia is involved, antifungal shampoos are the answer. And if the issue is purely product-related clogging, no medicated product will work as well as simply switching what you put on your hair.

Over-the-Counter Treatments That Work

You do not need a prescription for the first line of treatment. Three types of active ingredients cover most scalp-pimple scenarios, and they are all widely available in drugstore shampoos and scalp treatments.

  • Salicylic acid: This is the go-to for clogged follicles. Salicylic acid is oil-soluble, so it can penetrate into the pore and dissolve the plug of dead skin and sebum that started the problem. It has well-documented comedolytic properties, meaning it breaks down the material that forms comedones (the technical name for a clogged pore).2PubMed Central. Salicylic acid as a peeling agent: a comprehensive review Clinical testing also shows that repeated application of salicylic acid peels reduces sebum output on the skin surface, which helps prevent new clogs from forming.3PubMed. Comparative study of the effect of 50% pyruvic and 30% salicylic peels on the skin lipid film in patients with acne vulgaris Look for shampoos or scalp serums with 2–3% salicylic acid, and let them sit on your scalp for a few minutes before rinsing.
  • Ketoconazole and other antifungals: If your scalp bumps come with flaking or if dandruff shampoos seem to help, yeast overgrowth is likely part of the picture. Ketoconazole shampoo (available over the counter at 1% strength in most countries, or 2% by prescription) targets Malassezia, the yeast genus involved in both dandruff and certain types of folliculitis. Some herbal formulations containing ingredients like eugenol and menthol have shown antifungal activity against Malassezia comparable to ketoconazole in lab settings, though clinical evidence on those is thinner.4International Journal of Drug Delivery Technology. Herbal Shampoo Formulations Enriched with Phytoconstituents as Effective Alternatives to Ketoconazole: Comparative Physicochemical and Antifungal Evaluation Against Malassezia furfur Zinc pyrithione and selenium sulfide shampoos also have antifungal action and are easier to find.
  • Benzoyl peroxide: This one targets bacteria directly by releasing oxygen into the follicle, creating an environment where anaerobic bacteria struggle to survive. Benzoyl peroxide washes in the 4–10% range are available in body-wash form and can be used on the scalp, though they will bleach towels and pillowcases. If you have color-treated hair, this is worth keeping in mind.

A reasonable starting approach is to alternate a salicylic acid shampoo with an antifungal one, using each two or three times a week for at least a month before judging results. Let both sit on the scalp for three to five minutes rather than rinsing immediately.

Tea Tree Oil and Other Home Remedies

Tea tree oil shows up in almost every natural-remedy list for acne, and there is some basis for that reputation. It has demonstrated antibacterial, anti-inflammatory, and antioxidant properties, and reviews of the available research suggest it can reduce the number of inflammatory lesions like papules and pustules.5PubMed Central. Tea Tree Oil: Properties and the Therapeutic Approach to Acne-A Review The catch is that the studies vary so widely in design and concentration used that it is hard to make firm recommendations about dose or formulation. Tea tree oil also needs to be diluted before it touches skin. Applying it undiluted to an irritated scalp can cause contact dermatitis, which adds a new problem on top of the original one.

Apple cider vinegar rinses are another popular suggestion. The idea is that the acidity rebalances scalp pH and discourages microbial overgrowth. There is no strong clinical evidence supporting this for scalp acne specifically, though dilute vinegar rinses are unlikely to cause harm at concentrations around one part vinegar to three parts water. The risk is irritation if you use it too strong or too often, and the smell is something you either tolerate or do not.

Hair Products Are a Bigger Problem Than Most People Realize

If your scalp pimples appeared gradually and do not respond to medicated shampoos, the culprit may be sitting on your bathroom shelf. Heavy hair products, especially pomades, waxes, thick conditioners, and oil-based serums, are notorious for clogging follicles along the hairline and scalp. Research dating back decades found that about 70% of long-term pomade users developed a recognizable pattern of acne-like bumps on the forehead and temples, with more elaborate product formulations causing more frequent and more severe eruptions.6JAMA Dermatology. Pomade Acne That same study found that applying pomades to skin under occlusion for eight weeks produced early comedone formation under the microscope.

The problem extends well beyond pomades. Many common cosmetic ingredients are mildly comedogenic, including lanolin, petrolatum, certain vegetable oils, butyl stearate, lauryl alcohol, and oleic acid.7JAMA Dermatology. Acne Cosmetica These show up in conditioners, leave-in treatments, hair masks, and styling products. You do not necessarily need to avoid all of them, but if you are prone to scalp breakouts, keeping heavy products away from your scalp and applying them only to the mid-lengths and ends of your hair makes a real difference.

A useful test: stop all leave-in products and styling aids for two to three weeks while using a medicated shampoo. If the bumps start clearing, reintroduce products one at a time with a week between each. The offender usually reveals itself quickly.

How Often You Should Wash Your Hair

There is a persistent belief that washing your hair too often strips natural oils and makes scalp problems worse. For people dealing with scalp pimples, the opposite is usually true. Regular shampooing reduces the microbial load on the scalp and removes the sebum and dead skin that feed breakouts. A clinical study tracking patients with scalp conditions over 12 weeks found that consistent hair washing led to significant improvement in scaling, itchiness, and other skin symptoms. Malassezia levels decreased meaningfully by week eight in affected areas, and bacterial counts dropped significantly as early as week four.8PubMed. Physiological and microbiological verification of the benefit of hair washing in patients with skin conditions of the scalp

If you work out daily, wear hats or helmets frequently, or live in a humid climate, washing daily or every other day is reasonable. Sweat left sitting on the scalp is an underappreciated trigger. People with very coarse or textured hair who cannot realistically shampoo that often can use a gentle co-wash or micellar water on the scalp between full wash days. The goal is not squeaky-clean hair but a scalp that is not sitting under a layer of oil, sweat, and product residue for days at a time.

Stress, Diet, and Other Triggers You Might Not Expect

Your scalp is not isolated from the rest of your body, and systemic factors influence how much oil your sebaceous glands pump out. Psychological stress is one of the more underrated triggers. Stress activates a hormonal cascade that ultimately leads to elevated cortisol, which impairs skin barrier function and promotes sebum overproduction through receptors on the cells that produce oil.9CosmoDerma. Hypothalamic-pituitary-adrenal axis, hair, and sebum: Stress-mediated dermatologic disasters of the pandemic era Several skin conditions including acne, seborrheic dermatitis, and rosacea are recognized as being exacerbated by psychological stress.10Dermatological Reviews. Psychophysiological disorders and the skin If your scalp breakouts flare during high-stress periods, this connection is worth taking seriously, not as a replacement for topical treatment but as a reason to address the stress itself.

Diet is another area where evidence is building. A review of the relationship between glycemic index and acne found a strong association between high-carbohydrate diets and both the incidence and severity of acne.11Journal of Dermatology Research Reviews & Reports. Low Glycemic Index and Glycemic Load Diet in Reducing Acne Vulgaris The mechanism is believed to involve insulin and insulin-like growth factor, which stimulate sebaceous gland activity and skin cell turnover. This does not mean that cutting sugar will cure your scalp pimples. It does mean that a diet heavy in refined carbohydrates and sugary foods may be making the problem worse, and shifting toward lower-glycemic eating could help at the margins.

Hormonal changes, including those around menstruation, polycystic ovary syndrome, and androgen fluctuations, can also drive excess sebum production on the scalp. If your breakouts follow a hormonal pattern, that is worth mentioning to your doctor because hormonal treatments like spironolactone or oral contraceptives can sometimes help where topical products alone fall short.

When It Is Not Actually Acne

Not every bump on the scalp is a pimple, and misidentifying the problem is one of the main reasons people treat themselves for weeks with no improvement. A few conditions closely mimic scalp acne but require different approaches.

Seborrheic dermatitis is one of the most common look-alikes. It produces red, well-defined patches with greasy scales and can show up as papules that resemble pimples, particularly along the hairline, behind the ears, and on the upper face and back.12Egyptian Journal of Dermatology and Venerology. Acne mimickers The key giveaway is the flaking and scaling. If your “pimples” come with visible dandruff-like flakes, antifungal shampoos targeting Malassezia are more appropriate than acne treatments. The two conditions can also coexist, which makes things messier.

Acne keloidalis nuchae is a chronic scarring condition that affects the back of the scalp and neck, seen predominantly in men of African descent. Despite the name, it is not related to keloid scarring in other parts of the body, and it is not standard acne. It tends to appear after puberty and is rare after age 55.13PubMed Central. Acne keloidalis nuchae: prevalence, impact, and management challenges The bumps can become firm, raised, and eventually scar, leading to permanent hair loss in the affected area. If you notice hard bumps at the nape of your neck that are not responding to typical acne treatments, this condition should be on your radar, and early treatment from a dermatologist can prevent scarring.

Scalp psoriasis is another mimic. It produces thick, silvery-white scales on red, raised patches and can be itchy or painful. Contact dermatitis from hair dyes, fragrances, or preservatives can also cause bumps and irritation that look like folliculitis but are actually an allergic or irritant reaction. If switching products and using medicated shampoos for a month does not help, seeing a dermatologist to get a proper diagnosis is a better use of your time than buying another product.

Prescription Options for Stubborn Cases

When over-the-counter treatments are not cutting it after a reasonable trial of six to eight weeks, prescription options can make a significant difference. Topical antibiotics like clindamycin lotion applied directly to the scalp can knock down bacterial folliculitis. Oral antibiotics, typically from the tetracycline family, are sometimes prescribed for more widespread or inflammatory cases, though they come with the usual concerns about antibiotic resistance and gut disruption with long-term use.

For severe, deep, cystic-type scalp acne that scars or does not respond to other treatments, isotretinoin is the most powerful option available. It works through multiple pathways at once: it suppresses sebaceous gland activity, normalizes how skin cells behave inside the follicle, reduces inflammation, and indirectly lowers the population of acne-causing bacteria.14PubMed. Isotretinoin: state of the art treatment for acne vulgaris It remains the single most effective treatment for severe recalcitrant nodulocystic acne and is one of the few interventions that can prevent scarring in aggressive cases. The trade-off is a long list of side effects including dry skin, dry lips, joint pain, and the absolute requirement for pregnancy prevention during treatment due to severe birth-defect risks. It is not a casual prescription, but for people whose scalp has progressed to painful nodules or cysts, it can be transformative.

Severe Scalp Conditions That Go Beyond Ordinary Pimples

Two uncommon but serious conditions are worth knowing about, because they start looking like bad acne and can cause permanent damage if ignored.

Dissecting cellulitis of the scalp produces deep, interconnected abscesses and nodules, often with draining sinuses. It is painful and progressive. A systematic review of treatment approaches found that biologics and laser therapy, though used less frequently, showed the best chances of achieving remission compared to conventional treatments.15PubMed. Approach to treatment of refractory dissecting cellulitis of the scalp: a systematic review This is not something you manage at home with shampoo. If you have large, boggy, painful swellings on the scalp that merge or drain, get to a dermatologist promptly.

Erosive pustular dermatosis of the scalp is another condition that can be mistaken for severe acne or infection. It presents with redness, erosions, crusts, and follicular pustules, and in advanced stages it leads to scarring hair loss.16Dove Press / PubMed Central. Erosive pustular dermatosis of the scalp: challenges and solutions It tends to occur on sun-damaged scalps in older adults and is often triggered by some form of local skin injury. The treatment involves potent topical steroids and sometimes calcineurin inhibitors rather than acne medications.

The broader point here is that “scalp pimples” is a description, not a diagnosis. Most of the time, what people are dealing with is straightforward folliculitis or mild scalp acne that responds to the approaches outlined above. But if bumps are getting larger, scarring, draining, or spreading despite treatment, the underlying condition may be something else entirely, and correct identification changes the treatment plan completely.

Building a Prevention Routine

Once you have cleared an active flare, preventing the next one comes down to a handful of habits that are easier to maintain than you might think.

Keep using a medicated shampoo one to two times per week even after things clear up. This maintenance schedule keeps microbial populations and dead-skin buildup in check without overdrying your scalp. Alternate it with a gentle, fragrance-free shampoo on other wash days.

After workouts or heavy sweating, wash your hair or at least rinse your scalp. Sweat trapped under hair creates exactly the warm, damp, slightly acidic environment that bacteria and yeast love. If a full wash is not practical, a quick rinse and towel dry is better than nothing.

Audit your hair products. Anything you leave on your hair, whether it is a conditioner, serum, mousse, or oil, has the potential to migrate to your scalp. Apply conditioner from mid-lengths to ends. If you use styling products, try to keep them off the scalp itself. Switch to lighter, water-based formulations if you can.

Change your pillowcase frequently. Once or twice a week is a reasonable minimum. Your pillowcase accumulates oil, dead skin, product residue, and microbes, and you press your scalp into it for hours every night. The same logic applies to hats, helmets, and headbands. Wash or wipe them down regularly.

Resist the urge to pick or squeeze scalp bumps. The scalp has rich blood supply and heals well, but picking introduces bacteria from your fingers, spreads existing infection to neighboring follicles, and increases the risk of scarring. If a bump is painful and feels like it needs draining, a warm compress held against it for ten minutes will do more good than squeezing.