Why Do I Have Ankle Pain When Lying Down?

Ankle pain that appears or worsens when you lie down usually stems from a combination of reduced distraction, changes in blood flow and fluid distribution, and biological rhythms that make inflammation peak during nighttime and early morning hours. You are not imagining it: the experience of pain genuinely shifts when you stop moving and settle into bed. Several common conditions, from inflammatory arthritis to nerve entrapment to plantar fasciitis, have well-documented patterns of nighttime or early-morning flare-ups, and the reasons are more varied than most people expect.

Your Body’s Internal Clock Shapes When Pain Peaks

One of the biggest reasons ankle pain intensifies at rest is something happening inside your cells on a schedule you cannot feel directly. Your body produces pro-inflammatory signaling molecules on a circadian rhythm, and their levels climb during the night. In people with rheumatoid arthritis, for example, cytokines like interleukin-6 spike in the overnight and early-morning hours, right when the body’s natural anti-inflammatory hormone, cortisol, dips to its lowest point.1PubMed Central. The role of the circadian clock in rheumatoid arthritis That combination creates a window where inflammation runs relatively unchecked. The result is the classic pattern of joint stiffness and pain that is worst upon waking but that often starts building while you are still lying in bed.2PubMed. Circadian rhythms and arthritis

This circadian pattern is not limited to arthritis. Pain sensitivity itself follows a daily rhythm driven by overlapping cycles in your opioid system, your endocrine system, and your immune system. Research into circadian pain biology has found that the body’s descending pain-modulation pathways, the internal systems that dampen pain signals before they reach conscious awareness, also fluctuate in strength across the day and night.3PubMed Central. Circadian rhythms and pain So even if the ankle injury or disease process itself stays the same, your brain’s ability to suppress those pain signals weakens at certain hours. Lying down in the evening puts you right in that vulnerability window.

Inflammatory Arthritis and Gout

If your ankle pain at rest is accompanied by warmth, redness, or visible swelling, inflammatory arthritis is a leading suspect. Rheumatoid arthritis commonly affects the ankle joint, and its symptoms follow the circadian pattern described above, with joint stiffness and pain peaking in the early morning.1PubMed Central. The role of the circadian clock in rheumatoid arthritis Many people notice this pain building as they lie in bed at night, well before they actually try to stand up.

Gout deserves special mention because it is almost infamous for nighttime attacks. Uric acid crystals tend to precipitate more readily at the lower body temperatures found in extremities, and the ankle and big toe are prime targets. A classic gout flare often wakes someone from a dead sleep with searing, throbbing joint pain. If your ankle pain at rest came on suddenly and feels like the joint is on fire, gout is worth investigating through a simple blood test and, ideally, joint fluid analysis.

Osteoarthritis behaves a bit differently: it tends to flare with activity and calm down at rest, at least in its earlier stages. But advanced ankle osteoarthritis can produce an aching, low-level pain that persists at rest and is noticeable once you are lying still and have fewer distractions.

Plantar Fasciitis and the Overnight Tightening Effect

Plantar fasciitis is one of the most common causes of foot and ankle pain, and it has a distinctive relationship with rest. The plantar fascia, the thick band of tissue running along the bottom of your foot, tightens and contracts when your foot is relaxed in a toes-pointed-down position, which is exactly how most people’s feet naturally settle when lying in bed. After hours of this shortening, the first steps in the morning cause sharp, stabbing heel and ankle pain as the tissue is forced to stretch again.

The pain itself may start during the night, especially if you shift position and flex your foot. Many people with plantar fasciitis report a deep ache in the heel and inner ankle that builds while they are lying still, peaking when they first stand. This is why dorsiflexion night splints, devices that hold the foot at a slight upward angle overnight, are a standard conservative treatment. They prevent that overnight contracture of the plantar fascia and Achilles tendon.4D-Scholarship@Pitt. Conservative Treatment of Plantar Fasciitis with Dorsiflexion Night Splints and Medial Arch Supports: A Prospective Randomized Study Early studies on night splints found that most patients experienced successful resolution of their symptoms within a few months when splints were combined with anti-inflammatory medication and stretching exercises.5PubMed Central. The use of night splints for treatment of recalcitrant plantar fasciitis

