How to Get Rid of a Headache Fast: What Actually Works
Most headaches can be eased at home if you act early. Here is what to do in the first 15 minutes, how tension-type and migraine pain differ, and the red flags that need urgent help.
- Written by
- Health Daily Advice
- Published
- Reading time
- 4 minutes
- Sources
- 9 cited
In this guide
Drink a full glass of water, rest in a dark, quiet room, and press a cold cloth to your forehead or a warm one to a tense neck. If that is not enough, talk to a doctor or pharmacist about a suitable painkiller and take it early — treating a headache at the first sign works better than waiting.
Act fast: your first 15 minutes
Headaches are extremely common — the World Health Organization estimates that about half of adults had one in the last year, and about 30% get migraines, according to Mayo Clinic. Most are not serious, and NHS inform says many can be treated at home. The trick is to act early rather than toughing it out. Run through these four steps as soon as the pain starts.
- Drink a full glass of water. Dehydration is a common headache trigger, and NHS inform advises drinking plenty of fluids. MedlinePlus notes that hydration during a headache is often helpful, with or without medicines.
- Rest somewhere dark and quiet. Lie down away from screens, bright lights and noise. Mayo Clinic recommends relaxing in a dark, quiet room, especially for migraine-type pain with light or sound sensitivity.
- Use temperature. A cold compress on the forehead or the back of the neck can ease throbbing, migraine-type pain; warmth on the neck and shoulders helps a tension headache by relaxing tight muscles. Mayo Clinic lists hot or cold packs among its non-drug measures.
- Take a painkiller early — with advice. If water, rest and temperature are not enough, talk to a doctor or pharmacist about a suitable option such as paracetamol (acetaminophen) or ibuprofen. NHS inform lists both as standard self-care for headache, and taking treatment early is more likely to stop the pain.
Which headache is it: tension-type or migraine?
Knowing the type helps you choose the right step. Tension-type headache is the most common kind — a steady ache like a tight band around the head — while migraine brings throbbing pain, often with nausea or sensitivity to light and sound. This quick comparison is based on NHS inform and NICE guidance.
| Type | How it feels | How long it lasts | Fastest first step |
|---|---|---|---|
| Tension-type | Pressing or tightening ache on both sides, mild to moderate | 30 minutes to several days | Warmth on the neck, gentle stretching, painkiller advice |
| Migraine | Throbbing or pulsing pain, often one-sided, with nausea or light/sound sensitivity | 4 to 72 hours | Dark quiet room, cold compress, lie still |
Home measures that actually help

- Keep sipping water. Even mild dehydration can trigger a headache, and fluid intake is one of the simplest fixes recommended by NHS inform.
- Try a small amount of caffeine. Mayo Clinic says a small amount of caffeine can help a migraine, and some over-the-counter remedies include it. But heavy caffeine use can cause headaches, and up to 400 mg a day is considered safe for most adults — roughly no more than one cup of coffee or tea a day if headaches are frequent.
- Ease muscle tension. Stress, poor posture and long screen sessions feed tension headaches. Gentle neck and shoulder stretches, and regular exercise — Mayo Clinic suggests 30 minutes of moderate activity at least five days a week, or 150 minutes a week — are the most effective long-term defence.
- Do not skip meals. Missed meals and the resulting dip in energy are recognised migraine triggers listed by MedlinePlus. Eat regularly, especially when a headache is brewing.
- Keep a headache diary. If headaches keep coming back, note when they start, how long they last, what you ate and drank, and what helped. NICE recommends keeping one for a minimum of 8 weeks — it helps your GP spot patterns and triggers.
What can make a headache worse
- Too much caffeine or alcohol. Both are common triggers, and cutting back helps — Mayo Clinic advises limiting caffeine, while MedlinePlus lists alcohol and caffeine withdrawal as triggers.
- Too little — or too much — sleep. Mayo Clinic warns that both over- and under-sleeping can trigger migraines. Keep a regular sleep pattern.
- Overusing painkillers. This is the trap most people fall into. NHS inform advises against taking painkillers on more than 10 days each month, because frequent use can cause medication overuse headache — a daily headache that only eases with more medicine. MedlinePlus adds that using pain medicine more than 3 days a week may cause rebound headaches. If you are reaching for tablets this often, talk to a GP instead of taking more.
When to see a doctor
See a GP if your headaches are getting worse despite treatment, are frequent or painful enough to affect work or daily life, keep waking you from sleep, or are new and happening alongside pregnancy or a weakened immune system — all reasons NHS inform lists for getting checked. NICE flags a sudden-onset headache that reaches maximum intensity within 5 minutes as needing urgent evaluation. Also seek care if a headache follows a head injury, or comes with fever and a stiff neck, slurred speech, weakness, or vision changes.
In an emergency call 911 (US), 999 (UK) or 112 (EU)
Frequently asked questions
How can I get rid of a headache in 5 minutes?
No remedy is guaranteed to work in 5 minutes, but acting early helps: drink a full glass of water, move to a dark, quiet room, press a cold cloth to your forehead or the back of your neck, and talk to a doctor or pharmacist about a painkiller if you do not have a plan already. Treating a headache at the first sign is more effective than waiting for it to peak.
Is it better to use heat or ice for a headache?
It depends on the type. Mayo Clinic suggests hot or cold packs on the neck or head. A cold compress suits migraine-type pain — throbbing pain with sensitivity to light or sound — while warmth suits a tension headache, easing tight muscles in the neck and shoulders. Try one for 15 to 20 minutes; if it does not help, switching to the other is a reasonable experiment.
Does drinking water help a headache?
Often, yes. Dehydration is a common headache trigger, and NHS inform advises drinking plenty of fluids. MedlinePlus notes that hydration during a headache is often helpful, with or without medicines. Sip a large glass of water as soon as the headache starts and keep drinking through the day. If dehydration is the cause, relief can follow within hours.
Can I take painkillers for a headache every day?
Not routinely. NHS inform advises against taking painkillers on more than 10 days each month, because frequent use can cause medication overuse headache — a daily headache that only eases with more medicine. MedlinePlus adds that using pain medicine more than 3 days a week may cause rebound headaches. If you reach for tablets this often, see a GP to review what is going on.
When should I worry about a headache?
Call emergency services for a sudden, worst-ever headache, a headache after a head injury, or one with stroke signs such as slurred speech, face drooping, weakness, or vision changes — MedlinePlus and NHS inform both list these. See a GP if headaches are getting worse despite treatment, keep waking you at night, or are frequent enough to affect work or daily life.
Sources
- Mayo Clinic News Network: 6 tips for headache relief newsnetwork.mayoclinic.org
- NHS inform: Headaches www.nhsinform.scot
- MedlinePlus (US National Library of Medicine): Migraine medlineplus.gov
- Mayo Clinic Q&A: Managing migraine: What's right for me? newsnetwork.mayoclinic.org
- NICE: Headaches in over 12s — diagnosis and management (CG150), Recommendations www.nice.org.uk
Try the tool
Not sure if it can wait?
Common causes and warning signs for 16 everyday symptoms.
Open the symptom guide

