Why Do I Have Pimples in My Hair: Causes & Fixes

Those bumps in your hair are almost certainly inflamed hair follicles, a condition called scalp folliculitis. Your scalp has more hair follicles and oil glands per square inch than nearly any other part of your body, making it especially prone to clogged pores and bacterial buildup. The good news: most cases are superficial, self-limiting, and manageable with simple changes to your routine.

What’s Actually Happening Under Your Hair

Each hair on your scalp grows out of a tiny pocket called a follicle. Attached to every follicle is an oil gland that produces sebum, a waxy substance that keeps your hair and skin moisturized. Sebum travels along the hair root through a small duct to reach the skin’s surface. When that duct gets blocked by excess oil, dead skin cells, or product residue, bacteria or yeast that already live on your skin can multiply inside the follicle and trigger inflammation. The result looks and feels a lot like a pimple: a red, tender bump that may fill with pus.

The most common culprit is Staphylococcus aureus, a bacterium that lives on everyone’s skin without causing problems until it gets trapped in a follicle. In humid environments, a yeast called Malassezia can also overgrow. Your scalp’s dense, lipid-rich environment is especially hospitable to these lipid-loving microbes, which is why scalp bumps are more common than you might expect.

Scalp Folliculitis vs. Scalp Acne

These two conditions look nearly identical to the naked eye, but they require different approaches. The key difference is comedones (blackheads and whiteheads). Scalp acne produces them; folliculitis does not. Acne is driven by clogged pores and hormonal oil production, while folliculitis is primarily an infection of the follicle itself. A dermatologist can often tell them apart using a magnifying device, but for most people at home, the distinction matters less than addressing the underlying causes, which overlap significantly.

Why Your Scalp Produces Too Much Oil

Hormones are the main driver. Your body converts testosterone into a more potent form called DHT, which binds to receptors inside oil-producing cells and ramps up their output. This is why scalp breakouts often worsen during puberty, hormonal shifts, or periods of stress. Insulin and stress hormones like cortisol also stimulate oil gland growth and activity, which explains why breakouts can flare during high-stress periods or with dietary changes that spike blood sugar.

Humidity compounds the problem. Warm, moist conditions on the scalp encourage fungal overgrowth, particularly of Malassezia. If you live in a humid climate, exercise heavily, or wear hats frequently, your scalp stays damp longer, creating ideal conditions for both bacterial and fungal proliferation.

Hair Products That Clog Follicles

Many styling products contain ingredients that seal moisture into hair but also seal off follicle openings. Pomades, edge control gels, and heavy conditioners are common offenders. Ingredients most likely to block pores include coconut oil, cocoa butter, sesame oil, soybean oil, avocado oil, liquid paraffin, and mink oil. These are effective moisturizers, but when they migrate from your hair shaft to your scalp, they create a film over follicle openings that traps bacteria underneath.

The breakouts this causes tend to cluster along the hairline, part line, or wherever product application is heaviest. If your bumps follow that pattern, your styling routine is the most likely trigger. Switching to products labeled non-comedogenic, or simply keeping heavy products away from your scalp and focused on mid-lengths and ends, often resolves the problem within a few weeks.

Everyday Habits That Make It Worse

Sweat is a major contributor, especially if it sits on the scalp for hours after a workout. The combination of moisture, warmth, and salt creates a breeding ground for bacteria. Tight-fitting hats and headbands press against follicles, creating friction that irritates them and traps sweat underneath. Helmets without proper ventilation do the same.

Practical changes that help:

  • Wash your hair after sweating. If daily washing feels too drying, rinse with water and use a lightweight conditioner on the ends only.
  • Choose ventilated helmets that fit properly without pressing tightly against your scalp.
  • Skip tight headbands or swap them for looser alternatives.
  • Wash hats and pillowcases regularly. Product residue, oil, and bacteria accumulate on fabrics that touch your hair and get reintroduced to your scalp nightly.

Treatments That Work

Most mild cases respond to better hygiene alone. Antibacterial soap or a medicated shampoo used a few times per week can clear superficial bumps within one to two weeks. An antifungal shampoo containing 2% ketoconazole targets yeast-driven folliculitis and is available over the counter in most pharmacies. Lather it into the scalp, leave it on for three to five minutes before rinsing, and use it two to three times per week.

For bumps that are clearly pus-filled and painful, a salicylic acid-based shampoo helps by dissolving the dead skin and oil plugging the follicle. You can also spot-treat individual bumps with a benzoyl peroxide wash, though be aware it can bleach towels and pillowcases.

If over-the-counter options don’t improve things within a few weeks, or if bumps keep returning, a dermatologist can take a swab of the fluid to identify the exact organism involved. Deeper infections from Staphylococcus aureus sometimes require prescription oral antibiotics chosen based on culture results. People who have been on long-term antibiotics for facial acne can develop a specific type of folliculitis caused by gram-negative bacteria, which needs a different treatment approach entirely.

When Scalp Bumps Signal Something Serious

In rare cases, persistent scalp bumps are an early sign of a condition called folliculitis decalvans, which can cause permanent hair loss if left untreated. The warning signs are distinct: hair starts growing in tufts where several strands emerge from a single follicle, resembling bristles on a toothbrush. Pustules tend to cluster on the back of the head. The scalp may feel tight or painful, and crusting or scabs form after bumps drain.

Some people notice no symptoms at all until patches of hair start thinning. If you see tufted hair growth, spreading bald patches, or scarring where bumps have healed, those are signs to get a dermatologist’s evaluation promptly. A provider will typically examine the scalp with a magnifying device, swab any active pustules for bacterial culture, and may take skin scrapings to rule out fungal infections like ringworm. Early treatment can prevent further hair loss, but follicle damage that has already scarred over is generally permanent.