Why Does My Headache Go Away When I Lay Down?

A headache that eases when you lie down and flares when you sit or stand is almost always linked to low cerebrospinal fluid (CSF) pressure inside your skull. CSF is the clear fluid that surrounds your brain and spinal cord, and when the volume or pressure of that fluid drops, the brain loses some of its buoyancy and sags downward under gravity. That downward pull stretches pain-sensitive structures, and lying flat removes the gravitational force that causes the sagging. The relief can feel dramatic, sometimes within minutes of getting horizontal, which is a strong clue about what is happening inside your head.

What Cerebrospinal Fluid Does and Why Position Matters

Your brain floats in CSF the way an egg floats in salt water. The fluid cushions the brain, absorbs shock, and keeps it from pressing too hard against the inside of the skull. When you stand up, gravity pulls everything downward, and CSF pressure in your head drops. In healthy people, this small shift goes unnoticed because there is enough fluid to maintain a comfortable buffer. But when CSF volume is too low, standing creates a noticeable imbalance: the brain drifts downward, tugging on membranes, nerves, and blood vessels anchored to the skull.

Telemetric monitoring in patients with elevated intracranial pressure has shown just how much posture affects the numbers. Moving from lying flat to standing caused mean intracranial pressure to drop by about half, while rolling onto one side actually raised it slightly above the supine baseline.1PubMed Central. Evaluation of diurnal and postural intracranial pressure employing telemetric monitoring in idiopathic intracranial hypertension More recent modeling confirmed that intracranial pressure climbs with certain head-on-body angles and falls in others, with the interaction between head position and body position being strongly significant.2Brain Communications. Intracranial pressure and pulsatility in different head and body positions In someone with normal CSF reserves, these pressure swings are absorbed without symptoms. In someone whose fluid is leaking or depleted, the swing from lying down to standing can mean the difference between comfort and debilitating pain.

How Low CSF Pressure Creates Pain

The skull is a rigid box. It cannot shrink to accommodate lost fluid. So when CSF volume drops, something else has to expand to fill the space. The body compensates by widening intracranial blood vessels and letting venous blood pool inside the skull. This venous engorgement thickens the meninges (the membranes wrapping the brain), enlarges the pituitary gland, and swells cerebral venous sinuses.3PubMed. Spontaneous low pressure, low CSF volume headaches: spontaneous CSF leaks The combination of brain sagging and vascular stretching activates pain receptors in those meninges and vessels, producing a dull or throbbing ache that is typically worst at the back of the head.4Headache. Headaches associated with low spinal fluid pressure

Lying flat essentially takes gravity out of the equation. The brain resettles into a neutral position, the traction on membranes relaxes, and engorged blood vessels decompress. That is why the relief can feel so immediate. Standing back up restores the gravitational pull and the headache returns, often within seconds to minutes.

What Causes CSF Pressure to Drop

The most common scenario is a tear or defect in the dura mater, the tough outer membrane that contains CSF around the brain and spinal cord. Fluid leaks out through the hole, and the total volume inside the closed system falls. These leaks fall into two broad categories.

The first is iatrogenic, meaning caused by a medical procedure. Lumbar punctures (spinal taps) and spinal or epidural anesthesia are the classic triggers. The needle creates a small puncture in the dura, and if it does not seal quickly, CSF seeps out. Post-dural puncture headache is one of the most common complications of lumbar punctures, and its hallmark is exactly the positional pattern you are asking about: pain on sitting or standing, relief when lying down.5PubMed Central. Posture and fluids for preventing post-dural puncture headache It can also occur after inadvertent dural puncture during epidural anesthesia, which is particularly relevant to anyone who has recently had a labor epidural or spinal surgery.6PubMed. A Comprehensive Update on the Treatment and Management of Postdural Puncture Headache

The second category is spontaneous intracranial hypotension, where the leak happens without any obvious trigger. The typical presentation is orthostatic headache, often accompanied by neck stiffness, nausea, dizziness, changes in hearing, light sensitivity, and occasionally double vision.7Current Neurology and Neuroscience Reports. Spontaneous intracranial hypotension The postural character of the headache, eased by lying down and worsened when upright, is assumed to result from the ongoing loss of CSF through a breach in the dura that allows the brain to sag and stretch pain-sensitive tissues.8BMJ. Low pressure headaches caused by spontaneous intracranial hypotension Some of these leaks are caused by tiny structural defects. In one reported case, a cervical bone spur had physically pierced the protective sac around the spinal cord, creating a persistent hole.9PubMed. Cervical bone spur presenting with spontaneous intracranial hypotension Another increasingly recognized cause is a CSF-venous fistula, an abnormal connection between the spinal fluid space and a nearby vein. In a case series of patients with this type of fistula, about seven in ten experienced headache worsening with upright posture, and an even larger share found that straining or bearing down made the headache worse.10PubMed. Headache due to spontaneous spinal cerebrospinal fluid leak secondary to cerebrospinal fluid-venous fistula

