Headache pain can interfere with your life and make it difficult to go about your day. But you can get headache relief. A variety of headache medicines, both prescription and over the counter, can provide effective headache treatment. Talk to your healthcare provider about the best medicine for your needs.
Advertisement
Cleveland Clinic is a non-profit academic medical center. Advertising on our site helps support our mission. We do not endorse non-Cleveland Clinic products or services. Policy
If you get headache pain, medications can bring relief. You can buy some headache medications right off the shelf at the store. These drugs are known as over-the-counter (OTC) pain relievers. With other headache medications, you need a medical prescription. Your healthcare provider can help you figure out the best medicine for your needs.
Advertisement
Cleveland Clinic is a non-profit academic medical center. Advertising on our site helps support our mission. We do not endorse non-Cleveland Clinic products or services. Policy
There are three types of headache medications:
Primary headaches are headaches that aren’t caused by another condition. They include:
A secondary headache is when head pain comes from another medical condition, such as a head injury, sinus infection or high blood pressure.
Headache medications are most effective when you combine them with other recommendations for healthy living:
It’s tempting — and easy — to rely too heavily on headache medications. Some people experience daily or almost-daily headaches. For those that get migraines, the headaches may seem to blend together, with no beginning or end. You may feel the need to reach for medications to relieve symptoms or stop headaches in their tracks.
But doing so can actually make headaches worse or more frequent. In particular:
Advertisement
Some headaches rebound (come back) because you use medications too much. Then you need to take even more medication, which makes the pain worse. This cycle can happen with:
Talk to your healthcare provider about stopping medications. If you stop, the pain may improve over the next six to 12 weeks.
These steps can help you or a loved one manage headache pain:
Sometimes regulators approve a medicine for a specific use and researchers find it helps for another condition, too. Healthcare providers may then choose to prescribe the medicine for additional uses. That’s called “off-label” prescribing. It can also include healthcare providers giving children drugs approved for adults when there aren’t other good options.
Advertisement
Many of the medications used for headache pain weren’t approved specifically for that reason. Examples include medications designed for heart disease that also help with migraines.
Off-label prescribing is a common and legal practice in medicine. It’s also one of the ways researchers find new uses for existing, approved drugs. In many cases, it can lead to new clinical trials.
Always check with your healthcare provider before starting any medications.
Follow your provider’s instructions when it comes to taking any medication. Your provider will likely recommend that you:
Nonprescription medications, also called OTC drugs, are safe when used as directed. Keep these precautions in mind:
Advertisement
There is no cure for headaches, including migraines. Treatment can help relieve pain and other symptoms. If you get frequent headaches, including chronic migraines, talk to your healthcare provider about preventive medications.
There are several ways to manage headache pain without medication. Sticking to a healthy diet, drinking plenty of water and getting regular exercise can help you feel your best.
Many people who experience migraines also find relief through alternative medicine. Options may include:
If you are pregnant or breastfeeding, talk to your healthcare provider before taking any pain relief medication. Your provider will help you find a treatment that relieves your pain and keeps you and your baby safe.
If you have these symptoms, see your healthcare provider or go to the emergency room:
Advertisement
These medicines help you find relief from the symptoms that may come with headaches, such as pain, nausea and vomiting. Some of these medicines are available over the counter. Others require a prescription.
Try to avoid:
The U.S. Food and Drug Administration (FDA) has not approved many of these medications for children. Talk to your healthcare provider if your child has headaches or migraines.
These medications provide relief from headache symptoms, without a prescription:
Generic name: Aspirin
Generic name: Acetaminophen, paracetamol
Generic name: Ibuprofen (NSAID, or nonsteroidal anti-inflammatory drug)
Generic Name: Naproxen sodium (NSAID)
Talk to your healthcare provider to find out if any of these prescription medications may be right for you:
Generic name: Antiemetics promethazine HCI
Generic name: Prochlorperazine
Generic name: Trimethobenzamide HCI
Generic name: Metoclopramide HCI
Generic name: Antihistamines cyproheptadine HCI
Generic name: Diphenhydramine HCI
You take abortive therapy medications early during a headache. They’re usually used for migraine headaches. These drugs stop the process causing headache pain. They help reduce headache symptoms, such as nausea, vomiting and sensitivity to light and sound.
For best results, take these medicines when you first notice the migraine. If you get a migraine aura (disturbance of senses), you may need to avoid some of these medications. Talk to your healthcare provider to figure out which medications are right for you.
Some headaches — especially migraines — last for more than 24 hours and don’t respond to other abortive medications. In these situations, your healthcare provider may recommend you get medication at an infusion site.
This site is usually a set of rooms at a hospital or clinic where people receive IV drugs. A nurse monitors the people receiving infusions. Generally, IV drugs can end the migraine attack, even when other abortive medicines were unsuccessful. You may be at the infusion site for a few hours or a full day, depending on your symptoms.
The FDA has approved some abortive therapies for teenagers but none for younger children. Talk to your child’s healthcare provider to figure out the best way to treat headaches.
Medications that can stop migraine headaches include:
Generic name: Ergot, dihydroergotamine, mesylate
Generic Name: Triptans, sumatriptan succinate*, zolmitriptan*, rizatriptan*, naratriptan HCI†, almotriptan malate*$, frovatriptan succinate†, eletriptan hydrobromide*
*short-acting
†= long-acting
$ = FDA approved for teens ages 12 to 18
Some people take daily medications to prevent headaches. In many cases, researchers developed these medications for other medical conditions. But they discovered that the drugs also help headaches. These medications won’t cure headaches. However, they can reduce the frequency, duration and severity of headache attacks.
Preventive medications can be either OTC or prescription. While these drugs are not habit-forming, they may cause unpleasant side effects. Your healthcare provider will work with you to regulate the dosage. The goal is to maximize headache relief and minimize side effects.
If you use symptomatic relief or abortive therapies more than twice a week, talk to your healthcare provider about daily preventive therapy. In addition, try other forms of headache treatment to decrease your headache attacks, such as:
You need to take preventive medicines one or more times a day. Stick to your medication regimen, and don’t skip a day. You may find that you need to switch medications and change dosages until you figure out the right solution for you.
While you’re taking the medication, record your headache frequency and severity each day. Doing so will help your provider figure out how the medicines are working. And remember, it may take some time to feel the full effects. Typically, you need about eight weeks before you and your provider can judge how it’s working.
Once you’ve achieved headache control and maintained it for six months to a year, you may be able to stop the medications. Don’t stop taking them all at once — your provider will help you slowly reduce the dosage. Some people may need to take the medication longer.
The FDA has not approved preventive therapies for use in children. Talk to your child’s healthcare provider to figure out the best treatment plan for any headaches.
Medications to prevent headaches include:
Generic name: Amitriptyline HCI
Generic name: Antihistaminescyproheptadine HCI (syrup or tablet)
Generic name: Botulinum toxin injection
Generic name: Calcitonin gene receptor peptide (CGRP) antagonist, erenumab-aooe
Generic name: Gepants, rimegepant
Generic name: Beta blockers atenolol, propranolol HCI
Generic name: Calcium channel blockers, verapamil, flunarizine
Generic name: Anticonvulsants valproic acid
Generic name: Topiramate
Generic name: Gabapentin
*Other SSRIs include citalopram (Celexa®), escitalopram (Lexapro®), fluvoxamine (Luvox®), paroxetine (Paxil®), sertraline (Zoloft®).
Headaches are a common condition. But you don’t have to live with the pain. Talk to your healthcare provider about a headache medicine that’s right for you. If you get the occasional headache, your provider may suggest symptom relief or abortive medicines. If you get frequent headaches, especially migraines, talk to your provider about preventive medicines. It may take some time to find the medicine that works for you. But the right medication and dosage, combined with healthy living, can provide long-term headache relief.
Cleveland Clinic’s primary care providers offer lifelong medical care. From sinus infections and high blood pressure to preventive screening, we’re here for you.
Last reviewed on 11/24/2021.
Learn more about the Health Library and our editorial process.