Why Does the Top of My Head Hurt When I Touch It?

Scalp tenderness at the top of the head, especially when you press on it, usually traces back to one of a handful of common causes: tension-type headache making the muscles and soft tissue over the skull sensitive, migraine triggering a phenomenon called allodynia where normal touch registers as pain, irritated or compressed nerves running across the scalp, or a skin condition you may not have noticed visually. Less often, it can signal something that needs prompt medical attention, particularly in people over 50. Because the scalp is one of the most nerve-dense areas of the body, even minor problems there tend to produce surprisingly sharp discomfort.

Tension-Type Headache and Pericranial Tenderness

The single most common reason the top of your head hurts when touched is a tension-type headache. This is the ordinary, band-like headache most people get periodically, and one of its hallmark features is tenderness of the pericranial muscles, the thin sheets of muscle and connective tissue that wrap around the skull. When these muscles tighten or develop small knots called trigger points, pressing on the scalp can feel bruised or sore even though nothing visible is wrong.

The tenderness is not just a side effect of the headache; it may actually help drive it. Research on trigger points in the muscles around the skull, including the frontal, temporal, and trapezius muscles, has found that injecting a local anesthetic into these knots can reduce headache frequency in people with episodic tension-type headache.1PubMed. Lidocaine injection of pericranial myofascial trigger points in the treatment of frequent episodic tension-type headache That finding suggests the scalp tenderness and the headache feed each other in a loop: tight muscles sensitize the local nerves, which makes the area more painful, which makes the muscles tighten further.

If you notice that the soreness on the top of your head tends to appear during or after stressful days, feels like a dull ache or pressure rather than a sharp stab, and improves after rest or a hot shower, a tension-type mechanism is the most likely explanation.

Migraine and Scalp Allodynia

If you get migraines, the scalp tenderness you feel may be allodynia, a state where stimuli that should not be painful, like lightly touching your hair, resting your head on a pillow, or wearing a hat, suddenly hurt. This is not happening at the skin level. It reflects changes deeper in the nervous system, specifically in the brain’s pain-processing pathways becoming hyper-responsive.

Research has shown that in people experiencing chronic migraine (headache on more than 15 days per month), the central neurons that relay pain signals from the face and scalp appear to be chronically sensitized, meaning they fire more easily and interpret ordinary sensory input as painful.2PubMed Central. Identifying cutaneous allodynia in chronic migraine using a practical clinical method A 2025 study in animal models traced part of this process to specific stress-hormone-releasing neurons in the brain that dump excessive signaling chemicals onto the nerve relay station for the face and scalp, essentially turning up the volume on pain processing.3PubMed Central. PVN CRF Neurons Regulate Migraine‐Like Allodynia by Activating CRFR2 on Spinal Trigeminal Caudalis Glutamatergic Neurons

The practical takeaway: if you already know you have migraines and your scalp becomes painful to touch during or between episodes, that tenderness is likely allodynia rather than a separate problem. It tends to worsen the longer a migraine goes untreated, which is one reason neurologists encourage treating attacks early. The allodynia usually fades once the migraine cycle calms down, though in chronic migraine it can linger between attacks.

Occipital Neuralgia

The greater and lesser occipital nerves run from the upper neck, up through the muscles at the back of the skull, and fan out across the top and sides of the head all the way to the forehead. When one of these nerves becomes irritated or entrapped, the result is occipital neuralgia: stabbing, burning, or throbbing pain that can radiate from the back of the head up to the vertex, sometimes with abnormal sensitivity to touch along the nerve’s path.4PubMed Central. Iatrogenic Occipital Neuralgia After Scalp Epidermoid Cyst Excision: A Rare Case Report

People with occipital neuralgia often describe the pain as electric or shooting, sometimes triggered just by pressing on a specific spot at the base of the skull. Ultrasound imaging can sometimes identify where the nerve is being pinched, and the condition responds to targeted nerve blocks.5PubMed. Greater, Lesser, and Third Occipital Nerve Entrapment: Sonographic Anatomy and Imaging Common triggers include prolonged forward head posture (the kind you develop hunching over a laptop), tight posterior neck muscles, and occasionally prior surgery or injury to the back of the scalp.

A distinctive clue that occipital neuralgia is behind your scalp pain: the tenderness follows a line or strip pattern from the back of the head toward the top, rather than being diffusely spread across the whole scalp. You may also notice that pressing firmly on a specific spot near the base of the skull reproduces the pain that radiates upward.

When Your Hair Itself Seems to Hurt

Some people describe the sensation not as a headache or scalp ache but as pain at the roots of the hair, especially when they move their hair or when someone touches it. This has a name: trichodynia. Despite sounding like an oddity, it is surprisingly common. In one study of over 400 patients presenting at a dermatology clinic, about 20% of women and 9% of men reported hair pain.6PubMed. Hair pain (trichodynia): frequency and relationship to hair loss and patient gender

