When you lie down at the end of the day, your body undergoes a set of physiological shifts that can amplify aches you barely noticed while upright. Falling cortisol levels reduce your natural anti-inflammatory buffer, your weight presses into joints and soft tissues in unfamiliar ways, and the absence of daytime distractions leaves your brain with little to process besides pain signals. The result is that lying down does not cause new pain so much as it reveals and intensifies pain your body was partially suppressing while you were active. Understanding the specific mechanisms helps explain why the aching feels worse at night and, more practically, what you can do about it.
Your Cortisol Drops and Inflammation Rises
Cortisol, the hormone most people associate with stress, doubles as one of your body’s most potent natural anti-inflammatories. It follows a tight circadian rhythm: levels peak in the early morning, help you wake up and get moving, then steadily decline through the afternoon and evening, reaching their lowest point around midnight. That nightly trough means the chemical brake on inflammation loosens just as you settle into bed. For anyone with an underlying inflammatory condition, the effect is pronounced. In rheumatoid arthritis, for example, reduced cortisol and adrenal androgen secretion during the night allows inflammatory cytokines to spike in the late-night hours, which is why joint pain and stiffness are consistently worst after waking up in the morning.1PubMed. Circadian rhythms: glucocorticoids and arthritis
You do not need a diagnosed autoimmune condition to feel this pattern. Even ordinary muscle soreness, minor tendon irritation, or low-grade joint inflammation can flare once your cortisol-mediated suppression fades. If you spent the day on your feet or did a hard workout, the inflammatory repair process accelerates when cortisol retreats. The ache was there all along; your hormonal chemistry just stopped masking it.
Pressure Distribution Changes When You Lie Down
Standing or sitting, gravity pulls your weight through your skeleton in a relatively vertical line. Lie down, and that same weight redistributes across whichever surfaces contact the mattress. Your hips, shoulders, and spine suddenly bear load in directions they handle differently from upright posture. If a mattress provides insufficient support, areas like the hips can sink, increasing internal pressure on the spine and raising localized skin pressure enough to cause discomfort or disrupt sleep.2PubMed Central. The Effect of Mattress Firmness on Sleep Architecture and PSG Characteristics This is not just about comfort preferences; poor spinal alignment sustained for hours can produce genuine morning stiffness and soreness.
Research on mattress design bears this out. Medium-firm mattresses have been shown to improve sleep quality by about 55% and decrease back pain by roughly 48% in people with chronic nonspecific low back pain, compared to firmer or softer surfaces.3Sleep Health. Effect of different mattress designs on promoting sleep quality, pain reduction, and spinal alignment in adults with or without back pain; systematic review of controlled trials The takeaway is practical: if your body aches primarily when you lie down and improves after you get up and move around, the surface you are sleeping on deserves scrutiny before you assume something is medically wrong.
Specific Conditions That Flare in Bed
Some musculoskeletal problems are specifically triggered or worsened by the act of lying down, not just by nighttime physiology. These are worth knowing because they each have distinct fixes.
Greater trochanteric pain syndrome is one of the most common causes of hip pain encountered in primary care, especially among middle-aged women. The hallmark symptom is lateral hip pain that worsens with weight-bearing activities like walking and stair climbing, but also when lying on the affected side.4PubMed Central. Greater trochanteric pain syndrome: a review of diagnosis and management in general practice If your aching is concentrated on one hip and gets worse when you roll onto that side, this is a strong candidate. A simple pillow between the knees can reduce direct pressure on the trochanteric bursa and provide relief while you work on the underlying tendon problem.
Shoulder pain follows a similar positional logic. Sleeping on your side can increase subacromial pressure on rotator cuff tendons, potentially reducing blood flow to those structures. Research using large worker populations has investigated whether preferred sleeping position is associated with shoulder pain and rotator cuff tendinopathy, with the proposed mechanisms centering on impingement and compromised tendon blood supply during sustained side-lying postures.5BMC Musculoskeletal Disorders. Is sleep position associated with glenohumeral shoulder pain and rotator cuff tendinopathy: a cross-sectional study If you wake with a stiff or aching shoulder, the side you sleep on may be part of the problem.
Polymyalgia rheumatica is a condition primarily affecting people over 50, characterized by proximal pain and stiffness in the shoulders, neck, and pelvic girdle accompanied by a strong systemic inflammatory response.6PubMed. Polymyalgia Rheumatica: a Common Disease in Seniors The stiffness is typically worst in the morning after a night of inactivity and can be severe enough to make getting out of bed genuinely difficult. If the aching is bilateral, involves both shoulders or hips symmetrically, and comes with fatigue or a general feeling of illness, it warrants a conversation with a doctor about inflammatory blood markers.
Vascular Pain That Worsens With Elevation
Not all nighttime aching originates in muscles or joints. Peripheral vascular disease can cause pain that worsens specifically when the legs are elevated, which is exactly what happens when you lie flat. In people with compromised arterial blood flow to the feet, ischemic ulcers tend to involve the tips of the toes or the heel and are typically painful on elevation and most bothersome at night.7PubMed. Evaluation of patients with peripheral vascular disease Some people instinctively dangle their feet off the bed or sleep in a recliner because the slight gravitational assist to blood flow eases the discomfort.
This is an important distinction. Musculoskeletal aching that improves with gentle movement is one thing. Pain in the feet or lower legs that reliably worsens when you lie flat and eases when you sit up or stand suggests a circulatory problem, not a mechanical one. If you find yourself needing to hang your legs over the side of the bed for relief, mention that specific detail to your doctor.
Restless Legs Syndrome and the Ache That Demands Movement
Restless legs syndrome is a sensorimotor disorder affecting a surprisingly large portion of the population. Its defining features are an urge to move the legs, usually accompanied by unpleasant sensations, that appears during rest or is made worse by rest, occurs predominantly in the evening or at night, and improves with movement.8Nature Reviews Neurology. Restless legs syndrome: pathophysiology, clinical presentation and management The sensations people describe vary widely: crawling, tingling, burning, pulling, or a deep ache that feels like it originates inside the bones.
What makes restless legs syndrome relevant here is that many people experiencing it describe the sensations as body aches rather than the classic “restless” feeling. If your legs (or occasionally arms) ache specifically when you settle into bed, and the discomfort temporarily vanishes when you get up and walk around, only to return when you lie back down, restless legs syndrome is worth investigating. It is classified as a neurological condition, not a musculoskeletal one, and responds to different treatments than ordinary muscle pain.9Nature Reviews Disease Primers. Restless legs syndrome Iron deficiency is one of the most common correctable contributors, so checking ferritin levels is often a reasonable first step.
Sleep Loss Makes Pain Worse, and Pain Makes Sleep Worse
There is a vicious cycle that can develop once nighttime aching becomes a regular occurrence. Poor sleep does not just leave you tired; it actively makes you more sensitive to pain. A study on healthy participants found that a single night of total sleep deprivation significantly increased sensitivity to both pressure and cold pain, impaired the body’s descending pain-inhibition pathways, and facilitated spinal excitability.10PubMed Central. Total sleep deprivation increases pain sensitivity, impairs conditioned pain modulation and facilitates temporal summation of pain in healthy participants In plain terms, your built-in pain-dampening system works less effectively when you have not slept well.
This means that a few bad nights can turn mild aching into something that feels substantially worse, not because the underlying tissue problem has changed, but because your nervous system’s volume knob for pain has been turned up. It also means that treating the sleep problem is not separate from treating the pain problem. Anything that improves sleep continuity, whether it is a better mattress, a cooler room, or managing an underlying condition, can help reset pain sensitivity over time.
The Quiet Room Effect
During the day, your brain is flooded with sensory input: conversations, screens, movement, background noise, the demands of tasks. All of this competes with pain signals for your attention. When you lie down in a dark, quiet room, that competition drops to nearly zero. The same pain signal that was drowned out by a busy afternoon now arrives at a brain with very little else to process, and it registers much more intensely.
This is not the same as saying the pain is “in your head.” The tissue-level source of discomfort is real. But the experience of pain is always a collaboration between the signal and the brain’s interpretation of it. Research on people with chronic pain has found that rumination, the tendency to think repeatedly about pain and its implications, has a reciprocal relationship with pain intensity, negative emotions, and sleeplessness.11PubMed Central. Thinking about thinking about pain: a qualitative investigation of rumination in chronic pain Once you start worrying about whether the pain means something serious, or whether it will keep you from sleeping again, the worry itself amplifies the perceived intensity. Cognitive behavioral techniques specifically designed for insomnia and chronic pain can be remarkably effective at breaking this loop, and they do not require you to dismiss the pain as imaginary.
When Your Medication Wears Off at the Wrong Time
If you take anti-inflammatory medication during the day, its effects may be waning by bedtime. The timing matters more than most people realize. Studies of nonsteroidal anti-inflammatory drugs in arthritic conditions have found circadian and seasonal variations in how effectively these medications work, and the side effects of NSAIDs tend to be more pronounced after morning dosing than evening dosing.12Elsevier. Biological rhythms in the inflammatory response and in the effects of non-steroidal anti-inflammatory drugs For conditions like rheumatoid arthritis, where pain peaks in the early morning hours, timing medication so that its peak concentration coincides with the overnight inflammatory surge can substantially change how you feel at night and upon waking.
This is worth discussing with your prescriber. Many people default to taking pain medication in the morning because that is when they feel worst, but by doing so they are treating yesterday’s inflammation after it has already peaked. Shifting the dose to the evening, or using a slow-release formulation that maintains therapeutic levels through the night, can match the medication’s action to the body’s inflammatory rhythm. The specifics depend on the drug and the condition, but the general principle of chronotherapy, timing treatment to the body’s internal clock, has solid evidence behind it.
Sorting Out What Applies to You
With so many potential contributors, it helps to ask a few sorting questions. Where does the aching concentrate? Widespread symmetrical stiffness in the shoulders, neck, and hips in someone over 50 points toward inflammatory conditions like polymyalgia rheumatica. Pain localized to one hip that worsens when you lie on that side suggests greater trochanteric pain syndrome. Foot or lower-leg pain that eases when you dangle your legs off the bed raises the possibility of a circulatory issue. Deep restless aching in the legs that disappears the moment you stand up and walk fits restless legs syndrome.
How long has it been going on? Aches that started after you changed your mattress, began a new exercise routine, or moved to a different climate have obvious potential explanations. Aches that have been creeping up over months or years and now reliably worsen at bedtime suggest something chronic that merits medical investigation. And if the aching is accompanied by fever, unexplained weight loss, or progressive weakness, those are signals that the cause is more systemic and needs prompt evaluation.
Simple Adjustments That Often Help
Before pursuing medical workups, several low-cost changes address the most common contributors. Evaluating your mattress is a reasonable starting point, especially if your current one is more than seven or eight years old. As noted earlier, medium-firm surfaces consistently outperform very soft or very firm ones for people with back pain.3Sleep Health. Effect of different mattress designs on promoting sleep quality, pain reduction, and spinal alignment in adults with or without back pain; systematic review of controlled trials Strategic pillow placement can offload pressure from tender areas: between the knees for hip pain, under the arm for shoulder pain, or under the knees for lower back strain when sleeping on your back.
Gentle stretching or a brief walk in the evening can help reduce the stiffness that comes from transitioning abruptly from an active day to complete stillness. The goal is not a workout but light movement that keeps muscles from locking up before bed. Keeping the bedroom cool also matters, though not directly because of pain. A cooler environment supports deeper sleep stages, and deeper sleep supports better pain modulation, creating a positive cycle that opposes the negative one described earlier.
For people already taking anti-inflammatory medications, revisiting the timing with a healthcare provider can yield surprising improvement without changing the drug or the dose. And for the psychological amplification component, even basic relaxation techniques like progressive muscle relaxation or guided breathing can reduce the mental spotlight on pain enough to let sleep take over. None of these interventions are guaranteed cures, but they cost little, carry minimal risk, and target the specific mechanisms that make lying down feel worse than standing up.