Cerebral Torque®
  1. Other headache types
Guide

Headache on Top of Head, Common Causes and When to Worry

A headache on top of the head is usually tension-type headache or a migraine attack. Here is how to tell the causes apart, what helps for each, and which signs need urgent care.

On this pageJump to a section13
  1. Why the Top of the Head Hurts
  2. Headache on Top of Head, Pattern and Likely Cause
  3. Tension-Type Headache
  4. Migraine on Top of the Head
  5. Pain Spreading Up From the Back of the Head
  6. Headache on Top of the Head When Coughing or Exercising
  7. Headache on Top of the Head at Night or on Waking
  8. Medication Overuse Headache
  9. Less Common Causes
  10. When a Headache on Top of the Head Is Serious
  11. What Helps, by Cause
  12. Common questions
  13. References

A headache on top of the head is most often a tension-type headache or a migraine attack. Less common causes include nerve pain from the back of the head, headaches set off by coughing or exercise, headaches that wake you at night, and medication overuse headache. Most are harmless, but sudden, severe or new pain needs prompt care.

Location gives fewer clues than most people expect. How fast the pain arrives, how long it lasts, what it feels like and what comes with it usually tell a clinician more, and this guide uses those clues to sort the causes, what helps for each, and the warning signs.

Why the Top of the Head Hurts

Two nerve systems share the top of the head (the vertex). The front of the scalp is supplied by the first branch of the trigeminal nerve, and the back of the scalp by the occipital nerves, which arise from the upper neck. Pain signals from both meet in the same relay area in the brainstem, the trigeminocervical complex. That is why a problem in the upper neck can be felt over the crown, and why a migraine attack, which starts in the brain, can hurt anywhere across the head.

Headache on Top of Head, Pattern and Likely Cause

No single row is a diagnosis, and one person can have more than one of these.

What you noticeMost likely causeClues that fit
Pressing or tight pain on top and around the head, mild to moderateTension-type headacheBoth sides, no nausea, not worse with walking or stairs
Throbbing or heavy pain that builds and lasts hours to daysMigraine attackNausea, light and sound sensitivity, worse with movement
Electric jolts shooting from the base of the skull up over the headOccipital neuralgiaTouching the scalp, brushing hair or a pillow sets it off
Dull ache from the neck spreading forward, usually one sideCervicogenic headacheStiff, sore neck; pain changes with neck position
Sudden pain right after a cough, sneeze, strain or laughCough headacheNeeds an MRI the first time
Throbbing pain during or after hard exercise or sexExertional or sexual headacheA first episode needs same-day assessment
Wakes you at the same time most nights, age over 50Hypnic headacheDull, both sides, no eye tearing or restlessness
Headache on most days while using pain relievers oftenMedication overuse headacheOften worst on waking
Constant pain in a small, coin-sized spotNummular headacheFixed spot, often on the upper side of the head
Jabs lasting a few seconds, in one or several spotsPrimary stabbing (ice pick) headacheNormal exam between jabs

For a closer look at the two most common causes, see our guide to telling migraine apart from other headaches.

Tension-Type Headache

Tension-type headache is the most common headache disorder, affecting an estimated 1.89 billion people worldwide in 2016, compared with 1.04 billion with migraine.1 It typically feels like a tight band, a weight on top of the head, or a vise. The international criteria require at least two of four features: pain on both sides, a pressing or tightening quality, mild to moderate intensity, and no worsening with routine activity. There is no nausea, and at most one of light or sound sensitivity. Attacks last 30 minutes to 7 days.2 Scalp, neck and shoulder muscles are often tender.

Frequency matters. Fewer than one headache day a month is infrequent, 1 to 14 days is frequent episodic, and 15 or more days for over three months is chronic tension-type headache.2 In the chronic form the pain pathways become easier to trigger, one reason over-the-counter pain relievers lose effect as headaches become more frequent. Sleep problems travel with it: in a Norwegian study where neurologists made each diagnosis, people with tension-type headache were 3.3 times more likely than headache-free people to have severe sleep disturbance.3

