Ankle Pain When Sleeping: Causes and Relief

Ankle pain that shows up or worsens when you lie down at night usually traces back to one of a handful of causes: inflammatory conditions like gout that genuinely flare in the dark hours, soft-tissue problems like plantar fasciitis or tendon damage that stiffen during rest, nerve issues that become more noticeable without daytime distractions, or circulatory changes that accompany prolonged stillness. The specific pattern of your pain, where exactly it hits, what it feels like, and when it peaks, narrows the list considerably. Understanding those patterns is the fastest route to the right kind of relief.

Why Ankle Pain Tends to Worsen at Night

During the day, you are moving. Walking, shifting weight, adjusting your posture: all of this keeps blood flowing, joints lubricated, and your brain busy enough that moderate pain often fades into background noise. At night, those protective mechanisms disappear. Your joints cool and stiffen, fluids that accumulated during the day settle into lower extremities, and the sensory “gate” that busy activity keeps partially closed swings wide open. Pain signals from your ankle that you barely noticed at 2 p.m. can feel amplified at 2 a.m. simply because there is nothing else competing for your nervous system’s attention.

On top of that perceptual shift, there are genuine physiological changes. Body temperature drops during sleep, with the lowest readings occurring in the early morning hours. Cortisol, the body’s built-in anti-inflammatory hormone, follows a rhythm that bottoms out overnight before surging around dawn. That means your natural pain-dampening chemistry is at its weakest right when you are lying still and vulnerable to discomfort. For some conditions, these overnight shifts do not just reveal pain; they actively trigger it.

Gout Flares at Night

Gout is one of the few conditions with a clear, research-backed explanation for why it preferentially strikes at night. The classic presentation is sudden, excruciating pain in a single joint, and the base of the big toe and the ankle are the two most common targets. A study tracking gout attacks found that the risk is elevated during sleep, with several plausible mechanisms at play: body temperature drops to roughly 36.4°C in the early morning hours compared with about 37.5°C during the day, and that lower temperature may push uric acid past its crystallization threshold in joint fluid. Relative dehydration during sleep, since most people go six to eight hours without drinking water, concentrates uric acid further. The lying-down position itself may promote local dehydration in the tissues around the ankle. And the overnight dip in cortisol removes a layer of anti-inflammatory protection right when crystals are most likely to form.1PubMed Central. Nocturnal Risk of Gout Attacks

If you have ever been jolted awake by searing ankle pain that came on fast and made even the weight of a bedsheet feel unbearable, gout belongs high on your list of suspects. The pain typically peaks within hours and resolves over days with treatment. A blood test for uric acid can suggest the diagnosis, but the gold standard is analyzing fluid drawn from the swollen joint for crystals. Once confirmed, preventive medication and dietary changes can slash the frequency of nighttime flares dramatically.

Plantar Fasciitis and Overnight Tightening

Plantar fasciitis is often described as a heel problem, but the pain frequently radiates around the ankle and along the arch in a way that makes people describe it as ankle pain. The hallmark is that it feels worst with the first steps out of bed in the morning, and the reason involves what happens overnight. When you sleep, your foot naturally relaxes into a pointed-toe position. In that posture the plantar fascia, the thick band of tissue running along the sole of the foot, contracts and shortens. If that tissue is already irritated or partially torn, it essentially heals in a shortened state while you sleep, and the first stretch of standing tears those tiny repairs apart again. The result is a sharp stab at the heel or inner ankle that eases somewhat after a few minutes of walking.

Some people also feel a deep aching in the ankle area while lying in bed, before they ever stand up, particularly if inflammation in the fascia has been building. The tightened calf muscles that accompany plantar fasciitis can pull on the Achilles tendon insertion near the ankle and compound the discomfort during rest.

Night Splints for Plantar Fasciitis

The overnight tightening cycle is the reason night splints exist. These devices hold the foot in a slightly flexed-up position while you sleep, preventing the fascia from shortening. The evidence that they work is reasonably strong. In a crossover trial, about 88% of patients who completed the study reported improvement while using dorsiflexion night splints, with gains maintained even after the splinting period ended.2PubMed. Effective treatment of chronic plantar fasciitis with dorsiflexion night splints: a crossover prospective randomized outcome study A separate trial found that roughly three-quarters of patients with stubborn plantar fasciitis reported improvement at one month, and the average patient wore the splint during about 95% of their sleeping hours, suggesting it was tolerable enough for consistent use.3PubMed. A prospective trial of night splinting in the treatment of recalcitrant plantar fasciitis: the Ankle Dorsiflexion Dynasplint