Connective Tissue and Genetic Susceptibility

Not everyone is equally likely to spring a spontaneous CSF leak. A prospective study of patients with spontaneous leaks found that a meaningful fraction had underlying heritable connective tissue disorders, including Marfan syndrome and Ehlers-Danlos syndrome. In most of these patients, the CSF leak was the very first sign that a connective tissue problem existed.11PubMed Central. Connective tissue spectrum abnormalities associated with spontaneous cerebrospinal fluid leaks: a prospective study This makes sense biologically: connective tissue disorders weaken the structural proteins that give the dura its toughness, making it more prone to tearing or developing weak spots. If you have hypermobile joints, stretchy skin, or a family history of connective tissue conditions and you develop positional headaches, the link is worth mentioning to your doctor.

The Timing Is Not Always Instant

One reason low-pressure headaches get missed is that the positional pattern is not always textbook-perfect. In most patients, the headache appears within two hours of being upright. But some people develop what is described as a “second-half-of-the-day” headache: they feel fine in the morning, tolerate being upright for several hours, and then develop head pain only in the afternoon or evening.12PubMed. Second-half-of-the-day headache as a manifestation of spontaneous CSF leak Because the headache does not seem immediately tied to standing up, these patients (and sometimes their doctors) may not make the postural connection. If your headache consistently worsens as the day goes on and improves after a long stretch of lying flat overnight, a slow-onset positional pattern is still worth investigating.

When the Opposite Pattern Means the Opposite Problem

It is worth knowing that the reverse pattern, a headache that gets worse when you lie down and better when you sit up, points in a different direction entirely. Idiopathic intracranial hypertension (IIH), sometimes called pseudotumor cerebri, involves too much CSF pressure rather than too little. The headache in IIH tends to be worse at night, can wake you from sleep, and is aggravated by straining or coughing. Interestingly, studies have found that the pain quality in IIH often mimics migraine or tension-type headache, with roughly equal numbers of patients describing the pain as pressure-like or throbbing.13PubMed Central. Advances in the understanding of headache in idiopathic intracranial hypertension The directional clue, worse lying down vs. worse upright, is the single most useful piece of information you can give a doctor when describing a headache that changes with position.

Postural Tachycardia Syndrome and Orthostatic Headache

CSF leaks are not the only reason a headache might ease when you lie down. Postural orthostatic tachycardia syndrome (POTS), a condition where the heart rate spikes abnormally when you stand, can also produce position-dependent headaches. In a study of 24 POTS patients, roughly six in ten experienced orthostatic headache during everyday activities, and nearly all had non-orthostatic headaches that resembled migraine.14PubMed. Orthostatic and non-orthostatic headache in postural tachycardia syndrome In POTS, the mechanism is different: blood pools in the lower body on standing, the heart compensates by racing, and cerebral blood flow regulation goes awry. The headache improves when lying down because the cardiovascular strain is removed. POTS headaches tend to come with lightheadedness, racing heart, and sometimes visual changes on standing, which can help distinguish them from a CSF leak.

How Doctors Track Down the Leak

If a positional headache points toward low CSF pressure, the diagnostic workup generally starts with brain MRI. Classic imaging signs include thickening and enhancement of the meninges across both hemispheres, downward sagging of the brain, an enlarged pituitary gland, and fluid collections between the brain and the skull.15PubMed Central. Diagnostic Imaging and Clinical Features of Intracranial Hypotension – Review of Literature These findings are suggestive but do not pinpoint where the leak is. Locating the actual tear or fistula requires more specialized techniques. Newer myelographic methods, including digital subtraction myelography and specialized CT myelography protocols, have made it possible to identify specific leak types and sites more precisely than older approaches allowed.16PubMed. Radiographic Evaluation of Spontaneous Intracranial Hypotension Finding the exact location matters because treatment decisions depend on what kind of leak it is and where along the spine it sits.

Treatment Options