Migraine on Top of the Head

Migraine pain is often one-sided, but it can also sit on both sides, across the whole head, or on top. In a study of 1,283 people with migraine at a US headache center, most had pain in more than one place.4

67.1%
Had pain around the eyes during attacks
39.8%
Had pain at the back of the head
24.1%
Had pain on the top of the head

In a study of 800 adult patients in eastern India, most attacks that began at the top of the head (56.9%) later spread to the whole head.5 Children differ: in 200 children with migraine, none had attacks starting at the top, and 73.5% eventually had pain across the whole head.6

The full picture separates migraine from tension-type headache. Migraine pain is usually moderate to severe, often throbbing, worse with routine movement, and comes with nausea or with sensitivity to both light and sound, lasting 4 to 72 hours untreated.2 The attack runs in phases. The prodrome, its first phase, can bring yawning, fatigue and neck stiffness hours before the pain, and these early symptoms are often mistaken for the cause of the attack.

During an attack the scalp can become sore, so that brushing hair, a ponytail or a pillow hurts. This is cutaneous allodynia, a sign that pain pathways have become sensitized. In a US population study, 63.2% of people with episodic migraine reported it, compared with 36.7% of people with severe episodic tension-type headache.7 Our guide to cutaneous allodynia explains why it matters for treating early. People with migraine can also have milder days that look like tension-type headache; some of these are mild migraine attacks that respond to migraine treatment.

Pain Spreading Up From the Back of the Head

Occipital neuralgia and cervicogenic headache both start at the base of the skull and radiate toward the top of the head, and their symptoms overlap.8

Occipital neuralgia is nerve pain from irritated occipital nerves. It brings shooting, stabbing or electric jolts lasting seconds to minutes, often over a duller background ache, and the scalp can feel numb or unpleasant to touch. Brushing the hair, a collar or a pillow can set off a jolt. A numbing injection over the nerve (an occipital nerve block) eases the pain for a while and supports the diagnosis,2 though migraine also improves after these blocks, so relief alone does not prove it. Treatment steps up from physical therapy and nerve-pain medicines to nerve blocks, then pulsed radiofrequency or nerve stimulation for pain that does not respond.8 OnabotulinumtoxinA (Botox) may help the sharp jolts more than the dull ache.9 See our occipital neuralgia guide.

Cervicogenic headache is pain referred from the upper cervical spine. It is a dull, one-sided ache that starts in the neck, spreads forward, and comes with reduced or painful neck movement. Physical therapy comes first, and radiofrequency treatment of the neck's facet joints is an option in selected cases.8

Headache on Top of the Head When Coughing or Exercising

Headaches provoked by effort account for 1% to 2% of headache visits to a general neurology department.10

  • Cough headache starts suddenly with a cough, sneeze, strain or laugh and lasts one second to two hours.2 About half of cases have no underlying cause. The other half are secondary, most often to a Chiari type I malformation, where the lowest part of the brain extends into the opening at the base of the skull. The secondary form tends to start younger (around 40 rather than 60) and last longer.10 A new cough headache needs an MRI.
  • Exercise (exertional) headache is throbbing pain on both sides during or after sustained hard exercise, lasting under 48 hours.2 A structural cause is rare, but the most frequent one is a small warning bleed around the brain. Headache with sexual activity behaves similarly.10

A first headache with exercise or sex, especially one that peaks within a minute, needs same-day assessment. Our guide to exertion headache covers the rest.

Headache on Top of the Head at Night or on Waking

Hypnic headache, the alarm clock headache, wakes people at about the same time most nights and usually begins after 50. In a review of 343 adult cases, 69% were women, the average age was 58, attacks lasted about 90 minutes, and the pain was on both sides in 55.5% and dull in 74.4%.11 It lacks the eye tearing and restlessness of cluster headache.2 Bedtime caffeine, such as a cup of coffee, is an accepted treatment, and indomethacin and lithium are options under medical supervision. In the published cases caffeine gave the best response for the attack itself, but the evidence comes from case reports, not randomized trials.11 A new nighttime headache after 50 still needs evaluation first. See our hypnic headache guide.