If night splints sound uncomfortable, they can be. A comparison of two common designs found that about two-thirds of participants reported less morning pain and stiffness while wearing the device, but a posterior-style splint was notably more uncomfortable and disrupted sleep. An anterior-style splint reduced heel pain more effectively while being easier to tolerate overnight.6PubMed. A comparison of two night ankle-foot orthoses used in the treatment of inferior heel pain: a preliminary investigation If you have tried a night splint and abandoned it because it was unbearable, switching to a different design may be worth the effort.

Nerve Compression and Referred Pain

Pain that appears when you lie down and manifests as burning, tingling, numbness, or an electric-shock sensation may point to nerve involvement rather than a joint or tendon problem. Two main categories matter here: local nerve entrapment at the ankle, and referred pain from the lower back.

Posterior tarsal tunnel syndrome is an entrapment of the tibial nerve, or one of its branches, as it passes through a narrow channel on the inner side of the ankle. The hallmark symptoms are numbness, burning, and painful tingling in the heel, inner ankle, and sole of the foot.7PubMed Central. An Update on Posterior Tarsal Tunnel Syndrome Lying down can change the pressure dynamics around the tarsal tunnel, and many people with this condition notice that symptoms worsen at night. The lack of movement and the slight swelling that accumulates over the day both contribute. Tarsal tunnel syndrome is often misdiagnosed as plantar fasciitis because the pain locations overlap, but the burning and tingling quality is a key differentiator.

Less intuitively, a problem in your lumbar spine can produce pain that you feel in your ankle. A herniated or degenerated disc in the lower back can compress nerve roots that travel all the way down the leg. When the nerve irritation is severe enough, pain radiates below the knee and into the ankle or foot. This kind of referred pain often worsens when lying down because certain sleeping positions can increase pressure on the affected disc or nerve root. If your ankle pain is accompanied by shooting sensations down the back of your leg, or if it changes with how you position your spine, a lumbar source is worth considering.

Fluid Pooling and Vascular Causes

Gravity plays a surprisingly large role in ankle pain patterns across the day. When you are upright, fluid accumulates in your lower legs, and the veins and lymphatic system work to push it back up. When you lie down, that fluid redistributes. For many people this provides relief, but for others it creates problems.

If your ankles swell during the day and the swelling goes down when you elevate your legs, venous insufficiency, where the valves in your leg veins do not close properly, is a common culprit. The aching, heavy sensation from fluid-filled tissues may take time to dissipate after you lie down, so you feel the pain most acutely during the first portion of your time in bed. Research has also shown that the fluid accumulating in the legs during the day can redistribute overnight into the upper body and even the neck, contributing to conditions like obstructive sleep apnea. Compression stockings worn during the day counteract this fluid buildup and can reduce both the leg discomfort and the downstream effects of overnight fluid shifts.8American Journal of Respiratory and Critical Care Medicine. Attenuation of Obstructive Sleep Apnea by Compression Stockings in Subjects with Venous Insufficiency

Peripheral artery disease, where narrowed arteries reduce blood flow to the legs, can also cause rest pain in the ankle and foot. This type of pain is distinct: it tends to occur in more advanced disease, often wakes you at night, and sometimes improves when you dangle your leg over the side of the bed, because gravity helps blood reach the starved tissues. If resting ankle pain is relieved by hanging your foot down, that pattern is a red flag worth discussing with a doctor promptly, because it suggests the blood supply to your foot is critically compromised.

Tendon Problems and Nighttime Repair

Achilles tendinopathy and other tendon conditions around the ankle can produce pain at rest, particularly a stiffness and soreness that builds overnight. Tendons are metabolically active tissues with their own circadian biology. In healthy tendons, hundreds of genes show time-dependent expression, including genes involved in collagen production that are reduced at night.9PubMed Central. Disruption of day-to-night changes in circadian gene expression with chronic tendinopathy In chronically damaged tendons, these normal day-night rhythms are markedly disrupted, and the repair and maintenance processes that should be occurring in a coordinated way appear to become dysregulated.

What this means in practice is that a healthy tendon manages its nightly downtime just fine, but an injured one does not cycle through the same organized repair sequence. The result can be a tendon that feels stiffer and more painful after a period of rest, only loosening up once you start moving again. This “start-up pain” is one of the hallmarks of tendinopathy and is distinct from the sharp pain of an acute tear.

