Why You Get Pimples in Your Hair: Causes & Fixes

Pimples in your hair usually form when hair follicles on your scalp get clogged with oil, dead skin cells, or product residue, then become inflamed or infected. Your scalp has some of the densest concentration of oil glands on your body, which makes it surprisingly acne-prone. The causes range from simple hygiene habits to hormonal shifts, and most cases clear up once you identify the trigger.

How Scalp Pimples Form

Every hair on your head grows out of a follicle, and each follicle is paired with an oil gland. These glands produce sebum, a waxy substance that keeps your hair and skin moisturized. When sebum, dead skin, or outside debris plugs a follicle, bacteria or yeast that normally live on your skin can multiply inside the blocked pore. The result is a red, tender bump that looks and feels a lot like a facial pimple.

Scalp pimples typically show up as small clusters of inflamed bumps, sometimes with a white, pus-filled top. They can be painful, itchy, or sore to the touch. You’ll usually notice them along the hairline, at the crown, or at the back of the head, though they can appear anywhere hair grows.

Hormones and Oil Production

Hormones called androgens directly control how much oil your scalp produces. Androgens stimulate the oil glands to grow larger and pump out more sebum. Your skin cells actually convert weaker hormones into more potent forms right inside the oil gland itself, which means local hormone activity in your scalp can be high even when your overall hormone levels seem normal.

This is why scalp breakouts often flare during puberty, around menstrual periods, during pregnancy, or at times of hormonal change. Stress can amplify the effect because it raises cortisol, which in turn influences androgen levels. If you notice your scalp gets oilier and breaks out during high-stress stretches, the hormone connection is likely part of the picture.

Hair Products Are a Common Culprit

Many shampoos, conditioners, styling gels, waxes, pastes, and sprays contain oils that can migrate onto your scalp and clog pores. Pomades and heavy styling products are especially problematic because they sit close to the roots. The American Academy of Dermatology specifically flags oil-containing hairstyling products as a leading cause of breakouts along the scalp and hairline.

If your pimples appeared after switching products, or if they cluster along the hairline where product tends to accumulate, try eliminating one product at a time. Look for labels that say “non-comedogenic” or “oil-free,” and make sure you rinse conditioner thoroughly rather than letting it sit on your scalp.

Sweat, Hats, and Friction

Anything that traps heat and moisture against your scalp creates ideal conditions for clogged follicles. Helmets, tight hats, headbands, and headphones are frequent offenders. The combination of pressure, friction, and sweat can produce a specific type of breakout sometimes called acne mechanica.

A few practical steps make a real difference if headgear is part of your daily routine:

  • Use a moisture-wicking liner inside helmets to absorb sweat and reduce friction.
  • Wash liners weekly to prevent bacterial buildup on the fabric.
  • Dry your hair fully before putting on a helmet or hat.
  • Wash your scalp within a few hours of heavy sweating rather than waiting until bedtime.

Yeast Overgrowth on the Scalp

Not every scalp bump is traditional acne. A yeast called Malassezia lives naturally on everyone’s skin, but when it multiplies too quickly, it can invade hair follicles and trigger a condition called pityrosporum folliculitis. The bumps look nearly identical to regular pimples, but they tend to be uniformly sized, intensely itchy, and they don’t respond well to typical acne treatments.

Warm, humid weather, heavy sweating, and oily skin all encourage Malassezia overgrowth. If your scalp bumps itch more than they hurt and standard acne washes aren’t helping, a shampoo containing ketoconazole (an antifungal ingredient available over the counter at 1% strength) targets the yeast directly. This distinction matters because treating a fungal problem with antibacterial products won’t clear it up.

How Often You Should Wash Your Hair

Infrequent washing lets oil and dead skin accumulate on the scalp, which promotes clogged follicles and can lead to dermatitis or dandruff. But washing too aggressively can strip the scalp and trigger rebound oil production, making the problem worse. The sweet spot depends on your hair type.

Dermatologists at the Mayo Clinic recommend that people with straight or fine hair wash every second or third day at minimum, with daily washing being fine if the scalp needs it. For people with textured or coily hair, once to twice a week with a couple of days between washes is typically enough to keep the scalp clean without causing dryness. On days between washes after heavy exercise, even a quick water rinse can help remove sweat residue.

Salicylic Acid and Other Treatments

For mild, occasional scalp pimples, an over-the-counter shampoo with salicylic acid can help. Salicylic acid dissolves the mix of oil and dead skin that plugs follicles, essentially unclogging them from the inside. Use it two to three times a week, letting it sit on your scalp for a couple of minutes before rinsing so it has time to work.

If the bumps are persistent or widespread, a shampoo with benzoyl peroxide is another option, though it can bleach towels and pillowcases. For yeast-related bumps, ketoconazole shampoo is the better choice. Whichever product you use, give it at least four to six weeks of consistent use before deciding it isn’t working. Scalp skin turns over slowly, and results take longer to appear than they would on your face.

When Scalp Pimples Signal Something Serious

Most scalp pimples are a nuisance, not a medical emergency. But a condition called folliculitis decalvans can start with what looks like ordinary pimples and progress to permanent hair loss. The key warning signs are hair growing in tufts, where several strands emerge from a single follicle like bristles on a toothbrush. You might also notice the scalp feeling unusually tight, along with crusting or scabbing after pustules drain.

When the affected follicles eventually die, the tufts fall out and leave behind scarring and bald patches that don’t regrow. Some people don’t notice symptoms until they start losing hair. If you see tufted growth, spreading bald spots, or pimples that keep recurring in the same area and getting worse, early treatment is the only way to minimize permanent damage.

Severe scalp acne of any type can also cause temporary hair loss around the inflamed area. The hair usually regrows once the inflammation resolves, but scarring from deep or prolonged infections can make the loss permanent.