Why Does My Head Hurt? Causes, Types, and Triggers

Headaches affect roughly 40% of the global population, about 3.1 billion people, and the vast majority are caused by something identifiable and manageable. Your head might hurt because of tension in your neck and scalp muscles, dehydration, poor sleep, too much screen time, or a dozen other everyday triggers. Less commonly, headaches signal something more serious. Understanding the type of headache you’re experiencing and what’s behind it is the first step toward making it stop.

How Head Pain Actually Works

Your brain itself can’t feel pain. It has no pain receptors. Instead, headache pain comes from a network of nerve fibers that wrap around your skull, scalp, face, and the membranes covering your brain. These fibers belong to a system called the trigeminal nerve, which picks up signals from blood vessels, muscles, and other tissues in and around your head. When something irritates or activates those nerve fibers, they relay pain signals through a relay station in the brainstem and up to the brain’s sensory processing areas. That’s when you feel the ache, throb, or pressure.

Interestingly, the throbbing quality of many headaches isn’t actually synced to your heartbeat, even though it feels that way. Researchers have found no consistent timing relationship between arterial pulsation and throbbing pain. The pulsing sensation appears to come from the nerve signaling itself, not from blood vessels expanding and contracting.

Tension Headaches: The Most Common Type

If your head pain feels like a tight band squeezing both sides of your head, you likely have a tension-type headache. These are by far the most common, reported by more than 70% of some populations. The pain is usually mild to moderate, pressing or tightening rather than throbbing, and it doesn’t get worse when you walk or climb stairs. You won’t typically feel nauseous or bothered by light the way you would with a migraine.

Tension headaches last anywhere from 30 minutes to 7 days. They’re driven by muscle tightness in the scalp, neck, and shoulders, often from stress, poor posture, or clenching your jaw. If you’re getting them on 15 or more days per month for more than three months, that crosses into chronic territory.

Migraines Feel Different

Migraines tend to hit one side of your head with moderate to severe pulsating pain. They last 4 to 72 hours and come with at least one of these: nausea or vomiting, sensitivity to light, or sensitivity to sound. Physical activity makes them worse. Some people see visual disturbances like flashing lights or zigzag lines before the pain starts, known as aura.

A signaling molecule involved in inflammation plays a central role in migraines, causing blood vessel dilation, inflammation in the membranes around the brain, and activation of pain receptors. This is why migraines feel so much more intense than tension headaches. They aren’t just “bad headaches.” They’re a distinct neurological event involving widespread changes in how your brain processes sensory information.

Cluster Headaches Are Rarer but Severe

Cluster headaches are less common but unmistakable. The pain is severe and focused around one eye or temple, always on the same side. Episodes last 15 minutes to 3 hours and can strike multiple times a day for weeks or months before going into remission. During an attack, the affected eye may water or turn red, the eyelid may droop, and the nostril on that side may run or become congested. People with cluster headaches often feel restless or agitated during episodes, unable to sit still.

Everyday Triggers You Might Not Recognize

Dehydration

When you don’t drink enough water, your brain tissue physically shrinks and pulls away from the skull. This tugging activates pain-sensitive nerves surrounding the brain, producing a headache that often wraps around your entire head. Drinking water usually resolves it within 30 minutes to a few hours.

Screen Time

Staring at a screen for hours forces your eyes to constantly refocus on tiny pixels, and the low contrast between text and background adds extra strain. You also blink about a third less often when looking at a screen, roughly three to seven times per minute instead of the normal rate. The combination of eye muscle fatigue and dryness commonly produces headaches behind or around the eyes.

Poor Sleep

Sleep deprivation increases excitability in your brain’s pain-processing pathways, effectively lowering the threshold for headache onset. Disruptions to deep sleep and REM sleep are particularly linked to tension headaches and migraines. Both too little sleep and irregular sleep schedules can act as triggers. Even sleeping too much on weekends after a week of short nights can set off a headache.

Caffeine Withdrawal

If you regularly drink coffee or energy drinks and skip a day, the resulting headache is your blood vessels adjusting to the absence of caffeine’s narrowing effect. This is common enough that caffeine withdrawal is formally classified as a secondary headache cause.

Food Triggers

Certain compounds in food are known headache triggers. Processed meats like bacon, hot dogs, and deli meat contain nitrates that can provoke headaches in sensitive people. Aged cheeses, fermented foods, overripe fruit, and dried fruits contain tyramine, another common trigger. Sulfites in wine and MSG in packaged foods round out the usual suspects. These triggers vary widely from person to person, so what bothers one person may be harmless for another.

When Pain Relievers Become the Problem

Taking headache medication too often can paradoxically cause more headaches. This is called medication-overuse headache, and it develops when you use pain relievers on 10 to 15 or more days per month (depending on the type) for longer than three months. What happens is your brain adapts to the frequent medication, and when the drug wears off, the headache returns, prompting you to take more. Breaking this cycle usually requires gradually reducing the medication, which can temporarily make headaches worse before they improve.

Medical Conditions That Cause Headaches

Most headaches aren’t caused by something dangerous, but some are. Sinus infections produce pressure and pain across the forehead and cheeks. Jaw problems from teeth grinding or joint dysfunction can radiate pain up through the temples. High blood pressure, particularly when severely elevated, causes headaches. Other less common causes include glaucoma, infections of the brain or its coverings, blood vessel problems, and very rarely, tumors.

Red Flags That Need Immediate Attention

Certain headache features suggest something more serious is going on. A sudden, explosive headache that reaches maximum intensity within seconds, sometimes called a thunderclap headache, can indicate a blood vessel emergency like an aneurysm. This always warrants immediate evaluation.

Other warning signs to take seriously:

  • Neurological symptoms like new weakness, numbness, or vision changes alongside the headache
  • Fever, night sweats, or weight loss accompanying the headache pattern
  • New headaches starting after age 50, which are more likely to have a secondary cause
  • Headaches that steadily worsen over weeks, becoming more severe or more frequent
  • Pain that changes with position, like getting significantly worse when lying down or standing up
  • Headaches triggered by coughing, straining, or bearing down, which can point to a pressure problem inside the skull
  • New headaches during or after pregnancy, which may signal vascular or hormonal complications

If your headaches are predictable, follow a familiar pattern, and respond to rest or simple pain relief, they’re almost certainly a primary headache type. If something about them has changed, if they’re new, or if they come with any of the symptoms above, that’s worth getting checked out.