Your day is going just fine—until you start to feel a dull ache in your temples, signaling the beginning of a headache. While headaches can be painful, they’re also very common and most aren’t cause for concern.
Stress, dehydration, certain foods, and spending too much time staring at electronic devices are common causes of headaches. While some types of headaches can be treated successfully with over-the-counter (OTC) medications, some headaches require a consultation with your healthcare provider. Learn more about the different kinds of headaches—and how to tell which is which.
What are the different types of headaches?
It’s easy to assume that your head pain is caused by seasonal allergies, but—because the symptoms are similar—it could easily be a tension headache.
There are two categories of headache disorders:
- Primary headaches: The headache is the condition itself—your pain isn’t triggered by something else, like allergies or dehydration.
- Secondary headaches: The headache is a symptom of something else that’s happening in your body. Treating the root cause generally brings pain relief. For example, high blood pressure, hormone changes, or withdrawal from caffeine can all trigger secondary headaches.
Being able to correctly identify your specific category and type of headache can result in better treatments and quicker relief from that head pain.
The common types of headaches include:
- Tension headaches
- Sinus headaches
- Cluster headaches
- Migraine
- Medication overuse headaches
- Caffeine headaches
- Exertion headaches
- Hormone headaches
Most people have experienced a headache – the cause, duration, intensity, and location are dependent on the type of headache.
1. Tension headaches
Tension-type headaches are the most common type of headache. “Typically, tension headaches start at the back of the head and are sometimes accompanied by stiffness in the shoulders and neck,” says Kathryn Boling, MD, a family medicine physician at Mercy Medical Center in Baltimore, Maryland. “Some people describe tension headaches as feeling as if they have a rubber band around their head.” You may experience dull, squeezing pain on both sides of the head, almost like your head is in a vise. The pain may last for 30 minutes to seven days.
OTC pain relievers such as Tylenol (acetaminophen), Advil or Motrin (ibuprofen), or Aleve (naproxen) usually work well on tension headaches and the accompanying stiff neck. In the event tension headaches persist, your healthcare provider may recommend a prescription pain medication such as Naprosyn (naproxen), which is stronger than Aleve. Sometimes, for chronic tension headaches, doctors will recommend an antidepressant—usually a tricyclic antidepressant such as Elavil (amitriptyline)—to prevent tension headaches.
Many lifestyle changes to reduce stress also work well in warding off tension headaches, like physical activity or extra rest. “Exercising, such as taking a walk outdoors, in nature, or taking time to de-stress through mindfulness or meditation can also provide relief from tension headaches,” Dr. Boling says. “In addition, staying well hydrated, getting a good night’s sleep, and eating a healthy diet can all help to prevent tension headaches.”
2. Sinus headaches
These painful headaches can feel like the bane of your existence. Located in the front of the head, often caused by inflamed sinuses or allergies, sinus headaches can feel like boring pressure behind the eyes. They can also accompany a sinus infection, also known as sinusitis.
You may be surprised to learn that a migraine can be mistaken for a sinus headache. “Both a sinus headache and a migraine can cause facial pain,” Jai Cho, MD, a San Francisco neurologist with The MAVEN Project, a telehealth non-profit. “But if a patient has a headache without congestion, a fever, or nasal mucus, it’s probably a migraine rather than a sinus headache.”
Sinus headaches may be treated with decongestants to reduce nasal congestion, but be sure to check with your doctor or pharmacist first as it could interact with other meds you’re taking. You can also apply a warm compress to painful areas of the face or use a saline nasal spray for sinus headaches.To help decrease sinus congestion, a nasal saline rinse performed daily can help irrigate the sinuses to decrease the dust, mold, pollen and allergens that can irritate the sinuses.
3. Cluster headaches
These episodic, excruciating headaches usually occur on one side of the head (often behind the eye or at the temple) and can occur in cycles throughout the day. Cluster headaches tend to occur in a series around the same time of day, for several weeks or months. They can occur several times a day and can last anywhere from 15 minutes to several hours. “Cluster headaches aren’t as common as migraines and tension headaches, but they can be very painful,” Dr. Boling says.
While experts aren’t sure what causes cluster headaches, they may be triggered by certain factors such as alcohol use or smoking, bright light, or exercise. OTC medicines usually aren’t effective in treating cluster headaches, but your provider may suggest oxygen treatments and sumatriptan nasal spray. To prevent cluster headaches, your provider may prescribe medications such as Verelan (verapamil) or Lithobid (lithium). Emgality (galcanezumab) was approved in 2019 as an injection to relieve the symptoms and frequency of cluster headaches and migraines.
4. Migraine
Migraine is often underdiagnosed and undertreated. Migraine headaches aren’t the same in everyone and symptoms can vary from one person to the next.
Characterized by a pulsing or throbbing pain on one side of the head, migraines can be accompanied by nausea, vomiting, and sensitivity to light and sound. The American Migraine Foundation says 25% to 30% of people experience migraine aura, where they see sparks or bright dots or experience tingling on one side of their body. “Migraines are more than just a bad headache,” Dr. Cho explains. “They can be recurring, vary in intensity, and last from a few hours to several days.”
The Migraine Research Foundation estimates migraines affect 39 million men, women and children in the United States and 1 billion worldwide. Despite the high prevalence of migraine, many people with migraine go untreated. One recent study found that 1 in 5 people didn’t realize they could get preventive migraine relief. Others weren’t aware that migraines can often be triggered by hormones (especially during menstrual cycles and menopause), an irregular sleep schedule, dehydration, certain foods, alcohol, and caffeine.
If you suspect that you have migraine, your physician will take your medical history and conduct a physical with a neurological exam. They will ask how often you have symptoms, if you have a family history of migraines, and inquire about your “headache burden,” or how many days each month you experience migraines and the impact they have on your life (whether you’re forced to miss work and other events).
If OTC treatments haven’t worked and you experience severe pain from headaches, there are prescription acute and preventive medications that can improve your quality of life.
“If patients are experiencing migraines two or more days a week, I’ll typically put them on a preventative (also known as prophylactic) medication,” Dr. Cho says.
Acute prescription medications used to treat migraine include triptans such as:
- Imitrex (sumatriptan)
- Maxalt (rizatriptan)
- Ubrelvy (ubrogepant)
- Reyvow (lasmiditan)
Preventive medications include:
- Nurtec ODT (rimegepant): pills taken orally
- Topamax (topiramate): pills taken orally
- Aimovig (erenumab): monthly injection
- Botox (botulinum toxin) injected into the face every three months
If you have tried a migraine medication in the past without success, talk with your doctor about some of the newer treatment options. Many of the older medications used to prevent migraines were initially approved to treat other medical conditions such as depression or hypertension. These newer medications were developed specifically to treat migraines.
“Among the newer class of prescription medications are calcitonin gene-related peptide (CGRP) inhibitors, monoclonal antibodies that block a pathway involved in the migraine process,” Dr. Cho says. “These are injectables administered every one to three months and have been shown to help some patients have fewer migraines.”
A 2017 study found that melatonin might also prove useful in treating migraines and cluster headaches. Talk to your physician or pharmacist about the appropriate dosage and whether melatonin might work as part of your migraine treatment plan.
Other alternative treatments like acupuncture may help as well. One systematic review of 22 clinical trials found that the frequency of headache in people with migraine dropped by 50% or more in up to 59% of individuals receiving acupuncture.
RELATED: What is migraine?
5. Medication overuse headaches
While most people turn to medications at the first sign of a headache, this approach can also lead to rebound headaches, also known as medication overuse headaches. If you use headache medication more than two or three times a week, it could trigger medication overuse headaches when the medication wears off.
“Instead of relieving symptoms, this can cause a secondary or more frequent headache,” Dr. Cho says. “Breaking the cycle of rebound headaches involves working with your doctor to stop the acute drugs and to begin taking preventive medications for your headaches.”
RELATED: Rebound headaches, explained
6. Caffeine headaches
If you regularly consume caffeine and abruptly stop, you may experience withdrawal effects, the most common of which is a headache. According to research, a caffeine headache may begin about 12 hours after your last cup of coffee and continue for two to 9 days. If you’ve decided to stop using caffeine, it is best to reduce your usage gradually to reduce the probability of a caffeine headache.
If you are experiencing a headache caused by caffeine withdrawal, over-the-counter pain relievers may help, but make sure they do not contain caffeine. And do your best to stay hydrated, which can help to minimize caffeine withdrawal symptoms.
7. Exertion headaches
Exertion headaches feel like pulsations on both sides of the head and typically occur during or after strenuous activities like exercise. They are more common in hot weather and at high altitude, but according to the American Migraine Foundation, these headaches are rare. If you experience the onset of a headache during exercise, it’s important to see a healthcare provider to rule out other causes.
To treat exertion headaches, your provider may prescribe the anti-inflammatory medication indomethacin. Beta-blockers such as nadolol and propranolol may also be prescribed. As well, your provider might recommend supplementing with melatonin. Warming up before engaging in physical exercise may also be helpful. Taking naproxen 30-60 minutes before you work out may also help to prevent exertion headaches. Stay hydrated.
8. Hormonal headaches
For women, hormonal headaches often occur during periods of hormonal fluctuations. They might pop up during menstruation, when taking oral contraceptives, while pregnant and/or breastfeeding and during menopause.
To treat hormone headaches at home, try using ice, over-the-counter pain relievers, relaxation exercises, or acupuncture. It’s also important to get plenty of rest and exercise and to eat a healthy diet. For persistent pain doctor may prescribe medications such as triptans, gepants (small molecule calcitonin gene-related peptide [CGRP] receptor antagonist), or dihydroergotamine.
When to see a doctor for a headache
If your headaches are infrequent, not-life altering, occurring only a few times each month, it’s likely that OTC medications are all you’ll need. “If your headaches don’t respond to OTC medications, and occur three or more times a week, you should talk to your doctor,” says Dr. Cho. Or, if your headaches are causing severe pain or interfering with your life, it is time to check in with a physician.
“I usually start by asking patients to use a calendar to circle how many days each week they experience a headache,” Dr. Cho says. “Then I ask them to rate the headache, one being mild, two as medium and three as severe.” Your healthcare provider may also ask you questions about your lifestyle—such as your caffeine intake and your sleep schedule—to help determine what could be causing your headaches.
Depending on the results of the initial examination, your primary care provider may refer you to a neurologist.
Some cases require immediate medical treatment in the emergency room. “If you experience a thunderclap headache, a severe headache that comes on suddenly, it’s important to immediately go to the emergency room,” Dr. Boling says. “This type of headache can signal a brain bleed and requires immediate medical care.” It’s rare, but this type of headache pain can be the warning sign of a life-threatening aneurysm or brain tumor.
Seek emergency medical care if you have the worst pain you’ve ever had, lose vision or consciousness, have headaches after a head injury, have vomiting that won’t stop, or if your pain has lasted more than three days.