Trichodynia was originally assumed to be linked to active hair loss and follicular inflammation, which would make intuitive sense since each hair follicle is surrounded by nerve endings. But more recent reviews have found that the connection to measurable hair loss or visible inflammation is weaker than expected. Instead, trichodynia frequently co-occurs with psychological distress, and studies have failed to consistently demonstrate a histological basis of follicular inflammation as the cause.7PubMed Central. Trichodynia Revisited The condition appears in both people with androgenetic alopecia (common pattern hair loss) and people with telogen effluvium (stress-related shedding), but its intensity does not reliably track with how much hair someone is actually losing.

If your scalp tenderness feels concentrated at the hair roots and worsens when you pull your hair into a tight ponytail, brush vigorously, or even just run your fingers through your hair, trichodynia is worth considering. It is benign but frustrating, and treating associated anxiety or depression sometimes helps more than topical scalp treatments do.

Skin Conditions You Might Not See

The top of the head is hard to inspect in a mirror, which means a skin problem can be silently building there without you noticing anything visually. Several common scalp conditions cause tenderness to touch:

  • Folliculitis: Infected or inflamed hair follicles feel like small, tender bumps. You might feel them before you see them.
  • Seborrheic dermatitis: The same process that causes dandruff can, when more severe, make the scalp inflamed and sore to the touch.
  • Tinea capitis: A fungal infection of the scalp that can produce patchy tenderness, sometimes with flaking or hair breakage.
  • Contact dermatitis: A reaction to a new shampoo, hair dye, or styling product can inflame the scalp in a way that feels like generalized soreness.

These conditions are grouped together because they share a common scalp-level origin.8PubMed. Scalp Infection, Inflammation, and Infestation If your scalp pain comes with visible flaking, small bumps you can feel with your fingertips, redness (ask someone to check, or use a hand mirror), or itching alongside the soreness, a dermatological cause is more likely than a headache disorder. A dermatologist or even a primary care physician can usually diagnose these quickly with a visual exam.

Headaches from External Pressure

This one is straightforward but often overlooked: sustained pressure on the scalp from an external object can make the top of your head hurt, and the pain can linger after you remove the offending item. Tight hats, swim goggles, headbands, helmets, over-ear headphones worn for hours, and even heavy hairstyles can compress the small nerve branches running across the scalp. The resulting headache tends to be worst right where the object was pressing, and it typically resolves once the pressure source is removed.9PubMed. Headaches due to external compression

What makes this tricky is that people do not always connect the headache to the object. If you wear a hard hat for work all day, the scalp pain that develops that evening may not register as compression-related because the hat has been off for an hour. Similarly, people who sleep on a firm pillow in a position that presses the same spot on the head night after night sometimes develop persistent vertex tenderness without realizing why. If your pain has a very localized sweet spot and you recently changed your headwear, headphones, or sleeping arrangement, pressure is worth considering.

Ice Pick Headaches

Some people describe their scalp pain not as a steady ache but as sudden, sharp jabs that last a fraction of a second and then vanish, sometimes at the top of the head. This pattern fits what is called primary stabbing headache, informally known as ice pick headache. It produces ultra-brief stabs of pain, most commonly felt in the frontal or temporal region but also reported at the vertex. Estimates of how common it is vary widely, but it is more frequent in women and sometimes accompanies nausea or light sensitivity despite the brevity of each stab.10PubMed. Ice Pick Headache

Ice pick headache is considered a primary headache disorder, meaning it is not caused by another underlying condition. While alarming when it happens, it is generally benign. The important distinction here is the timing: if your pain lasts less than a few seconds per episode and feels like a needle or ice pick, this is a different animal from the sustained soreness of tension headache or the touch-triggered aching of allodynia. If the jabs are becoming frequent or disabling, a neurologist can discuss preventive options.

Giant Cell Arteritis in Older Adults

For anyone over 50 experiencing new-onset scalp tenderness, especially if it is accompanied by a new type of headache, jaw pain while chewing, or vision changes, giant cell arteritis (GCA) needs to be ruled out quickly. GCA is an inflammatory condition of the medium and large arteries, and the temporal artery running along the side of the head is commonly affected. It can cause the scalp to become exquisitely tender, sometimes to the point where even combing the hair is painful.11PubMed. Giant cell arteritis

The reason GCA demands urgency is that untreated inflammation of these arteries can lead to permanent vision loss, sometimes within days. Blood tests for inflammatory markers (sedimentation rate and C-reactive protein) are usually the first step, though atypical presentations with normal inflammatory markers do occur and can delay diagnosis. If you are over 50 and your scalp tenderness is new, worsening, accompanied by general feelings of being unwell, or paired with any visual symptoms, see a doctor promptly rather than assuming it will pass.

How Stress and Mood Lower Your Pain Threshold

