A headache is one of the most common pain experiences, and in the vast majority of cases it’s temporary and harmless. But what’s actually happening inside your head, why it started, and whether you need to worry about it depend on the type of headache and the circumstances around it. Here’s what you need to know to make sense of the pain and decide what to do next.
Why Your Head Hurts
Your brain itself has no pain receptors. It can’t feel a thing. The pain you experience during a headache comes from the structures surrounding the brain: blood vessels (especially arteries), the membrane covering the brain called the dura mater, muscles in your scalp and neck, and the nerves that run through all of them.
The main nerve responsible for headache pain is the trigeminal nerve, which carries sensory signals from most of the structures inside and outside your skull. When something irritates or activates the nerve endings in those pain-sensitive tissues, signals travel to your brainstem and register as pain. In migraines specifically, the trigeminal nerve releases a signaling molecule called CGRP that dilates blood vessels and promotes inflammation around the brain, creating that intense, throbbing pain.
The Most Common Types of Headaches
Most headaches fall into two broad categories: primary headaches, where the headache itself is the problem, and secondary headaches, where the pain is a symptom of something else going on in your body.
Tension Headaches
These are by far the most common. The pain is usually a dull, pressing sensation on both sides of your head, like a tight band around your forehead. They can last anywhere from 30 minutes to several days. Stress, poor posture, eye strain, and skipped meals are typical triggers. Tension headaches are uncomfortable but not dangerous.
Migraines
Migraines are more intense and disruptive. The pain is often on one side of the head, pulsing or throbbing, and can last 4 to 72 hours. Many people also experience nausea, sensitivity to light and sound, or visual disturbances called aura before the pain starts. Migraines involve a complex cascade of nerve activity and inflammation driven by the trigeminal nerve system, which is why they feel so different from a regular headache.
Cluster Headaches
These are rarer but extremely painful. The pain is severe and strictly one-sided, centered around or behind one eye, and lasts 15 minutes to 3 hours per attack. During the worst episodes, the pain is described as excruciating. People with cluster headaches typically can’t lie still and will pace the floor. The attacks also come with distinctive symptoms on the same side as the pain: a watery or red eye, a drooping eyelid, nasal congestion, or facial sweating. They can strike up to eight times a day during an active “cluster period.”
Common Triggers Worth Knowing
Many headaches have an identifiable trigger, and recognizing yours is one of the most useful things you can do to reduce how often they happen.
- Dehydration: Even mild dehydration can trigger a headache. Heat, exercise, sweating, and drinking alcohol or caffeine (both of which make you urinate more) all increase the risk. Drinking water and resting in a cool place often resolves the pain within an hour or two.
- Stress and muscle tension: Emotional stress and physical tension in the neck and shoulders are the most common triggers for tension-type headaches.
- Sleep disruption: Too little sleep, too much sleep, or irregular sleep patterns can all provoke headaches, especially migraines.
- Caffeine withdrawal: If you regularly drink coffee or tea and suddenly stop, the resulting headache can be significant. It typically starts 12 to 24 hours after your last dose of caffeine.
- Skipped meals: Drops in blood sugar from going too long without eating are a well-established headache trigger.
When a Headache Signals Something Else
Secondary headaches are caused by an underlying condition. Many of these are minor: sinus infections, dental problems, hangovers, or a fever from a viral illness. But some are serious. Conditions that can cause headaches include high blood pressure, head injuries, brain hemorrhage, meningitis, stroke, and in rare cases, brain tumors.
The American Headache Society uses a set of red flags to identify headaches that need urgent evaluation:
- Sudden onset: A headache that reaches maximum intensity within seconds, sometimes called a “thunderclap” headache, is one of the most concerning signs. It can indicate bleeding in the brain.
- Neurological symptoms: New weakness in an arm or leg, numbness, vision changes, confusion, or difficulty speaking alongside a headache point toward something more serious than a primary headache.
- Fever, night sweats, or weight loss: These systemic symptoms suggest an infection or other illness is driving the pain.
- Progressive worsening: A headache pattern that is clearly getting more severe or more frequent over weeks deserves investigation.
- Positional changes: Pain that dramatically shifts when you stand up, lie down, or strain (coughing, bearing down) can signal abnormal pressure inside the skull.
- New headache during or after pregnancy: This requires evaluation for vascular or hormonal complications.
If you experience any of these, getting prompt medical attention matters.
What You Can Do at Home
For a typical tension headache or mild migraine, over-the-counter pain relievers like ibuprofen or acetaminophen are effective for most people. Acetaminophen should stay under 4,000 milligrams in a 24-hour period to protect your liver. If you drink three or more alcoholic drinks a day, both medications carry extra risks: acetaminophen increases the chance of liver damage, and ibuprofen raises the risk of stomach bleeding.
Beyond medication, simple measures help more than most people expect. Drinking water, eating something if you’ve skipped a meal, lying down in a dark and quiet room, and placing a cool cloth on your forehead can all shorten a headache. Gentle stretching of the neck and shoulders helps when muscle tension is involved.
The Rebound Headache Trap
One important pattern to watch for: taking pain relievers more than a couple of days per week can actually cause more headaches. These are called medication overuse headaches, or rebound headaches, and they create a frustrating cycle. The headache improves when you take the medication but returns as soon as it wears off, which leads you to take more, which makes the pattern worse.
Rebound headaches tend to occur daily or near-daily and often wake people from sleep. They can also bring nausea, irritability, trouble concentrating, and memory problems. Breaking the cycle usually requires stopping the overused medication, which means a rough stretch of worsening headaches before things improve. If you find yourself reaching for pain relievers most days of the week, that pattern itself is worth addressing.
Treatments for Frequent or Severe Headaches
If you’re getting headaches regularly, newer prescription options have changed the landscape, particularly for migraines. A class of medications called gepants works by blocking the CGRP receptors that drive migraine pain and inflammation. Some are taken daily to prevent migraines from starting, while others are used as rescue medications when an attack hits. Oral versions can stop a migraine within about two hours, and a nasal spray formulation can start working in as little as 15 minutes.
Unlike older migraine medications called triptans, gepants don’t constrict blood vessels, making them a safer option for people with heart disease, high blood pressure, high cholesterol, or a history of smoking. Your options depend on whether your headaches are episodic or chronic and what type they are, so a proper diagnosis is the first step toward the right treatment plan.
Tracking Patterns Makes a Difference
If headaches are a recurring part of your life, keeping a simple log of when they happen, what you were doing, what you ate and drank, how you slept, and how stressed you were can reveal patterns that aren’t obvious in the moment. Many people discover their headaches cluster around specific triggers they can modify, whether that’s weekend caffeine changes, dehydration during exercise, or poor sleep on work nights. That information is also invaluable if you eventually see a provider, because headache diagnosis relies heavily on the pattern and characteristics you describe.