Posterior ankle impingement is another tendon-and-bone issue that can cause pain at rest. It occurs when structures at the back of the ankle are compressed during plantar flexion, the toes-pointed position your foot drifts into while sleeping. Ballet dancers and soccer players are particularly susceptible because of the repetitive extreme pointing involved in those activities, but anyone whose foot naturally settles into a pointed position at night can experience it.10PubMed Central. Posterior ankle impingement syndrome: A systematic four-stage approach

The Sleep-Pain Feedback Loop

One of the more frustrating aspects of nighttime ankle pain is that it creates a self-reinforcing cycle. Pain disrupts your sleep, and poor sleep makes you more sensitive to pain the next night. This bidirectional relationship between sleep deficiency and chronic pain has been documented extensively: pain is both a cause and a consequence of poor sleep, and the implications for management are significant.11PubMed Central. Sleep deficiency and chronic pain: potential underlying mechanisms and clinical implications

The mechanism works something like this: when you sleep poorly, your body produces more inflammatory markers and your pain-dampening systems work less efficiently. So the following night, the same level of ankle inflammation or nerve irritation registers as more painful. That increased pain disrupts your sleep further, and the cycle tightens. Breaking the loop often requires addressing both sides simultaneously, improving sleep quality through sleep hygiene or medical treatment while also managing the underlying ankle condition.

This is one reason why doctors sometimes prescribe medications specifically for nighttime pain rather than just daytime: controlling the pain enough to get restorative sleep can itself reduce pain severity going forward. If your ankle pain has been worsening at night for weeks or months and your sleep has deteriorated in parallel, the pain increase may be partly a consequence of cumulative sleep loss rather than a sign that the ankle itself is getting worse.

Practical Approaches When Ankle Pain Strikes at Night

The most effective response depends on the underlying cause, but several general strategies help across multiple conditions:

  • Elevation: Propping your ankle above heart level helps drain fluid from swollen tissues and can relieve pain from venous insufficiency and post-activity inflammation. A pillow under the calf, not directly under the ankle joint, avoids putting pressure on the Achilles tendon.
  • Foot position: If plantar fasciitis or posterior impingement is the issue, keeping your foot from falling into a fully pointed position matters. A night splint is the most reliable way to do this, but even tucking a firm pillow against the sole of your foot to keep it roughly neutral can help.
  • Daytime compression: Wearing compression stockings during the day reduces the amount of fluid your legs accumulate, which means less fluid-related aching when you lie down and less redistribution overnight.8American Journal of Respiratory and Critical Care Medicine. Attenuation of Obstructive Sleep Apnea by Compression Stockings in Subjects with Venous Insufficiency
  • Gentle stretching before bed: A few minutes of calf stretches and ankle circles before lying down can reduce the overnight tightening that causes morning pain in tendinopathy and plantar fasciitis.
  • Temperature: Ice is useful for acute inflammatory flares (gout, RA), while gentle warmth can help with stiff tendons and muscle tension. Applying the wrong one can make things worse, so the type of pain matters: hot, swollen joints generally want cold; stiff, achy tendons often respond to warmth.

If your nighttime ankle pain is new, worsening over weeks, accompanied by visible swelling or redness, or if it wakes you from sleep with intense throbbing, those are all signals that something beyond routine soreness is happening. Persistent rest pain, especially when relieved by dangling the leg off the bed, needs prompt medical evaluation because of the vascular implications. Pain with numbness or tingling warrants a nerve workup. And sudden, severe ankle pain with a swollen, hot joint, particularly if you have never had it before, should be treated as a potential gout attack or infection until proven otherwise.

Why Rest Pain Often Gets Dismissed

There is a widespread assumption, even among some clinicians, that musculoskeletal pain should be worst with activity and better with rest. That framework holds for simple mechanical problems like a mild ankle sprain or early osteoarthritis, but it fails for a wide range of conditions. Inflammatory arthritis, nerve entrapment, vascular disease, plantar fasciitis, and tendinopathy all have patterns where rest either does not help or actively makes things worse. People dealing with nighttime ankle pain sometimes hesitate to bring it up because they assume pain at rest means the problem “isn’t real” or is psychosomatic, when in fact rest pain can be a more clinically significant finding than pain with movement. A joint that only hurts when you load it heavily is telling you it has a mechanical issue. A joint that hurts when you are lying still in the dark is telling you something systemic, vascular, neurological, or inflammatory is going on, and that often warrants a more thorough workup.