Sometimes scalp tenderness is less about what is happening on or under the skin and more about how your nervous system is interpreting normal signals. Psychological factors, particularly depression and catastrophizing (the tendency to magnify pain and feel helpless about it), have been shown to modestly but measurably lower pressure pain thresholds, meaning the same amount of physical pressure registers as more painful when you are anxious or depressed.12PubMed Central. Clinical pressure pain threshold testing in neck pain: comparing protocols, responsiveness, and association with psychological variables

This does not mean the pain is imaginary. The effect is real and measurable in laboratory settings. It also helps explain why scalp tenderness so often intensifies during stressful periods even when no obvious physical trigger has changed. The trichodynia research points in the same direction: hair-root pain correlates with psychological distress independently of any visible scalp pathology. If your scalp has been tender for weeks without any physical explanation you can find, stress and mood are worth examining honestly, not as a diagnosis of exclusion but as a genuine contributor.

Small Fiber Neuropathy

In rare cases, persistent and unexplained scalp sensitivity that does not fit any of the patterns above could point to small fiber neuropathy, a condition in which the tiniest sensory nerve fibers become damaged. Symptoms include burning pain, shooting sensations, allodynia, and heightened sensitivity to touch in affected areas.13PubMed Central. Diagnosis and treatment of pain in small-fiber neuropathy While small fiber neuropathy more commonly affects the feet and hands, it can involve any skin region, including the scalp.

This condition is associated with a range of underlying diseases, including diabetes, autoimmune disorders, and certain vitamin deficiencies. Diagnosis usually involves a careful neurological exam and sometimes a skin biopsy to count the density of nerve fibers in the affected area. It is not the first thing a doctor will consider when you report scalp tenderness, but if you have widespread burning or prickling sensations elsewhere on your body in addition to scalp pain, it is worth mentioning.

Treatment Approaches

What helps depends entirely on the cause, which is why sorting through the possibilities above matters before reaching for a remedy. For tension-type headache-related tenderness, over-the-counter pain relievers, gentle scalp massage, warm compresses, and addressing postural habits (especially if you sit at a desk all day) tend to work well for most people. Reducing screen time in sustained positions and taking movement breaks can prevent the pericranial muscle tightness that triggers the pain.

For migraine-related allodynia, treating the migraine itself is the priority. Triptans or newer migraine-specific medications are most effective when taken early in an attack, before allodynia has time to set in. Once central sensitization is fully established during a migraine, the headache becomes harder to abort.

Occipital neuralgia often responds to nerve blocks. A greater occipital nerve block, in which a local anesthetic is injected near the nerve at the base of the skull, is one of the most commonly used interventions and has shown meaningful reductions in migraine days and pain intensity as well.14PubMed Central. Comparison of the Effectiveness of Greater Occipital Nerve (GON) Block and Sphenopalatine Ganglion (SPG) Block in the Treatment of Chronic Migraine For persistent neuropathic scalp pain that does not respond to simpler treatments, options include medications designed for nerve pain (gabapentinoids and certain antidepressants used at pain-modulating doses) and, in select cases, pulsed radiofrequency treatment of the affected nerve.15PubMed Central. Neuropathic Cranial Pain Phenotypes After Craniotomy: A Large, Single-Center Retrospective Cohort Study

For skin conditions causing scalp tenderness, treatment is dermatological: antifungal shampoos for tinea capitis, medicated shampoos or topical steroids for seborrheic dermatitis, antibiotics for bacterial folliculitis, and identifying and eliminating the offending product in contact dermatitis. These tend to resolve the tenderness fairly quickly once the underlying inflammation is controlled.

When You Should Not Wait

Most scalp tenderness is benign and self-limiting or manageable with straightforward treatments. But a few situations call for timely medical evaluation:

  • New scalp pain after age 50: Giant cell arteritis needs to be excluded, particularly if you also have jaw claudication, visual changes, unexplained weight loss, or elevated inflammatory markers on blood work.
  • Rapidly worsening pain: A headache that escalates over days to weeks, especially if it is unlike anything you have experienced before, warrants imaging to rule out structural causes.
  • Neurological symptoms: Numbness, weakness, vision changes, confusion, or speech difficulty alongside scalp pain suggest the problem extends beyond the scalp itself.
  • Pain after head trauma: Even minor bumps can occasionally cause a subgaleal hematoma (bleeding under the scalp’s connective tissue layer) that makes the area swollen and tender. If the tenderness came on after hitting your head and is getting worse rather than better, get it checked.
  • Visible scalp changes you cannot explain: A new lump, a non-healing sore, or rapidly expanding redness could indicate an infection or, rarely, a growth that needs evaluation.

For the majority of people, though, top-of-the-head soreness turns out to be tension headache, a mild nerve irritation, or a skin issue they had not noticed. Paying attention to the pattern (when it shows up, what makes it better or worse, and whether it follows a specific nerve distribution or is diffuse) gives you and your doctor the best shot at pinpointing the cause without unnecessary testing.