Research comparing different splint designs found that all of the tested types significantly reduced pain, though a calf-tension splint outperformed a fascia-tension splint for both pain severity and soft-tissue flexibility.4Journal of Rehabilitation. The Effectiveness of Two Types of Night Splints on the Range of Motion of the Ankle Joint, Pain Intensity, and Quality of Life (QoL) in Patients With Plantar Fasciitis: A Pilot Study With Parallel Groups If your nighttime ankle pain follows the pattern of morning stiffness and first-step agony, a night splint is one of the more evidence-backed things you can try before escalating to injections or other interventions.

Nerve Pain and Peripheral Neuropathy

Burning, tingling, or electric-shock sensations in the ankle and foot that intensify at night point toward nerve involvement. The most common culprit is peripheral neuropathy, and the most common cause of peripheral neuropathy in developed countries is diabetes. Roughly half of people with type 1 or type 2 diabetes develop diabetic peripheral neuropathy at some point, and pain is a frequent feature.5Oxford Medicine Online. Diabetic Peripheral Neuropathy The feet and ankles are usually the first areas affected because the longest nerve fibers are the most vulnerable to damage.

Nighttime worsening of neuropathic pain is a well-recognized pattern. Part of the explanation is the attention effect described earlier: without the distractions of daily life, the brain turns up the volume on abnormal nerve signals. But there is also a physiological component. Damaged nerves can become spontaneously active, firing pain signals without any external stimulus, and the reduced sensory input of a quiet, dark room gives those signals center stage.

Treatment generally starts with managing the underlying cause, tight blood sugar control in the case of diabetes. For the pain itself, doctors often prescribe certain antidepressants or anti-seizure medications that calm overactive nerve signals. Topical treatments applied to the ankle area can help in milder cases. Neuropathic pain is notoriously difficult to eliminate entirely, but the goal is to reduce it enough to allow sleep.5Oxford Medicine Online. Diabetic Peripheral Neuropathy

Diabetes is the leading cause, but it is not the only one. Alcohol overuse, certain vitamin deficiencies (especially B12), autoimmune conditions, and kidney disease can all damage peripheral nerves in ways that produce similar nighttime ankle symptoms. If you are waking up with burning or tingling feet and you are not diabetic, those other possibilities are worth investigating.

Tendon Problems That Hurt at Rest

Two tendons near the ankle are common sources of pain that can become more noticeable during sleep: the Achilles tendon and the posterior tibial tendon.

The Achilles tendon connects the calf muscles to the heel bone, and when it develops chronic irritation, the pain often presents as stiffness and aching that worsens after periods of inactivity. Lying in bed for hours is the longest period of inactivity most people experience, so morning stiffness in the back of the ankle is a typical complaint. One underappreciated cause of Achilles tendon trouble is medication. Fluoroquinolone antibiotics, a widely prescribed class that includes ciprofloxacin and levofloxacin, are documented to cause tendon pain and even rupture. In one reported case, a patient developed bilateral Achilles tendon pain just three days into a course of levofloxacin.6Physical Therapy. Physical Therapist Management of Fluoroquinolone-Induced Achilles Tendinopathy If your ankle pain started shortly after beginning a new antibiotic, mention it to your doctor immediately.

The posterior tibial tendon runs along the inner ankle and supports the arch of the foot. When it degenerates, the result is pain along the inner ankle and a gradually flattening foot. Posterior tibial tendon dysfunction is the most common cause of adult-acquired flatfoot, and patients typically report medial foot and ankle pain along with weakness.7PubMed Central. Posterior tibial tendon dysfunction: an overlooked cause of foot deformity The pain from this condition can persist at rest and disrupt sleep, especially if the ankle has been under strain all day. Left untreated, the tendon damage progresses to joint deformity that becomes much harder to manage, so early recognition matters.

Circulation Issues

Peripheral arterial disease, or PAD, occurs when atherosclerosis narrows the arteries supplying the legs. In early stages, the main symptom is leg cramping during walking that goes away with rest, a pattern called intermittent claudication. But as the disease advances, blood flow becomes so restricted that pain occurs even at rest, and lying flat can make it worse because you lose the gravity-assisted boost that helps push blood to the feet when sitting or standing. People with advanced PAD sometimes find they need to hang their foot off the side of the bed or sleep in a recliner to reduce nighttime ankle and foot pain.8PubMed Central. Clinical assessment of patients with peripheral arterial disease

