What Causes Scalp Pimples and How to Treat Them

Scalp pimples are almost always caused by inflamed or infected hair follicles, a condition called folliculitis. The scalp is packed with hair follicles and oil glands, making it especially prone to clogged pores, bacterial overgrowth, and irritation from hair products. The specific trigger varies from person to person, but it usually comes down to some combination of excess oil, microbes, hormones, and external irritants.

How Scalp Pimples Form

Each hair on your scalp grows out of a tiny pocket called a follicle. Oil glands attached to these follicles produce sebum, a waxy substance that keeps your hair and skin moisturized. When too much sebum builds up, or dead skin cells block the opening of a follicle, bacteria and yeast that naturally live on your skin get trapped inside. The follicle becomes inflamed, swells, and forms what looks and feels like a pimple.

Sometimes the bumps are superficial: small, fragile, yellowish-white pustules that appear in clusters, itch or burn mildly, and heal within a few days without leaving a mark. Other times the infection goes deeper into the follicle, producing larger, more painful bumps that can take longer to resolve.

Bacteria and Yeast on the Scalp

The two main microbes involved in scalp pimples are staphylococcus bacteria and a yeast called Malassezia. In one study of patients with persistent scalp folliculitis, Malassezia spores were detected in 96% of cases. Bacterial cultures from the same patients grew coagulase-negative staphylococcus in 64% of cases, while nearly a third showed no bacterial growth at all, suggesting the yeast was doing most of the damage on its own.

This matters because it changes how scalp pimples respond to treatment. If yeast is the primary driver, antibacterial products alone won’t clear things up. Itchy bumps without blackheads or whiteheads are a hallmark of yeast-driven folliculitis, which sets it apart from typical acne.

Hormones and Oil Production

Your hormones have a direct effect on how much oil your scalp produces. Androgens (testosterone and related hormones) are the primary drivers. Testosterone gets converted into a more potent form in the skin, which then binds to receptors on your oil glands and ramps up sebum output. People with higher androgen levels, or whose oil glands are simply more sensitive to normal androgen levels, tend to produce more sebum and break out more easily.

Androgens also play a role in the very first step of a clogged pore. Receptors for these hormones sit in the part of the follicle where plugging begins, meaning hormones can trigger the initial blockage that sets the whole process in motion. This is one reason scalp pimples are more common during puberty, around menstrual cycles, and during other hormonal shifts.

Insulin and insulin-like growth factor also increase sebum production. High-glycemic diets that spike insulin levels can, over time, contribute to oilier skin. Stress hormones add to the problem too: cortisol and related compounds stimulate oil gland growth and activity.

Hair Products and Pomade Acne

Heavy styling products are one of the most common and most fixable causes of scalp pimples. Hair pomades, oils, gels, and waxes often contain petroleum jelly, mineral oil, and lanolin, all of which are comedogenic, meaning they block pores. When these products sit on the scalp or migrate to the hairline, they create a film that traps dirt, sweat, and bacteria against the skin.

The resulting breakouts tend to cluster along the hairline, forehead, temples, and behind the ears. Dermatologists sometimes call this “pomade acne.” If your scalp pimples appeared or worsened after switching to a new styling product, that product is a likely culprit. Switching to water-based, non-comedogenic formulas and keeping products away from the scalp itself often resolves the problem within a few weeks.

Sweat, Friction, and Hygiene

Sweat alone doesn’t cause scalp pimples, but it creates the right conditions. When sweat mixes with oil and sits on the scalp for hours, particularly under a hat, helmet, or headband, it softens the skin around follicle openings and makes them easier to clog. Friction from tight headwear can also irritate follicles directly.

Washing your scalp after exercise or heavy sweating helps prevent buildup. Harvard Health recommends cleaning the skin gently with a mild soap and water after sweating, whether from a workout or time spent outdoors. You don’t need to scrub aggressively. Gentle cleansing is enough to remove the mix of sweat, oil, and microbes before they can settle into follicles.

On the other hand, washing too frequently with harsh shampoos strips the scalp of its natural oils, which can trigger rebound oil production and make things worse. Finding the right balance depends on your hair type and activity level, but for most people, washing every day or every other day during active breakouts is reasonable.

Ingrown Hairs and Physical Irritation

Not all scalp pimples involve infection. Sometimes a hair curls back into the skin as it grows, causing the follicle to become inflamed without any bacteria or yeast involved. This is more common after close shaving or buzzing the scalp. The resulting bump looks identical to an infected pimple but is purely an inflammatory reaction to the trapped hair. These tend to resolve on their own once the hair breaks through the skin surface.

Medications That Trigger Breakouts

Certain medications can cause folliculitis as a side effect. Lithium and cyclosporine are well-documented triggers. Some cancer treatments that target a specific growth receptor cause a widespread eruption of follicular pustules on the scalp, face, and chest. If your scalp pimples started shortly after beginning a new medication, it’s worth flagging the timing with your prescriber.

How to Treat Scalp Pimples

Treatment depends on whether bacteria, yeast, or simple clogging is the main issue. For mild cases driven by oil and buildup, a shampoo containing salicylic acid (typically in 1% to 3% concentrations) helps dissolve the plugs inside follicles and reduce inflammation. Salicylic acid is oil-soluble, so it penetrates into pores better than most other exfoliants.

If yeast is involved, antifungal shampoos are the first line. Ketoconazole 2% shampoo is one of the most studied options. In clinical trials, it performed comparably to other antifungal and combination shampoos for reducing scalp symptoms over four weeks of use. Zinc pyrithione shampoos, available over the counter, also have antifungal properties and work for milder cases.

For bacterial folliculitis, gentle cleansing and topical antiseptics often clear mild cases. Persistent or widespread breakouts may need a course of oral antibiotics prescribed by a dermatologist. Keeping your hands off the bumps matters: picking or squeezing scalp pimples pushes bacteria deeper into the follicle and can turn a superficial issue into a deeper, more painful one.

When Scalp Pimples Signal Something More Serious

Most scalp pimples are harmless and temporary. But a few patterns deserve attention. Folliculitis decalvans is a chronic inflammatory condition where recurring pustules, erosions, and crusted lesions destroy hair follicles permanently. The affected areas become scarred, and the hair loss is irreversible. It’s rare, but its early stages can look like ordinary scalp pimples. The key warning signs are painful, recurring clusters that leave behind patches of thinning or missing hair.

Another condition, dissecting cellulitis of the scalp, produces fluctuating, interconnected nodules (soft, boggy lumps rather than firm pimples) that can also lead to patchy hair loss. If your scalp bumps are deep, painful, recurrent in the same spots, or associated with any hair loss, those are signs that something beyond simple folliculitis is going on.