For post-procedural leaks (after a lumbar puncture or epidural), the first-line approach is conservative: bed rest, hydration, pain relief, and caffeine. One case of spontaneous intracranial hypotension that presented with thunderclap headache was managed successfully with bed rest, intravenous fluids, analgesics, and increased coffee intake, with gradual resolution of the positional headache.17BMC Research Notes. Spontaneous intracranial hypotension presenting as thunderclap headache: a case report Caffeine works by constricting cerebral blood vessels, partially counteracting the venous engorgement that contributes to pain.

When conservative measures fail, the standard intervention is an epidural blood patch. A small amount of your own blood is injected into the epidural space near the suspected leak site. The blood works in two ways: it immediately compresses the fluid-containing sac, reducing the amount of CSF that shifts from the head to the spine when you stand, and over the following days the clotted blood forms a plug that seals the dural tear.18PubMed Central. Epidural Blood Patching in Spontaneous Intracranial Hypotension—Do we Really Seal the Leak? Many patients feel better almost immediately after the procedure, though the relief sometimes fades as the injected blood is reabsorbed. Repeat patches or targeted patches guided by imaging are sometimes needed.

For leaks that do not respond to blood patching, surgical closure becomes an option. A systematic review concluded that precisely locating the leak site is fundamental to success, and that surgical repair is appropriate when less invasive treatments have not provided lasting relief.19The Lancet Neurology. Spontaneous intracranial hypotension: a systematic review This is especially relevant for CSF-venous fistulas, which often do not seal with a blood patch and may require direct surgical disconnection of the abnormal channel.

When a CSF Leak Goes Beyond Headache

The most striking complication of a long-standing, untreated CSF leak is something researchers call brain sagging dementia. When the brain sags far enough and for long enough, the frontal and temporal lobes can droop significantly, producing behavioral and cognitive changes that look remarkably like frontotemporal dementia: personality shifts, impulsive behavior, apathy, and trouble with planning and decision-making.20PubMed Central. The reversible impairment of behavioral variant frontotemporal brain sagging syndrome: Challenges and opportunities The condition is rare but important because it is potentially reversible. Once the leak is found and repaired, the brain can re-expand and the cognitive symptoms can improve or resolve entirely.21PubMed. Brain Sagging Dementia-Diagnosis, Treatment, and Outcome: A Review

Brain sagging dementia tends to affect younger adults, and it has almost certainly been misdiagnosed as neurodegenerative disease in some patients before the syndrome was recognized.22PubMed Central. Brain Sagging Dementia The possibility that a treatable spinal fluid leak could be masquerading as an incurable form of dementia makes it one of the more hopeful findings in neurology in recent years. Any younger patient with behavioral changes and a history of positional headaches deserves imaging to check for low CSF pressure.

Other Reasons Lying Down Helps a Headache

Not every headache that improves in a horizontal position is caused by a CSF leak. Cervicogenic headache, pain referred from dysfunction in the upper neck joints and muscles, can sometimes behave in a loosely positional way. Poor muscle endurance and impaired joint function in the upper cervical spine have been identified in patients with cervicogenic headache, and lying down may reduce the load on strained neck muscles enough to ease the referred pain.23Musculoskeletal Science & Practice. Cervicogenic headache The key difference is that cervicogenic headache is typically one-sided, often starts at the back of the neck and radiates forward, and can be reproduced by pressing on certain neck structures or moving the head into specific positions. It does not produce the dramatic, consistent on-off positional switch that a CSF leak does.

Simple dehydration and fatigue can also cause headaches that feel a bit better when you rest flat, though the mechanism is less about pressure shifts and more about giving the body a chance to stabilize blood flow and relax tense muscles. If your headache improves only mildly with lying down and does not reliably worsen every time you stand, a true CSF pressure problem is less likely. The hallmark of a low-pressure headache is the consistency of the pattern: upright equals pain, flat equals relief, and the switch happens within a relatively short, predictable window.

When to See a Doctor

A positional headache that repeats for more than a day or two warrants medical attention, especially if it came on after a spinal procedure, if it appeared suddenly without obvious cause, or if it comes with any additional neurological symptoms like double vision, changes in hearing, arm tingling, or cognitive changes. Spontaneous intracranial hypotension is underdiagnosed because it is not as common as migraine or tension headache, and many patients go months or years with worsening symptoms before someone connects the dots. The sooner a leak is identified, the better the odds that a blood patch or other intervention will resolve it before complications like brain sagging develop. If lying flat is the only thing that keeps your head from hurting, that positional clue is the most useful thing you can tell a neurologist.