Short or broken sleep can make the nervous system more sensitive to pain. In a randomized study of 33 healthy young adults, two nights of about four hours' sleep, compared with nine hours, made some pain measures more sensitive, including the threshold for cold pain.12 In more than 15,000 headache-free Norwegian adults, insomnia was linked to a 40% higher chance of headache 11 years later.13 These are associations, but they support treating sleep problems in anyone with frequent headaches. For migraine, timing matters as well as amount: a weekend sleep-in after a short-sleep week is a classic setup for an attack, and a consistent wake-up time every day helps.

Sleep apnea, teeth grinding, caffeine withdrawal and medication overuse can also cause headache on waking. A headache that is worse lying down or on waking, with vomiting or vision changes, needs prompt review for raised pressure inside the skull.

Medication Overuse Headache

Taking acute headache medicines too often can cause a near-daily headache. The diagnosis applies when someone with a headache disorder has headache on 15 or more days a month after more than three months of regular use on 10 or more days a month of triptans, ergots, opioids or combination pain relievers, or 15 or more days a month of simple pain relievers such as acetaminophen or ibuprofen.2 About 1% to 2% of people have it in a given year.14 The 2023 Global Burden of Disease study attributed more than half of the disability from tension-type headache (58.9% in men, 56.1% in women) to medication overuse.15

Treatment means education about the day limits, cutting back or stopping the overused medicine, and starting prevention where needed.14 Our medication overuse headache checker shows where you stand.

Less Common Causes

  • Nummular headache is constant pain in a coin-shaped area 1 to 6 cm across, most often on the upper side of the head, sometimes flaring when the hair is combed.16 In an observational series of 183 patients, onabotulinumtoxinA had the highest response rate: 62.5% of those who received it had their pain days at least halved.17 See our nummular headache guide.
  • Primary stabbing (ice pick) headache brings jabs lasting seconds, in one fixed spot or moving around the head.18 On their own, with a normal exam, they are not a sign of danger.
  • Sphenoid sinus disease is a rare, often overlooked cause of deep headache, because this sinus sits in the center of the skull. In 21 surgical patients, the top of the head was the most common pain location (24%).19
  • External pressure from a tight hat, headband, helmet or ponytail can cause pain that eases within an hour of removing it.2
  • Changes in spinal fluid pressure cause posture-dependent headache: worse upright and eased lying flat with a spinal fluid leak, or worse lying down with vision dimming or a whooshing sound in the ears with raised pressure. Both need evaluation.

When a Headache on Top of the Head Is Serious

Most headaches on top of the head are primary headaches, where the headache is the condition itself. Clinicians screen for the uncommon secondary causes with a checklist called SNNOOP10.20 Warning signs include:

  • A sudden, severe headache that peaks within seconds to a minute
  • Fever, weight loss or a stiff neck
  • New weakness, numbness, vision loss, confusion or trouble speaking
  • A new headache starting after age 65, or a new headache after 50 with scalp tenderness, jaw pain on chewing or vision changes (possible giant cell arteritis)
  • Headache that changes with position or is brought on by coughing or exercise
  • A clear change in your usual pattern, or a headache worsening over days to weeks
  • Headache in pregnancy or after delivery, after a head injury, or with cancer or a weakened immune system

Most people do not need a scan. The American Headache Society guideline states that imaging is not necessary for headaches consistent with migraine when the neurological exam is normal and there are no red flags.21 See headaches that are medical emergencies for more.

When to get urgent care

Go to an emergency department for a headache that peaks within a minute, the worst headache of your life, a headache with fever and stiff neck, a headache after a head injury, or a headache with new weakness, numbness, confusion, vision loss or trouble speaking. An older adult with a new headache and jaw pain or vision changes should be seen the same day.

What Helps, by Cause

Tension-type headache

