Headaches have dozens of possible causes, ranging from everyday triggers like skipping meals or poor sleep to serious underlying conditions that need immediate attention. Most headaches fall into two broad categories: primary headaches, where the headache itself is the problem, and secondary headaches, where pain signals an issue somewhere else in the body. Understanding which type you’re dealing with helps you figure out what’s actually going on and what to do about it.
Primary Headaches: When the Headache Is the Problem
Primary headaches aren’t caused by another disease or injury. They result from changes in how your brain processes pain signals, how blood vessels behave, or how muscles around your head and neck respond to stress. The three most common types are tension headaches, migraines, and cluster headaches.
Tension Headaches
Tension headaches are the most common type, often described as a tight band of pressure around the forehead or the back of the head. They were long blamed entirely on tight muscles in the scalp and neck, and muscle tension does play a role. Trigger points, which are small, tender knots in muscle tissue, can send pain signals into the head. But research shows something more is happening: people who get frequent tension headaches develop a generalized sensitivity to pain, even in areas far from the head. This means the central nervous system itself becomes more reactive to pain signals over time, which is why tension headaches can become chronic and harder to shake.
Common triggers include stress, poor posture, jaw clenching, eye strain, and lack of sleep. People who spend long hours at a desk or looking at screens are especially prone.
Migraines
Migraines involve a more complex chain of events in the brain. The process centers on a network of nerve fibers that connect blood vessels and membranes surrounding the brain to the brainstem. When this system activates, nerve endings release a signaling molecule called CGRP, which triggers inflammation around the brain’s outer layers, dilates blood vessels, and amplifies pain signals. In some cases, a wave of electrical activity spreads across the surface of the brain beforehand, which is what produces the visual disturbances (auras) some people experience before the pain starts.
Migraine triggers vary widely from person to person but commonly include bright lights, strong smells, weather changes, certain foods, alcohol, irregular sleep, and hormonal shifts.
Cluster Headaches
Cluster headaches are rarer but far more intense. Patients consistently describe them as the worst pain they’ve ever experienced, comparing them to childbirth or kidney stones. The pain is strictly one-sided, usually centered behind or above the eye, and it ramps up quickly, lasting anywhere from 15 minutes to 3 hours per attack. During an episode, the affected eye may tear up, the eyelid may droop, or the nostril on that side may become congested.
Attacks tend to come in bouts lasting 6 to 12 weeks, often following a seasonal pattern with more episodes in spring or autumn. During a bout, attacks can happen once every other day or as often as eight times a day. Between bouts, people can go months or years without symptoms.
Dehydration and Blood Flow Changes
Not drinking enough water is one of the simplest and most overlooked headache triggers. When you’re dehydrated, your brain can actually shrink slightly as it loses fluid content. MRI studies have confirmed this measurable reduction in brain volume during prolonged fluid loss. As the brain contracts, it increases tension on the surrounding membranes and tissues, producing pain. For most people, rehydrating resolves the headache within an hour or two, though severe or chronic dehydration can cause more persistent symptoms.
Caffeine: Both Cure and Cause
Caffeine has an unusual relationship with headaches. It narrows blood vessels around the brain, which is why it’s included in some pain relievers and why a cup of coffee can ease a mild headache. The problem comes when your body adapts to regular caffeine intake. If you skip your usual coffee or suddenly cut back, those blood vessels widen again, increasing blood flow around the brain and putting pressure on surrounding nerves. This rebound effect is a classic caffeine withdrawal headache, and it can start within 12 to 24 hours of your last dose.
Hormonal Shifts
Estrogen plays a significant role in headaches, particularly migraines. Steady estrogen levels tend to keep headaches in check, but drops in estrogen make them worse. The most common example is the headache that arrives just before or during a menstrual period, when estrogen falls sharply. Many people with migraines report that their worst attacks cluster around menstruation. Pregnancy, perimenopause, and hormonal contraceptives can also shift headache patterns, sometimes improving them and sometimes making them significantly worse, depending on how they affect estrogen stability.
Medication Overuse Headaches
This is one of the most common and least recognized causes of chronic headaches. If you take pain relievers for headaches on 10 to 15 or more days per month (the threshold depends on the type of medication) for at least 3 months, the medication itself can start causing headaches. About 2% of the general population deals with this problem, making it one of the most widespread treatment-caused conditions in medicine. The headaches typically occur on 15 or more days per month and often feel like a dull, persistent version of the original headache type. The only effective treatment is gradually reducing or stopping the overused medication, which usually makes headaches temporarily worse before they improve.
Neck Problems and Posture
Headaches originating from the neck, called cervicogenic headaches, are caused by problems in the cervical spine: its bones, discs, or soft tissues. The pain typically stays on one side of the head and radiates from the back of the skull forward. Key distinguishing features include reduced neck mobility, pain that worsens when you press on neck muscles or move your head in certain directions, and the fact that the headache tracks closely with how your neck feels. If the neck problem improves, the headache improves with it. These headaches overlap with tension headaches enough that they can be hard to tell apart without a careful exam.
Other Common Secondary Causes
Beyond the neck, headaches can be triggered by a wide range of conditions throughout the body. Sinus infections cause pressure and pain across the forehead and cheeks. Jaw problems, particularly issues with the joint that connects your lower jaw to your skull, can radiate pain into the temples. High blood pressure, though often painless, can cause headaches when it spikes significantly. Even air travel can trigger a distinct, severe headache during descent that disappears quickly after landing, a pattern recognized as its own headache type in the international classification system.
Head injuries, both recent and old, are another major cause. Post-concussion headaches can persist for weeks or months. Changes in the pressure of the fluid surrounding the brain, whether too high or too low, also produce headaches that characteristically shift in intensity when you change positions, feeling worse when standing or lying down depending on the direction of the pressure problem.
When a Headache Signals Something Dangerous
Most headaches are not dangerous, but certain patterns warrant urgent evaluation. A sudden-onset headache that reaches maximum intensity within seconds, sometimes called a thunderclap headache, is one of the most concerning signs. It can point to a ruptured blood vessel or other vascular emergency in the brain.
Other warning signs to take seriously:
- Neurological changes like new weakness in an arm or leg, numbness, or vision changes alongside the headache
- Systemic symptoms such as fever, night sweats, or unexplained weight loss
- New headaches after age 50, which are more likely to have a secondary cause
- Progressive worsening over days or weeks, with headaches becoming more severe or more frequent
- Positional changes where the headache gets markedly better or worse when you stand up, lie down, cough, or strain
- New headaches during or after pregnancy, which can signal vascular or hormonal complications
A new, very severe headache with sudden onset is the single pattern most likely to require emergency imaging or an ER visit.

