Which OTC medications are good for headaches?
Nothing ruins a good day quite like a headache. Headaches are extremely common and come in a number of different varieties. Luckily, there are many effective treatments for headaches, including over-the-counter (OTC) medications. Your pharmacist can help you select the right OTC medication.
Common types of headaches
If you talk to your pharmacist about your headache, one of the first things they may do is try to determine the type of headache you have.
Primary headaches are those that are not a symptom of another condition but are a condition in their own right. The International Headache Society classifies primary headaches into the following types:
- Tension headaches are characterized by dull or throbbing moderately intense pain located all around the head.
- Migraine headaches are associated with pain on only one side of the head, sensitivity to light and sound. They may be accompanied by a visual disturbance like seeing a flash of light.
- Cluster headaches are intensely painful and may last weeks to months.
Secondary headaches are caused by another medical condition, such as sinus pressure, caffeine withdrawal, or a head injury.
OTC medications for headache pain relief
Your pharmacist is a great resource for helping you find an OTC medication to treat your headache pain. They can also help you with proper dosing, side effects, and tell you when to see your doctor. They can guide you toward the best OTC headache treatment by asking you questions about other medical conditions and medications you may be taking.
- Non-Steroidal Anti-inflammatory Drugs (NSAIDs) like ibuprofen (Motrin/Advil), naproxen (Aleve), and aspirin block substances in the body responsible for pain and inflammation. Acetaminophen (Tylenol) works by reducing how the body senses pain.
- Headache pain reliever products may also include a combination of medications such as aspirin, acetaminophen, and caffeine.
Talk to your doctor if:
- You experience “thunderclap headaches,” which are excruciatingly painful headaches that happen quickly from no apparent reason
- You experience migraine-like symptoms for the first time
Talk to your pharmacist before taking an OTC medication if you have one of the conditions:
- You are in your third trimester of pregnancy (NSAIDs)
- You have a history of liver disease (acetaminophen)
Related questions
- Can you take Ibuprofen if you have COVID-19 (coronavirus)?
- Naproxen vs ibuprofen: What's the difference?
- Can you take ibuprofen on an empty stomach?
Non-medication changes may offer relief
It should be noted that it is possible to prevent or relieve headache pain by making certain changes. For example:
- Identify and avoid factors that may worsen your headache, such as overly strenuous exercise, flashing lights, loud noises, or certain foods.
- Practice stress management and relaxation techniques to reduce the frequency of chronic headaches.
- Apply a cold compress to your head for up to 20 minutes at a time to reduce pain and inflammation.
Summary
Although headaches may be an unavoidable nuisance for some people, effective treatment options are available to minimize the duration and pain. Your pharmacist is a great resource to help you find the best treatment.
See also:
Aimovig
Learn about Aimovig (erenumab-aooe) a once-monthly, injectable medication that can be ...
Botox
Botox is used for cosmetic purposes and to treat overactive bladder symptoms, urinary incontinence ...
Nurtec ODT
Nurtec ODT (rimegepant) is used to treat acute migraines and prevent episodic migraines, by ...
Vyepti
Vyepti (eptinezumab-jjmr) is used for the preventive treatment of migraine. Includes Vyepti ...
Depakote
Depakote is used to treat various types of seizure disorders. Learn about side effects ...
Topamax
Topamax (topiramate) is used to prevent seizures in adults and children and to prevent migraine ...
Emgality
Emgality (galcanezumab-gnlm) is a CGRP antagonist for the preventive treatment of migraine and for ...
Inderal
Inderal (propranolol) is used to treat angina, high blood pressure and heart rhythm disorders ...
Ajovy
Ajovy (fremanezumab-vfrm) is a preventive migraine treatment. Includes Ajovy side effects ...
Valproate Sodium
Valproate Sodium is used for epilepsy, seizure prevention, seizures
Related medical questions
- Meloxicam vs Ibuprofen: What's the difference?
- Can you take tramadol with acetaminophen, ibuprofen, or aspirin?
- Aleve vs Ibuprofen: What's the difference?
- Can you drink alcohol with ibuprofen?
- What's the best medicine for sore throat?
- How do Celebrex and ibuprofen compare?
- Advil (ibuprofen) & Tylenol (acetaminophen) together, safe?
- Acetaminophen vs Ibuprofen: Which is better?
- How much ibuprofen can I take and how often?
- Is ibuprofen (Advil) a blood thinner?
- Can I take ibuprofen with blood pressure medications?
- What temperature is considered a fever?
- Can you take ibuprofen 800 mg with tramadol 50 mg?
- How long does ibuprofen take to work?
- Can ibuprofen cause constipation?
- All Eyes on Ibuprofen: What are 10 Things You Need to Know?
- Is it safe to take ibuprofen right after taking prednisone?
- Can you take Ibuprofen after the COVID booster vaccine?
- Why is Ibuprofen dangerous for dogs? Here are safer alternatives
- What are the inactive ingredients in ibuprofen?
- I just took ibuprofen and prednisone, is that ok?
- Which painkiller should you use?
- Is Ibuprofen bad for your kidneys and liver?
- Does Feverfew interact with any drugs?
Drug information
- Ibuprofen 242 reviews
- Naproxen 683 reviews
- Acetaminophen 105 reviews
- Caffeine 39 reviews
Related support groups
- Ibuprofen (265 questions, 239 members)
- Naproxen (167 questions, 268 members)
- Acetaminophen (161 questions, 218 members)
- Caffeine (46 questions, 76 members)
- Pain (2,279 questions, 11,946 members)
- Migraine (303 questions, 1,642 members)
- Headache (421 questions, 1,468 members)
- Cluster Headaches (21 questions, 109 members)

AHFS® Patient Medication Information is used with permission. ©2025, the American Society of Health-System Pharmacists, Inc. (ASHP). The ASHP Data is a part of the AHFS Drug Information®️; ASHP is not responsible for the accuracy of transpositions from the original context.