Simple pain relievers come first. In Cochrane reviews of frequent episodic tension-type headache, for every 14 people who took ibuprofen 400 mg, one more was pain free at two hours than with placebo; for acetaminophen 1,000 mg the figure was one in 22.22,23 The benefit is modest, so take a full standard dose early, and choose with your stomach, kidneys and bleeding risk in mind. Avoid opioids and butalbital products, which carry dependence risk and are strongly linked to medication overuse headache. Our guide to acute treatment of tension-type headache lists the options.

For frequent or chronic headaches, prevention beats more pain relievers. Low-dose amitriptyline at night has the strongest evidence; at these doses it works on pain pathways, and prescribing it does not mean the headaches are psychological. Relaxation training, biofeedback, cognitive behavioral approaches, physical therapy and aerobic exercise all help. In a Cochrane review, 51% of people treated with acupuncture had their headache frequency at least halved, compared with 43% after sham acupuncture.24

Migraine

Treat early while the pain is mild, and use a migraine-specific medicine such as a triptan or a gepant if over-the-counter options fall short. Frequent or disabling attacks are a reason to ask about prevention. See how to stop a migraine attack. Migraine works on a threshold: short sleep, skipped meals, hormonal shifts and stress add together, and an attack starts when the load crosses your threshold. A steady routine for sleep, meals, caffeine and activity usually helps more than avoiding a long list of suspected triggers.

Other causes

  • Occipital neuralgia: physical therapy, nerve-pain medicines and nerve blocks, stepping up only if needed.9
  • Hypnic headache: bedtime caffeine, or indomethacin or lithium under medical supervision.11
  • Medication overuse headache: getting under the day limits with your clinician's help, usually alongside a preventive.
  • Cough and exertional headache: an MRI first; for the primary forms, indomethacin is used for cough headache and beta-blockers for exercise and sexual headache.10

A few weeks of notes on when each headache starts, how it feels, what you took and what came with it will help any clinician find the cause.

Common questions

Is a headache on the top of the head a sign of something serious?

Usually not. Pain at the crown is most often a tension-type headache or a migraine attack, both of which are common and not dangerous. The location alone does not make a headache more worrying. What raises concern is how it behaves: a sudden explosive onset, fever, new neurological symptoms, a change from your usual pattern, or a new headache later in life.

Can stress cause pain on the top of the head?

Stress is commonly reported alongside tension-type headache and can contribute to migraine attacks, often during the let-down period after a stressful stretch rather than at its peak. It tends to act together with poor sleep, irregular meals and tense neck muscles. Managing stress helps, and a headache linked to stress is still a physical event in the nervous system.

Why does the top of my head feel sore or bruised to the touch?

Scalp tenderness has a few common explanations. During a migraine attack, sensitized pain pathways can make light touch, hair brushing or a pillow feel painful. Tender scalp and neck muscles are typical of tension-type headache. A single fixed tender spot suggests nummular headache, while tenderness with jaw pain on chewing in someone over 50 needs a same-day check for giant cell arteritis.

Can high blood pressure cause a headache on top of the head?

Mild or moderately raised blood pressure does not usually cause headache. The headache classification links headache to blood pressure only when readings reach about 180 systolic or 120 diastolic, often with other symptoms such as confusion or vision changes.2 A reading at that level with a headache needs urgent medical care rather than waiting to see if it settles.

What is the fastest way to ease a top of head headache?

For a typical tension-type headache, a standard dose of ibuprofen or acetaminophen taken early, a short walk, a break from the screen and gentle neck stretches are reasonable first steps. If the pain throbs, worsens with movement and comes with nausea or light sensitivity, treat it as a migraine attack, ideally with your prescribed migraine medicine.

When should I see a doctor about headaches on top of my head?

Book a visit if headaches are happening more often, you need pain relievers on more than a couple of days a week, over-the-counter medicines no longer work, or the pattern has changed. Seek urgent care for any warning sign such as a sudden severe onset, fever, weakness or confusion. A headache diary makes the appointment far more productive.

