Headache: Causes, Relief, and When to See a Doctor
A headache is pain or pressure anywhere in your head, from a dull band around your forehead to a throbbing pulse behind one eye. Most are harmless, and many settle with rest, fluids, or a simple pain reliever. This page explains what is likely causing yours, the warning signs that need fast care, how to get relief, and when to see a doctor.
At a Glance
What a Headache Feels Like
Headache is one of the most common reasons people see a doctor, and nearly everyone gets one at some point. The pain itself does not come from your brain, which has no pain sensors. It comes from the muscles, blood vessels, and nerves in your scalp, face, and neck, along with the tissues that wrap around the brain.
Headaches come in several distinct patterns. A tension-type headache often feels like a tight band squeezing both sides of your head, with a steady, dull ache. A migraine usually throbs or pulses, often on one side, and can come with nausea, vomiting, and sensitivity to light and sound. A cluster headache brings sharp, burning pain around or behind one eye, often with a watery eye and stuffy nose on that side. Sinus-related pain sits over the cheeks, forehead, and bridge of the nose and worsens when you bend forward.
Where the pain sits can hint at the cause. Pain at the back of the head and neck often points to muscle tension or nerve irritation. Pain in the temples is common with tension and migraine. Pain behind the eyes can come from migraine, eye strain, or sinus pressure. A brief, stabbing ice pick pain that lasts only seconds is usually harmless. Knowing your pattern helps your doctor figure out the cause.
Common Causes of Headache
Most headaches trace back to a handful of everyday causes. Knowing which fits your pattern is the first step toward relief.
Everyday triggers
- Tension-type headache: the most common kind, often from stress, poor posture, jaw clenching, or long hours at a screen.
- Dehydration: not drinking enough water can bring on a dull, all-over ache that eases once you rehydrate.
- Caffeine withdrawal: skipping your usual coffee can trigger a throbbing headache within a day. Cutting back slowly helps.
- Eye strain and poor sleep: squinting, bright screens, and broken sleep are frequent culprits.
- Sinus pressure: congestion from a cold or allergies can cause face and forehead pain.
Medical conditions to know
Some headaches signal an underlying condition. Migraine is a neurological disorder that causes throbbing attacks, sometimes with a visual warning called an aura. Irritation of a nerve at the back of the skull causes occipital neuralgia, felt as sharp, shooting pain up the back of the head. Trigeminal neuralgia brings electric-shock facial pain. Less often, headache is a symptom of a serious problem such as a stroke or a brain infection like encephalitis, both of which are emergencies covered in the next section.
Hormone shifts also matter. Many women notice headaches around their period or during pregnancy. Most pregnancy headaches are tension-type and harmless, but a new or severe headache in pregnancy, especially with vision changes or swelling, should be checked the same day.
When to Seek Emergency Care (Red Flags)
Most headaches are not dangerous, but certain warning signs mean you need help right away. Trust these signals even if you have never had a serious headache before.
Call 911 or go to the emergency room now if your headache comes with any of these:
- A sudden, severe headache that peaks within seconds and feels like the worst of your life. This is called a thunderclap headache and can signal bleeding around the brain.
- Weakness, numbness, drooping on one side of the face or body, trouble speaking, or sudden vision loss. These are signs of a possible stroke. Act fast.
- Confusion, a stiff neck, and fever, which can point to meningitis or encephalitis.
- A headache after a head injury, fall, or car crash, especially with vomiting or drowsiness.
- A seizure, fainting, or loss of consciousness.
Call your doctor the same day if you notice:
- A headache pattern that is new or clearly different for you, especially after age 50.
- Headache that steadily worsens over days or weeks, or that wakes you from sleep.
- Headache with a new fever, unexplained weight loss, or a weakened immune system.
When in doubt, get checked. Fast care saves brain tissue and lives in a stroke or infection.
How to Get Relief and Self-Care
For the everyday headache, a few simple steps often work within an hour or two.
Try these first
- Drink water. Dehydration is an easy fix and a frequent cause.
- Rest in a quiet, dark room. This is especially helpful for migraine.
- Apply a cold pack to your forehead for migraine, or a warm compress to the neck and shoulders for tension headache.
- Take an over-the-counter pain reliever such as acetaminophen, ibuprofen, naproxen, or aspirin, following the label dose. Combination products for migraine can help when taken early.
- Have a small amount of caffeine if your headache is from caffeine withdrawal.
- Stretch and reset your posture if you have been hunched at a desk.
Prevent the next one
Keep a simple headache diary that notes when pain starts, what you ate, your sleep, and your stress level. Patterns often point to a trigger you can avoid. Regular sleep, steady meals, hydration, daily movement, and stress-relief practices like deep breathing all reduce how often headaches strike.
One caution: using pain relievers more than two or three days a week can lead to medication-overuse headache, a rebound cycle that makes things worse. If you are reaching for pills that often, talk to a doctor about a prevention plan instead. For frequent migraine, prescription options and newer preventive medicines can sharply cut attack frequency.
How a Headache Is Diagnosed
Most headaches are diagnosed from your story alone, with no scans needed. Your doctor will ask how the pain feels, where it sits, how long it lasts, what brings it on, and what eases it. Bringing your headache diary makes this faster and more accurate.
A physical and neurological exam checks your vision, reflexes, balance, and strength to make sure nothing points to a deeper problem. If your exam is normal and your pattern fits a common headache type, you usually will not need imaging.
Tests are ordered when warning signs are present or the pattern is unusual. A CT scan can quickly spot bleeding after a sudden severe headache or injury. An MRI gives a detailed picture of the brain and is used when symptoms suggest a structural cause. A spinal tap may be done if infection or bleeding is suspected. Blood tests can check for infection or inflammation. Your doctor orders these only when the answers will change your care, not as a routine step for ordinary headaches.
When to See a Doctor and Which Specialist
Start with your primary care doctor if headaches are frequent, interfere with work or sleep, or are not controlled by over-the-counter medicine. They can diagnose the common types, rule out other causes, and start treatment.
Ask for a referral to a neurologist when headaches are severe, happen often, do not respond to first-line treatment, or come with neurological symptoms. A neurologist specializes in the brain and nervous system, and many focus specifically on headache and migraine. They can offer prescription preventives, nerve blocks, and procedures that a general office may not.
Go straight to emergency care, not a clinic visit, for any of the red flags above. This page is educational, not a diagnosis. If pain worries you or will not let up, see a doctor. You can find experienced neurologists near you using the directory below to compare locations and book a visit close to home.
Find Help for Headache Near Me
Browse CMS-verified providers who treat headache by state.
Related care
Conditions, procedures, treatments and tests connected to headache.
Frequently Asked Questions
Common questions about headache
What is the difference between a migraine and a regular headache?
A tension-type headache usually causes steady, mild-to-moderate pressure on both sides of the head. A migraine tends to throb on one side and often comes with nausea, vomiting, and sensitivity to light and sound. Migraine attacks can also include a visual aura and last much longer.
When should I worry about a headache?
Seek emergency care for a sudden 'worst headache of your life,' or a headache with weakness, numbness, slurred speech, confusion, stiff neck, fever, or after a head injury. Also call your doctor for a new headache pattern after age 50 or pain that steadily worsens over days. These signs can point to a stroke, infection, or bleeding.
How do I get rid of a headache fast?
Drink water, rest in a quiet dark room, and apply a cold pack for migraine or a warm compress for tension pain. An over-the-counter pain reliever taken early often helps. Avoid using pain medicine more than two or three days a week, which can cause rebound headaches.
What causes a headache behind the eyes?
Pain behind the eyes is common with migraine, eye strain from screens, and sinus pressure from colds or allergies. Cluster headaches also cause sharp pain around one eye. If the pain is sudden and severe or comes with vision loss, treat it as an emergency.
Can dehydration cause headaches?
Yes. Not drinking enough fluid can bring on a dull, all-over headache that often eases within an hour or two of rehydrating. Heat, exercise, alcohol, and illness raise your risk. Drinking water steadily through the day helps prevent it.
Are headaches during pregnancy normal?
Most pregnancy headaches are tension-type and harmless, often from hormone shifts, poor sleep, or stress. But a new or severe headache, especially with vision changes, swelling, or upper-belly pain, should be checked the same day because it can signal high blood pressure. Always tell your prenatal provider about bad headaches.
What kind of doctor treats chronic headaches?
Start with your primary care doctor, who can diagnose common headaches and begin treatment. For severe, frequent, or hard-to-control headaches, a neurologist who specializes in the brain and nervous system is the right specialist. Some focus specifically on headache and migraine care.
Medical disclaimer: This content is for educational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider with questions about a medical condition. If you have a medical emergency, call 911. Our editorial standards