A headache that is already there when you open your eyes is different from one that develops at 11am. It was manufactured while you were unconscious, which means the cause is something that happened during the night — and that narrows the list to about six things.

Here they are, roughly ordered by how often each turns out to be the actual culprit.

1. You were breathing through your mouth

This is first because it is common, invisible, and almost nobody checks it.

Mouth breathing during sleep does two things that produce a morning headache. It dries the airway and disrupts normal gas exchange, and it fragments sleep into micro-arousals you never remember. The result is a dull, band-like ache across the forehead, usually paired with a dry mouth and a vague sense that you did not really sleep.

The tells are specific: dry mouth or sore throat on waking, a headache that fades within an hour or two of getting up, and snoring. If you have two of those three, this is very likely your answer, and it is the cheapest one to test.

The fix is mechanical, because you cannot consciously control your mouth while unconscious. Holding it closed so the nasal route stays the default is the whole intervention — a strip of Titan Recovery's bamboo silk mouth tape is the simplest way to do it, and the materials are independently lab-tested if you want to check before putting one on your face. Most people know within three or four nights whether this was it. (If you have a beard, pick the tape accordingly — most of it is designed for bare skin.) (The full picture on nighttime breathing.)

2. You were grinding your teeth

Bruxism — clenching or grinding overnight — produces a headache concentrated in the temples, and often a sore jaw or an aching face. The masseter is one of the strongest muscles in the body relative to its size, and a night spent contracting it is a night of sustained muscular strain.

The tells: temple pain rather than forehead pain, jaw soreness, clicking when you open wide, worn or sensitive teeth. Your dentist will usually spot it before you do.

The Natural Sleep Lab covers how to stop grinding your teeth at night if this turns out to be your cause. It is strongly associated with stress, and also with disordered breathing — clenching is sometimes a downstream response to an airway problem rather than a separate condition, which is why these two causes often appear together. A dentist can fit a night guard; managing evening stress helps; and if you also snore, treat the airway question as live.

3. You drank alcohol

Obvious, but worth stating precisely, because the mechanism is not simply dehydration.

Alcohol fragments the back half of the night, suppresses REM, keeps your heart rate elevated, relaxes the upper airway so snoring worsens, and dehydrates you. A morning headache after drinking is the sum of all of that, not just the water you lost.

The useful detail is that timing matters more than quantity for the headache specifically. Two drinks finished at 11pm will do more damage than three finished at 7pm, because the metabolic disruption lands inside your sleep rather than before it. (What one drink actually costs you overnight.)

4. Caffeine withdrawal

If you drink coffee daily and your last cup was early yesterday afternoon, you may be waking up in mild withdrawal. Caffeine constricts cerebral blood vessels; when it clears, they dilate, and that rebound is a real headache with a real mechanism.

The giveaway is diagnostic and slightly annoying: the headache resolves within thirty minutes of your first coffee. If that describes you, this is the answer, and you have a choice between keeping your intake stable day to day or reducing it gradually. Do not fix it by drinking coffee later in the day — that trades the headache for worse sleep. (Where your caffeine cutoff should sit.)

5. Your sleep was too short, too long, or badly timed

Headache frequency has a U-shaped relationship with sleep duration. Too little is an obvious trigger. Too much is also a trigger — the classic weekend headache after a long lie-in, which is partly circadian disruption rather than the extra sleep itself.

Irregular timing compounds it. Shifting your wake time by three hours between weekdays and weekends produces the same physiological disruption as flying across several time zones, and headache is one of the common symptoms. (Why the wake time is the lever.)

The fix here is consistency rather than more sleep: one wake time, held within an hour on weekends.

6. Your position, or your pillow

A pillow that holds your neck at an angle for eight hours produces a cervicogenic headache — pain that starts at the base of the skull and radiates forward. It is more common than people assume, and easy to test: if the headache is worse on days you slept in an unusual position or away from home, this is probably it.

The useful check is whether your head sits in roughly neutral alignment with your spine when you are in your normal sleeping position. Side sleepers usually need a thicker pillow than back sleepers; stomach sleeping is hard to do without twisting the neck at all.

When to stop troubleshooting

Most morning headaches are one of the six above, and most are fixable at home. Some are not, and it is worth knowing where that line is.

See a doctor if you wake with a headache most days, if the headaches are getting more frequent or more severe, if they are accompanied by nausea, vision changes, or weakness, or if they wake you from sleep rather than being present when you wake naturally.

And get screened for obstructive sleep apnea if morning headaches come with loud snoring, witnessed pauses in breathing, gasping awake, or crushing daytime sleepiness. Morning headache is a textbook apnea symptom — it is caused by overnight oxygen dips and carbon dioxide retention, and it is not something to manage with painkillers and a better pillow. (How to decide whether you need a sleep study.)

How to work it out

Change one thing at a time, for a week each, starting at the top of the list. Most people find their answer in the first two.

If a week of consistent nasal breathing clears it, you were mouth breathing. If your dentist finds wear on your molars, you were grinding. If it only happens after drinking, you have your answer. If coffee fixes it in half an hour, it is withdrawal.

What you should not do is take a painkiller every morning for months without ever establishing which of the six it was. Daily analgesic use can produce medication-overuse headache, which is its own self-sustaining problem and considerably harder to unwind than any of the causes above.

The bottom line

A headache present on waking was made overnight. The six causes are mouth breathing, teeth grinding, alcohol, caffeine withdrawal, poor sleep duration or timing, and neck position. Mouth breathing is the most common and the easiest to test — dry mouth plus snoring plus a headache that fades by mid-morning is close to a diagnosis on its own.

Work the list from the top, one change per week. And if the headaches are daily, worsening, or come with loud snoring and daytime sleepiness, stop troubleshooting and get assessed for sleep apnea.