Why Does My Scalp Hurt? Causes and Treatments

Scalp pain is surprisingly common, affecting roughly a third of people at any given time, and it has a wide range of causes. Some are as simple as a too-tight ponytail, while others involve nerve compression, migraines, or skin conditions that need treatment. Understanding the pattern of your pain, where it shows up, and what makes it worse can help you narrow down what’s going on.

Tight Hairstyles and Physical Tension

One of the most frequent and overlooked causes of scalp pain is plain mechanical tension. Pulling your hair into a tight ponytail, bun, braids, or extensions tugs on the connective tissue and tiny muscles beneath the scalp surface. This creates what researchers call a “pure extracranial headache,” meaning the pain comes entirely from outside the skull. In one study of people who developed headaches from tight ponytails, loosening the hair relieved the pain within 30 minutes for the majority and immediately for some. If you wear your hair tightly pulled back most days, that constant traction can keep the scalp sore even after you take your hair down.

Helmets, headbands, and hats that press against the scalp for hours can produce the same effect. The fix is straightforward: loosen up, switch styles, and give your scalp regular breaks from tension.

Scalp Sensitivity and Trichodynia

If your scalp hurts but there’s nothing visibly wrong with it, you may be experiencing a condition called trichodynia. It feels like pain, burning, or stinging at the hair roots, sometimes described as your hair itself hurting. Large population surveys have found that sensitive scalp affects about 32 to 44 percent of people, with no significant difference between men and women. It becomes more common after age 50.

Trichodynia is closely linked to hair loss conditions like telogen effluvium (stress-related shedding) and pattern hair loss. Interestingly, biopsies of affected scalps don’t show inflammation around the hair follicles, which puzzled researchers for years. The explanation appears to involve a signaling molecule called substance P that the nervous system releases in the scalp. Substance P drives pain signaling and dilates blood vessels, essentially making the scalp hypersensitive to normal stimuli like brushing, touching, or even wind.

This mechanism also explains why emotional stress so reliably triggers scalp pain. Animal studies have confirmed a direct “brain-hair follicle axis” where psychological stress produces measurable changes at the follicle level through substance P release. In humans, trichodynia frequently co-occurs with depression, anxiety, and obsessive personality traits.

Migraines and Scalp Allodynia

If your scalp becomes painful during or around a headache, the culprit is likely allodynia, a state where normally painless touch registers as painful. This is extremely common in migraine, especially chronic migraine. During an attack, the nerve pathways that carry pain signals from inside the skull become sensitized, and that sensitization spreads outward to the skin and scalp. The result: brushing your hair, resting your head on a pillow, or even wearing glasses can hurt.

Allodynia tends to concentrate at the back of the head and upper neck, in the area served by the C2 and C3 spinal nerves, because these nerves share relay stations with the trigeminal pain pathways involved in migraine. In some people, the sensitivity extends beyond the head to the arms or torso, a sign that deeper levels of the central nervous system have become involved. If you notice that your scalp only hurts around the time of headaches, treating the migraine itself typically resolves the scalp sensitivity too.

Nerve Compression: Occipital Neuralgia

Occipital neuralgia produces sharp, stabbing, or electric-shock-like pain that shoots from the base of the skull up across the back of the scalp. Each burst lasts seconds to minutes, and the scalp between episodes can feel tender, tingly, or numb. The pain comes from compression of one of the occipital nerves, large nerves (2.5 to 3.5 mm in diameter) that run from the upper spine through several layers of muscle before reaching the scalp surface.

These nerves pass through multiple tight spots where they can get pinched: between vertebrae, through the muscles at the base of the skull, where they pierce the trapezius muscle, and where they cross the occipital artery. Muscle tension from stress, anxiety, or poor posture can hypertrophy or spasm these muscles, squeezing the nerve further. Prior neck or head trauma can also cause structural changes that compress the nerve over time.

A key distinguishing feature is the pattern. Occipital neuralgia causes bursts of sharp pain, not a constant ache. If the pain is continuous and dull, a different diagnosis is more likely.

Skin Conditions That Cause Scalp Pain

Several dermatological conditions make the scalp sore, itchy, or burning:

  • Seborrheic dermatitis causes redness, flaking, and irritation, particularly along the hairline and behind the ears. It results from an overgrowth of yeast that naturally lives on oily skin.
  • Scalp psoriasis produces thick, silvery-white patches that can crack and bleed. The pain tends to be more of a tight, burning sensation.
  • Folliculitis is infection or inflammation of individual hair follicles, creating tender red bumps or small pustules. It can result from bacteria, friction, or blocked pores.
  • Scalp sunburn is easy to miss until the damage is done. Symptoms can take up to 24 hours to fully develop, and the scalp, especially along parts and thinning areas, is particularly vulnerable because most people forget to protect it.

For seborrheic dermatitis, medicated shampoos containing selenium sulfide, salicylic acid, or antifungal ingredients can relieve itching, redness, and flaking. For sunburn, cool compresses and over-the-counter pain relievers like ibuprofen or acetaminophen help while the skin heals.

Allergic Reactions to Hair Products

A burning, stinging, or raw feeling on the scalp that shows up after using a new product (or sometimes an old favorite) points to contact dermatitis. The scalp is exposed to a long list of potential irritants in everyday products.

Hair dye is the most common trigger, specifically an ingredient called PPD that’s found in most permanent dyes. Bleaching products contain persulfate salts, which cause more immediate allergic reactions than other hair chemicals. Straightening and perming solutions use ammonium thioglycolate, another frequent sensitizer. Even basic shampoos and conditioners contain fragrances, preservatives, and surfactants (especially coconut-derived ones like cocamidopropyl betaine) that can trigger reactions. If you use hair extensions, the acrylate-based glues are a known allergen.

The reaction doesn’t always happen the first time you use a product. Sensitization can develop after months or years of exposure. If your scalp pain started gradually and correlates with product use, try switching to fragrance-free, dye-free formulations to see if it resolves.

When Scalp Pain Signals Something Serious

Most scalp pain is benign, but certain patterns warrant prompt evaluation. New-onset scalp tenderness in anyone over 50, especially with jaw pain or vision changes, can signal temporal arteritis, an inflammatory condition of the blood vessels that requires urgent treatment to prevent vision loss.

For scalp pain accompanied by headache, the American Headache Society uses a set of red flags worth knowing. A sudden, maximum-intensity headache that hits like a thunderclap can indicate a vascular emergency like an aneurysm. Headache with fever, night sweats, or unexplained weight loss suggests a systemic illness. New neurological symptoms alongside the pain, such as weakness in an arm or leg, new numbness, or vision changes, point to a secondary cause that needs imaging. Headaches that progressively worsen over weeks, or that change dramatically with position (standing versus lying down) or with coughing and straining, also fall outside the pattern of typical primary headaches. Any of these combinations calls for medical evaluation rather than waiting it out.