Rest pain from PAD is a warning sign. It means the blood supply to the foot is critically low, and tissue damage, including ulcers or gangrene, can follow if the circulation is not improved. Risk factors include smoking, diabetes, high blood pressure, and high cholesterol. If your nighttime ankle pain feels like a dull ache or cramping deep in the foot and is relieved by dangling your legs down, vascular evaluation should be a priority.

Nocturnal Leg Cramps

Many people who describe nighttime ankle pain are actually experiencing sudden, involuntary muscle cramps in the calf or the small muscles of the foot that radiate pain into the ankle. Nocturnal leg cramps are extremely common, particularly in older adults, and their cause remains surprisingly poorly understood. Dehydration, electrolyte imbalances, prolonged standing during the day, and certain medications (especially diuretics and statins) are frequently cited triggers, but studies have struggled to pin down a single reliable mechanism.

The cramps themselves are unmistakable: a painful, hard knot in the muscle that can last from a few seconds to several minutes and leaves a residual soreness that lingers. If you are experiencing these, stretching the calf before bed, staying well hydrated, and ensuring adequate magnesium and potassium intake are the standard first-line recommendations. For severe, frequent cramps that disrupt sleep regularly, a conversation with your doctor about whether an underlying medication or metabolic issue is contributing is worthwhile.

Practical Relief Strategies Beyond Splints

Night splints address the specific problem of plantar fasciitis, but several broader strategies can help with nighttime ankle pain regardless of the underlying cause:

  • Pillow positioning: Elevating the ankle slightly with a pillow reduces swelling from inflammatory causes and can improve comfort for tendon problems. For PAD, the opposite is true: keeping the foot level or slightly lowered may help, so the strategy depends on the diagnosis.
  • Gentle stretching before bed: A few minutes of calf stretches and ankle circles before lying down can reduce the stiffness that builds during sleep. This is especially helpful for Achilles and plantar fascia problems.
  • Temperature management: An ice pack wrapped in a towel for 15 minutes before bed can tamp down inflammatory pain. For nerve pain or cramps, some people find warmth more soothing. Experiment to see which your ankle responds to.
  • Anti-inflammatory timing: If you use over-the-counter pain relievers, taking them 30 to 60 minutes before bed rather than only in the morning means the medication is at peak effect during the hours you need it most.
  • Sleep position awareness: Sleeping on your stomach forces the ankle into a pointed position for hours, which worsens plantar fasciitis and Achilles tendon pain. Side or back sleeping with neutral ankle positioning is generally kinder to the joint.

These measures are not a substitute for diagnosing the underlying cause. They can, however, buy you enough comfortable sleep to function while you work on a longer-term solution.

Sorting Out What Is Actually Going On

The challenge with nighttime ankle pain is that several conditions can produce overlapping symptoms. A quick mental checklist can help you and your doctor narrow the field:

  • Sudden onset, single swollen joint: Think gout. Ask about uric acid testing.
  • Burning or tingling: Think neuropathy. Check blood sugar and B12 levels.
  • Worst with first morning steps: Think plantar fasciitis. Consider a night splint trial.
  • Inner ankle aching with arch collapse: Think posterior tibial tendon dysfunction. Early treatment prevents worsening deformity.
  • Deep ache relieved by dangling the foot: Think peripheral arterial disease. Get vascular assessment.
  • Hard muscle knot that resolves in minutes: Think nocturnal cramp. Review hydration, electrolytes, and medications.
  • Pain starting after a new medication: Think drug-related tendinopathy. Flag fluoroquinolones specifically.

Many people live with nighttime ankle pain for months, assuming it is “just part of getting older” or hoping it will resolve on its own. Some causes, like occasional cramps or mild plantar fasciitis, are indeed self-limiting with basic care. Others, like PAD rest pain, progressive tendon dysfunction, or uncontrolled neuropathy, worsen without intervention and can lead to irreversible damage. The distinction between “annoying but harmless” and “needs prompt attention” usually comes down to whether the pain is getting worse over weeks, whether swelling or color changes in the foot accompany it, and whether it is interfering with your ability to sleep consistently. Any of those patterns warrants medical evaluation rather than continued self-management.

Ayana Nwosu

Ayana Nwosu is a rheumatologist and ISCD Certified Clinical Densitometrist who interprets DEXA scans at an academic medical center. She completed her rheumatology fellowship at the University of Virginia and is board certified in rheumatology. In 17 years of practice she has focused on lupus and on bone health in people taking long-term steroids.