Important Medical Disclaimer

This article is for educational purposes only and does not replace advice from your physician. Talk with your own clinician before starting, stopping or changing any treatment.

References

  1. GBD 2016 Headache Collaborators. Global, regional, and national burden of migraine and tension-type headache, 1990-2016: a systematic analysis for the Global Burden of Disease Study 2016. The Lancet Neurology. 2018;17(11):954-976. doi:10.1016/S1474-4422(18)30322-3.
  2. Headache Classification Committee of the International Headache Society. The International Classification of Headache Disorders, 3rd edition. Cephalalgia. 2018;38(1):1-211. doi:10.1177/0333102417738202.
  3. Ødegård SS, Engstrøm M, Sand T, et al. Associations between sleep disturbance and primary headaches: the third Nord-Trøndelag Health Study. The Journal of Headache and Pain. 2010;11(3):197-206. doi:10.1007/s10194-010-0201-8.
  4. Kelman L. Migraine pain location: a tertiary care study of 1283 migraineurs. Headache. 2005;45(8):1038-1047. doi:10.1111/j.1526-4610.2005.05185.x.
  5. Chakravarty A, Mukherjee A, Roy D. Migraine pain location in adult patients from eastern India. Annals of Indian Academy of Neurology. 2008;11(2):98-102. doi:10.4103/0972-2327.41876.
  6. Chakravarty A, Mukherjee A, Roy D. Migraine pain location at onset and during established headaches in children and adolescents: a clinic-based study from eastern India. Cephalalgia. 2007;27(10):1109-1114. doi:10.1111/j.1468-2982.2007.01418.x.
  7. Bigal ME, Ashina S, Burstein R, et al. Prevalence and characteristics of allodynia in headache sufferers: a population study. Neurology. 2008;70(17):1525-1533. doi:10.1212/01.wnl.0000310645.31020.b1.
  8. Lefel N, van Suijlekom H, Cohen SPC, et al. 11. Cervicogenic headache and occipital neuralgia. Pain Practice. 2025;25(1):e13405. doi:10.1111/papr.13405.
  9. Pan W, Peng J, Elmofty D. Occipital neuralgia. Current Pain and Headache Reports. 2021;25(9):61. doi:10.1007/s11916-021-00972-1.
  10. Pascual J, González-Mandly A, Oterino A, et al. Primary cough headache, primary exertional headache, and primary headache associated with sexual activity. Handbook of Clinical Neurology. 2010;97:459-468. doi:10.1016/S0072-9752(10)97040-1.
  11. Silva-Néto RP, Santos PEMS, Peres MFP. Hypnic headache: a review of 348 cases published from 1988 to 2018. Journal of the Neurological Sciences. 2019;401:103-109. doi:10.1016/j.jns.2019.04.028.
  12. Ødegård SS, Omland PM, Nilsen KB, et al. The effect of sleep restriction on laser evoked potentials, thermal sensory and pain thresholds and suprathreshold pain in healthy subjects. Clinical Neurophysiology. 2015;126(10):1979-1987. doi:10.1016/j.clinph.2014.12.011.
  13. Ødegård SS, Sand T, Engstrøm M, et al. The long-term effect of insomnia on primary headaches: a prospective population-based cohort study (HUNT-2 and HUNT-3). Headache. 2011;51(4):570-580. doi:10.1111/j.1526-4610.2011.01859.x.
  14. Diener HC, Dodick D, Evers S, et al. Pathophysiology, prevention, and treatment of medication overuse headache. The Lancet Neurology. 2019;18(9):891-902. doi:10.1016/S1474-4422(19)30146-2.
  15. GBD 2023 Headache Collaborators. Global, regional, and national burden of headache disorders, 1990-2023: a systematic analysis for the Global Burden of Disease Study 2023. The Lancet Neurology. 2025;24(12):1005-1015. doi:10.1016/S1474-4422(25)00402-8.
  16. Pareja JA, Pareja J, Barriga FJ, et al. Nummular headache: a prospective series of 14 new cases. Headache. 2004;44(6):611-614. doi:10.1111/j.1526-4610.2004.446011.x.
  17. García-Iglesias C, Puledda F, Echavarría-Íñiguez A, et al. Treatment of primary nummular headache: a series of 183 patients from the NUMITOR study. Journal of Clinical Medicine. 2022;12(1):122. doi:10.3390/jcm12010122.
  18. Kim DY, Lee MJ, Choi HA, et al. Clinical patterns of primary stabbing headache: a single clinic-based prospective study. The Journal of Headache and Pain. 2017;18(1):44. doi:10.1186/s10194-017-0749-7.
  19. Celenk F, Gulsen S, Gonuldas B, et al. Isolated sphenoid sinus disease: an overlooked cause of headache. Journal of Cranio-Maxillofacial Surgery. 2015;43(9):1914-1917. doi:10.1016/j.jcms.2015.08.025.
  20. Do TP, Remmers A, Schytz HW, et al. Red and orange flags for secondary headaches in clinical practice: SNNOOP10 list. Neurology. 2019;92(3):134-144. doi:10.1212/WNL.0000000000006697.
  21. Evans RW, Burch RC, Frishberg BM, et al. Neuroimaging for migraine: the American Headache Society systematic review and evidence-based guideline. Headache. 2020;60(2):318-336. doi:10.1111/head.13720.
  22. Derry S, Wiffen PJ, Moore RA, et al. Ibuprofen for acute treatment of episodic tension-type headache in adults. Cochrane Database of Systematic Reviews. 2015;(7):CD011474. doi:10.1002/14651858.CD011474.pub2.
  23. Stephens G, Derry S, Moore RA. Paracetamol (acetaminophen) for acute treatment of episodic tension-type headache in adults. Cochrane Database of Systematic Reviews. 2016;(6):CD011889. doi:10.1002/14651858.CD011889.pub2.
  24. Linde K, Allais G, Brinkhaus B, et al. Acupuncture for the prevention of tension-type headache. Cochrane Database of Systematic Reviews. 2016;(4):CD007587. doi:10.1002/14651858.CD007587.pub2.

