How to Get Rid of a Headache Fast
For fast headache relief, take your prescribed migraine medicine if it applies to you, or use a suitable over-the-counter pain reliever; drink water if you may be dehydrated. The best choice depends on the kind of headache you have, and no remedy works immediately for everyone.
These steps are for a familiar headache without warning signs. For hydration ideas, see the best drinks for headaches.
5 home remedies for fast headache relief
1. Take your prescribed migraine medicine
If you have a migraine diagnosis and an acute treatment prescribed for attacks, follow your clinician’s instructions. Taking it early in an attack may help, but use it only as directed and do not take an extra dose because relief is slower than expected.
Migraine medicines work in different ways. For example, triptans act on pathways involved in migraine pain, while some newer medicines block the activity of a migraine-related signaling molecule called CGRP.
A 2024 meta-analysis of menstrual migraine trials found that triptans, with or without other pain medicines, provided better acute relief than placebo. A review of CGRP-targeted therapies also describes evidence for a medicine in that class for acute migraine. These findings concern specific medicines and migraine attacks, not every kind of headache.
Prescription migraine medicines are not suitable for everyone. Tell your clinician about heart disease, stroke, uncontrolled high blood pressure, pregnancy, and all other medicines you take. If a headache is markedly different from your usual attacks, do not assume it is a migraine.
2. Use a suitable over-the-counter pain reliever
Acetaminophen or an anti-inflammatory medicine such as ibuprofen may help with some common headaches by reducing pain signaling. These medicines are established options, although the evidence cited here does not establish which over-the-counter option is best for your particular headache.
Choose a product you can safely take and follow its label for the dose, timing and maximum amount. Check the ingredients in any cold, flu or combination medicine you also use, so you do not accidentally take the same drug twice. A pharmacist can help you check for interactions or choose an option.
Ask a clinician or pharmacist before using ibuprofen if you have kidney disease, a stomach ulcer or bleeding problems, or take a blood thinner. Check before using acetaminophen if you have liver disease or regularly drink alcohol. If you are pregnant, speak with a clinician before taking a headache medicine; consult a clinician or pharmacist about an appropriate product and dose for a child.
Using pain relievers frequently can contribute to medication-overuse headaches. If you need them often, or they are no longer helping, arrange a medical review rather than increasing the dose or taking them more often.
3. Drink water if you may be dehydrated
Dehydration can contribute to a headache, so replacing fluid may help when you have not been drinking enough or have lost fluid through heat, exercise or illness. Water supports normal body functions, but it is not a proven rapid treatment for every headache.
Start with a glass of water and drink normally as thirst guides you. You can continue sipping if that is more comfortable; forcing down a large amount quickly will not necessarily provide faster relief.
If a clinician has told you to restrict fluids because of a medical condition, follow that plan rather than increasing your intake on your own. Seek medical advice if you cannot keep fluids down, feel faint or have other concerning symptoms. The studies cited on this page do not test water as a fast headache treatment, so its benefit depends on whether dehydration is contributing.
4. Rest in a dark, quiet place
Light, noise and activity can feel uncomfortable during a migraine. Reducing that stimulation and resting may make an attack easier to tolerate, even though it does not address every possible cause of headache.
If you can, pause what you are doing, dim the lights and sit or lie somewhere quiet. Close your eyes or take a break from screens if they make you feel worse. Relaxing your jaw and shoulders may also help you feel more comfortable.
There is no strong evidence from the studies listed here that a dark room alone rapidly stops a headache. It is a low-risk comfort measure to use alongside an appropriate treatment, not a reason to delay care for a sudden, severe or unusual headache. Avoid driving if pain, dizziness or visual symptoms make it unsafe.
5. Apply a cool compress
A cool compress on the forehead or back of the neck may provide temporary comfort. The cool sensation can make the painful area feel less uncomfortable, although it does not treat the underlying cause of a headache.
Wet a clean cloth with cool water, wring it out and place it where it feels soothing. Remove it if it becomes uncomfortable. If using a cold pack, wrap it in a cloth rather than putting it directly against your skin.
Evidence for a compress as a fast headache treatment is limited, and the studies cited here do not test it. Treat it as a comfort measure; stop if the cold worsens your pain or irritates your skin. It can be used while you rest or wait for a suitable medicine to take effect.
When should you see a doctor for headaches?
Call emergency services now for a sudden, extremely severe headache that reaches its peak within seconds or minutes, even if it starts to improve. Also seek emergency help for a headache with weakness, a drooping face, trouble speaking, confusion, a seizure, fainting, new vision loss, or fever and a stiff neck. A severe headache after a head injury also needs emergency assessment; do not drive yourself if you have these symptoms.
Seek urgent medical care for a severe or unusual headache during pregnancy or after giving birth, particularly if you also have vision changes. Get prompt medical advice if a headache is new or worsening and you have cancer or a weakened immune system, or if a new headache begins after age 50.
Make an appointment if headaches keep returning, interfere with daily life, change in pattern or do not respond to your usual treatment. A clinician can review possible causes and your medicines without assuming that every headache is migraine or dehydration. Contact a clinician sooner if you are worried or unsure how urgent your symptoms are.
Frequently asked questions
Can skipping meals contribute to a headache?
Skipping meals can be a headache trigger for some people. If you have not eaten and can do so safely, a regular meal or snack may help.
Can caffeine withdrawal cause a headache?
Yes. A sudden reduction in regular caffeine intake can cause a headache in some people.
Does every headache need a brain scan?
No. A clinician decides whether imaging is needed based on the headache pattern, examination and any warning signs.
Sources
- Acute and preventive treatment of menstrual migraine: a meta-analysis. The journal of headache and pain (2024). PubMed 39227797
- CGRP as the target of new migraine therapies - successful translation from bench to clinic. Nature reviews. Neurology (2018). PubMed 29691490