What to Do If Your Scalp Hurts: Causes and Relief

If your scalp hurts, the first step is figuring out whether the pain is coming from your skin, your hair follicles, or deeper nerve irritation, because each one calls for a different response. Most scalp pain traces back to something manageable: a too-tight hairstyle, a reaction to a hair product, sunburn, or an inflammatory skin condition like dandruff or psoriasis. In rarer cases, nerve issues or infections are the source. Here’s how to narrow it down and get relief.

Check the Simplest Explanations First

Before assuming something serious is going on, rule out the everyday culprits. Tight ponytails, braids, buns, headbands, and helmets can all make your scalp ache, especially near your hairline. The American Academy of Dermatology puts it simply: if your hairstyle feels painful, it’s too tight. Take it out immediately. Over time, repeated tension on the same spots can lead to permanent hair loss (traction alopecia), so switching up your style regularly and keeping braids in for no longer than six to eight weeks matters.

Hair products are another common trigger. The ingredients most likely to irritate your scalp are fragrances, preservatives, surfactants like cocamidopropyl betaine (found in many shampoos and conditioners), and hair dye chemicals, particularly p-phenylenediamine (PPD). If your scalp started hurting after switching to a new shampoo, dye, or styling product, stop using it and see if the pain fades over a few days. Washing with a gentle, fragrance-free shampoo in the meantime can help you figure out whether a product was the problem.

Sunburn is easy to overlook on the scalp, especially along your part line or at the crown where hair is thinner. A sunburned scalp typically heals within about a week. Cool compresses, aloe vera gel, and coconut oil can ease discomfort while it heals. Until the burn resolves, avoid heat styling and direct sun exposure.

Inflammatory Skin Conditions

Seborrheic dermatitis is one of the most common scalp conditions, and it’s essentially a more intense version of dandruff. It causes itchy, greasy, flaking patches that can become painful if the skin gets inflamed or cracked. You might notice white or yellowish scales, redness, and sometimes small raised bumps. Scratching can lead to temporary hair shedding in the affected areas, though the hair grows back once the inflammation calms down.

Scalp psoriasis produces thicker, more defined plaques that can extend past the hairline onto the forehead, behind the ears, or down the neck. Both conditions respond to medicated shampoos. Over-the-counter options containing 1% ketoconazole (an antifungal) or salicylic acid can reduce flaking and inflammation. How often you use them depends on severity. Some people need it every other day initially, while others maintain results with once-a-week use. Prescription-strength formulas contain 2% ketoconazole or higher and are worth asking about if drugstore versions aren’t cutting it.

Eczema, contact dermatitis from allergens, and even acne can also show up on the scalp. If you see redness, bumps, or flaking that doesn’t clear up with basic care within a couple of weeks, a dermatologist can usually diagnose the issue just by looking at it.

Folliculitis and Scalp Infections

If your scalp pain comes with clusters of small pimple-like bumps, especially ones that are pus-filled, tender, or crusting over, you likely have folliculitis. This is an infection of the hair follicles, most often caused by staph bacteria. The bumps may burn or itch in addition to hurting. Mild cases often resolve on their own with gentle cleansing and avoiding hats or products that trap moisture against the scalp.

Deeper infections are a different story. A boil (furuncle) appears as a sudden, painful, swollen lump where a follicle has become deeply infected. A carbuncle is a cluster of boils. These usually need medical attention because they can worsen quickly and sometimes require drainage. Fungal folliculitis also occurs, though it tends to affect the back and chest more than the scalp. If bumps persist for more than a week or keep coming back, it’s worth getting a proper diagnosis so you’re treating the right type of infection.

Pain Near the Hair Roots Without Visible Cause

Some people experience a burning, stinging, or aching sensation at the base of their hair shafts with no obvious rash or bumps. This is called trichodynia, and it’s most closely associated with hair loss conditions like telogen effluvium (stress-related shedding) and alopecia areata (patchy hair loss caused by the immune system). Another related condition, centrifugal cicatricial alopecia (CCCA), causes hair loss starting at the crown and spreading outward, along with scalp pain and itching.

Trichodynia can feel puzzling because your scalp looks normal but feels genuinely sore. If you’re also noticing more hair in your brush or on your pillow, that combination is a strong signal to see a dermatologist. Addressing the underlying hair loss condition usually improves the scalp pain as well.

Nerve-Related Scalp Pain

Occipital neuralgia is a less common but very distinctive cause of scalp pain. It involves the occipital nerves, which run from the back of your neck up and over your scalp to your forehead. When one of these nerves is irritated or compressed, you feel shooting, zapping, or electric-shock-like pain on one side of the scalp. The pain can radiate forward toward one eye.

What makes this condition particularly disruptive is the extreme sensitivity it can create. Some people find that even resting their head on a pillow or washing their hair becomes unbearable. Others experience numbness in the affected area between pain episodes. The spot where the nerve enters the scalp, typically at the base of the skull, is often exquisitely tender to the touch. If your scalp pain follows this pattern, especially the one-sided shooting quality, a neurologist can confirm the diagnosis and discuss nerve block treatments that provide relief.

Symptoms That Need Prompt Attention

Most scalp pain is uncomfortable but not dangerous. A few patterns, however, call for faster action.

  • Scalp pain with fever, swelling, or fluid drainage: These suggest an infection that may be spreading and could need antibiotics or drainage.
  • Scalp tenderness with new headaches, jaw pain when chewing, or vision changes: In people over 50, this combination can signal temporal arteritis, an inflammation of blood vessels near the temples. Left untreated, it can cause permanent vision loss. The classic warning signs are a new headache, double vision or brief episodes of vision loss in one eye, and pain in the jaw muscles while eating.
  • Rapidly spreading hair loss with pain: Scarring hair loss conditions can permanently destroy follicles if not treated early.
  • Open sores or ulcers on the scalp that don’t heal: Persistent sores warrant evaluation to rule out skin cancer or other serious conditions.

Simple Relief While You Sort It Out

Whatever the cause, a few strategies can reduce scalp pain in the short term. Avoid heat styling tools, which add irritation to already-inflamed skin. Switch to a gentle, fragrance-free shampoo and skip any leave-in products until the pain settles. Wash with lukewarm water rather than hot, since heat increases blood flow to the skin and can amplify soreness. If your scalp is visibly inflamed, an over-the-counter anti-inflammatory pain reliever can help while you identify the root cause.

Loosening your hairstyle, sleeping on a silk or satin pillowcase to reduce friction, and resisting the urge to scratch are small changes that make a noticeable difference. If nothing improves within two weeks of these adjustments, or if you’re dealing with visible bumps, flaking, sores, or hair loss alongside the pain, a dermatologist can usually pinpoint the issue in a single visit and get you on a targeted treatment plan.