Get studies like this by email

Every Friday, the week's migraine studies and news explained in plain language. No ads.

CROWN cooling roller“This is my favorite migraine roll-on that I’ve tried, and I’ve tried quite a few.” Verified Amazon buyerSee it on Amazon
Unraveling Migraine“The ultimate blueprint to navigate migraine care.” Olivia Begasse de Dhaem, MD, headache specialistSee it on Amazon
Cerebral Torque
About the author

Cerebral Torque

Founder of Cerebral Torque and author of Unraveling Migraine, with a medical background. Trained in computational and cellular neuroscience, with research using Hodgkin-Huxley modeling and clamp electrophysiology to study how neurons respond to rhythmic input. Now focused on migraine medicine and education, and has produced CME for clinicians on hormone therapy, migraine, and HRT delivery.

More about the author Editorial standards

This article is for education and is not medical advice. Talk with your own clinician before starting, stopping or changing any treatment.

Enter to openArrow keys to moveEsc to close

You've got this.

This screen is dimmed on purpose. A few things that help most people right now.

  1. 1
    Treat it early. Take your usual acute medicine now, at the dose your clinician gave you. Waiting usually makes it work less well.
  2. 2
    Cut the input. Dim the lights, lower the sound, step away from screens if you can.
  3. 3
    Cold and water. Something cold on the forehead or the back of the neck, and a few sips of water.
  4. 4
    Slow your breathing. Five slow minutes can take the edge off the stress response.

Want something to rest with? A dark screen with a dim green glow and slow, quiet music for 3 hours. Turn your brightness all the way down, or just listen with your eyes closed.

Get emergency care now if this is the worst headache of your life, came on like a thunderclap, or comes with new weakness, numbness, trouble speaking, confusion, fever with a stiff neck, or follows a head injury.