What Causes Headaches? Types, Triggers & Warning Signs

Headaches are caused by a mix of nerve signaling, muscle tension, blood vessel changes, and environmental triggers rather than pain in the brain itself. The brain has no pain receptors. Instead, the pain comes from nerves, blood vessels, and muscles in and around your head and neck. An estimated 2.9 billion people worldwide live with a common headache disorder, making this one of the most frequent health complaints on the planet.

Tension Headaches

Tension-type headaches are the most common variety and feel like a tight band of pressure around both sides of your head. The pain is mild to moderate, pressing or squeezing rather than throbbing, and it doesn’t get worse when you walk up stairs or bend over. You won’t have nausea, and while you might be sensitive to light or sound, you won’t have both at the same time.

The cause is sustained contraction of the muscles in your scalp, neck, and jaw. Stress is the single biggest trigger. Sitting in one position for hours, clenching your jaw, poor posture, and eyestrain all contribute. The tightened muscles irritate surrounding nerves, which send pain signals upward. Sleep deprivation lowers your overall pain threshold, making these episodes more likely and more intense on days when you’re running on too little rest.

How Migraines Develop

Migraines involve a deeper neurological process. The pain is typically throbbing, moderate to severe, and often concentrated on one side of the head. Routine physical activity makes it worse. Most people also experience nausea, vomiting, or strong sensitivity to both light and sound.

The underlying mechanism centers on a large nerve called the trigeminal nerve, which supplies sensation to your face and the membranes surrounding your brain. When this nerve becomes activated, its fibers release a signaling molecule called CGRP into the blood vessels and tissues lining the brain. CGRP dilates blood vessels and triggers local inflammation in these membranes. That inflammatory signal travels back through the nerve to pain-processing centers in the brainstem, the thalamus, and eventually the cortex, where you consciously feel pain. This chain reaction explains why migraines build gradually, often last 4 to 72 hours, and involve the whole body rather than just your head.

Migraine triggers vary from person to person but commonly include hormonal shifts (especially drops in estrogen around menstruation), skipped meals, alcohol, changes in sleep patterns, strong smells, and weather changes. Genetics play a significant role. If one of your parents has migraines, your odds roughly double.

Cluster Headaches

Cluster headaches are rarer but far more intense. The pain is severe, one-sided, and centered around or behind the eye. Episodes last 15 minutes to 3 hours and can strike up to eight times in a single day, often at the same time each night. On the painful side, you may notice a teary or red eye, a drooping eyelid, a constricted pupil, nasal congestion, or facial sweating.

These headaches arrive in “clusters” lasting weeks or months, followed by remission periods that can last a year or more. The hypothalamus, which controls your body’s internal clock, appears to drive the cycle. That connection to circadian rhythm explains why attacks so often follow a predictable daily schedule. Alcohol and strong odors can trigger individual attacks during an active cluster period but rarely cause problems during remission.

Food and Drink Triggers

Several naturally occurring chemicals in food can set off headaches, particularly in people prone to migraines. Tyramine, found in aged cheese, red wine, beer, sauerkraut, and broad beans, is one of the most well-documented culprits. Chocolate contains phenylethylamine, caffeine, and theobromine, all of which can affect blood vessel tone. Nitrites in cured meats like hot dogs and deli meat account for a small but potent portion of daily nitrite exposure and are a recognized migraine trigger.

Caffeine has a complicated relationship with headaches. In small amounts it can actually relieve pain, which is why it appears in many over-the-counter headache medications. But regular intake of 150 mg or more per day (roughly one cup of brewed coffee) builds dependence, and skipping your usual dose triggers withdrawal headaches. Other common dietary triggers include monosodium glutamate, aspartame, citrus fruits, and alcoholic drinks, especially red wine and beer.

Dehydration and Headache Pain

When you lose fluid without replacing it, your blood becomes slightly more concentrated. Brain imaging studies show that even mild dehydration reduces brain tissue fluid by about 1.6%, with measurable shrinkage in the cortex, white matter, and deeper brain structures like the thalamus. That volume loss puts traction on the pain-sensitive membranes anchoring your brain to the skull, producing a dull, aching headache that worsens when you stand, move quickly, or bend forward. Rehydrating typically reverses the process within 30 minutes to a few hours.

When Painkillers Become the Problem

One of the most overlooked headache causes is the very medication people take to treat them. If you use simple painkillers like ibuprofen or acetaminophen on 15 or more days per month for longer than three months, you risk developing medication-overuse headache (sometimes called rebound headache). For stronger medications like triptans, opioids, or combination pain relievers, the threshold is lower: 10 or more days per month over three months.

The pattern is insidious. Headaches become more frequent, so you take more medication, which makes the headaches even more frequent. The headache itself often feels like a dull, persistent, daily pressure that’s different from the original headache type. Breaking the cycle usually requires tapering off the overused medication, which can temporarily worsen headaches before they improve.

Medical Conditions That Cause Headaches

Sometimes a headache is a symptom of something else entirely. These “secondary” headaches have an identifiable underlying cause that, once treated, resolves the headache. Common culprits include sinus infections, head or neck injuries, and illnesses with fever. More serious causes include stroke, bleeding in or around the brain, blood vessel tears in the neck, inflamed arteries (especially in people over 50), blood clots in the brain’s drainage veins, and brain tumors.

A sharp spike in blood pressure, with the top number reaching 180 or higher, can produce a headache that fades once blood pressure comes back down. A condition called idiopathic intracranial hypertension raises the pressure of spinal fluid around the brain, causing daily headaches often accompanied by a pulsing sound in one ear and vision changes. Post-COVID syndrome has also been recognized as a cause of persistent headaches that linger for weeks or months after infection.

Warning Signs of a Dangerous Headache

Most headaches are painful but not dangerous. A handful of red flags suggest something more serious is happening:

  • Sudden onset: A headache that reaches maximum intensity within seconds (“thunderclap headache”) can signal bleeding in the brain.
  • Neurological symptoms: Weakness on one side, confusion, difficulty speaking, vision loss, or a seizure alongside a headache requires urgent evaluation.
  • New headache after age 50: A first-ever headache pattern starting later in life raises the possibility of giant cell arteritis, a tumor, or other structural causes.
  • Pattern change: A headache that feels fundamentally different from your usual headaches, or one that’s been steadily worsening over weeks, deserves attention.
  • Systemic signs: Fever, unexplained weight loss, night sweats, or a stiff neck point toward infection or inflammation as the underlying cause.

These red flags don’t always mean something catastrophic, but they indicate the headache warrants a medical workup rather than another dose of ibuprofen.