What Causes Pain in the Shin When Lying Down?

Shin pain that appears or worsens when you lie down usually points to a problem with blood flow, nerve signaling, or bone integrity rather than the muscle overuse most people associate with the shins. Gravity does a surprising amount of work pushing blood down to your lower legs while you are upright, and removing that assist by going horizontal can unmask conditions that are silent during the day. The list of possible causes runs from common and benign to urgent, and the specific character of the pain, along with what relieves it, often reveals which category you are dealing with.

Peripheral Arterial Disease and Rest Pain

The most medically serious cause of shin and lower-leg pain when lying down is insufficient arterial blood flow, a condition broadly called peripheral arterial disease. When arteries that supply the legs narrow from plaque buildup, standing and sitting still deliver enough blood for tissue survival because gravity helps push it downhill. Lie flat, and that gravitational advantage disappears. Blood pressure at the ankle drops, and tissues that were already borderline starved for oxygen begin to hurt. Doctors call this “rest pain,” and it is considered a sign of critical limb ischemia, the most advanced stage of arterial disease. Roughly one in a hundred people over 55 have this level of disease, while a much larger share, around one in ten, have blockages that have not yet progressed to that point.1Thrombosis Research. Evaluation of patients with peripheral vascular disease

Rest pain from ischemia has a few distinguishing features. It typically focuses on the foot and toes rather than the mid-shin, but the discomfort can radiate upward. It tends to be worst at night, when you have been lying flat for a while and the metabolic demands of tissue maintenance go unmet. People with this problem often discover, by instinct, that dangling their legs off the side of the bed or sleeping in a recliner reduces the pain. Research on skin perfusion pressure confirms why: moving from a flat position to sitting significantly increases blood delivery to the lower limbs, even in people with critical ischemia.2PubMed Central. The effect of different positions on lower limbs skin perfusion pressure If you find yourself needing to sit up or hang your legs over the bed to get relief, that positional clue should prompt a conversation with a doctor soon, not eventually. Critical limb ischemia that goes untreated can lead to tissue death and ulcers, particularly at the toes and heel.1Thrombosis Research. Evaluation of patients with peripheral vascular disease

Restless Legs Syndrome

Not all nighttime shin discomfort comes from blood flow problems. Restless legs syndrome produces an uncomfortable, hard-to-describe sensation in the legs, often focused on the shins and calves, that appears specifically when you are sitting or lying still. People describe it as crawling, pulling, throbbing, or simply “strange and uncomfortable.” The hallmark is an irresistible urge to move your legs, and moving or walking around reliably makes the sensation better, at least temporarily.3PubMed. Prevalence and correlates of restless legs syndrome symptoms in the Wisconsin Sleep Cohort

The practical way to distinguish restless legs from ischemic rest pain is what happens when you get up. With restless legs, walking brings quick relief that feels almost immediate. With arterial insufficiency, hanging the legs down or sitting helps, but walking does not necessarily resolve the burning, aching quality of ischemic pain and may even bring on a different kind of discomfort called claudication. Restless legs syndrome also tends to affect both legs symmetrically, while arterial disease frequently hits one leg harder than the other, depending on where the blockage is worst.

Restless legs syndrome is surprisingly common, affecting somewhere between 5 and 15 percent of adults depending on how strictly you define it. It is more frequent in women, worsens with age, and is linked to iron deficiency, kidney disease, and pregnancy. If the sensation in your shins at night feels more “weird and restless” than “painful and burning,” this is worth exploring first. It responds well to treatment once identified, whether through iron supplementation, lifestyle changes, or specific medications.

Medications That Trigger Leg Pain While Lying Down

If you take a cholesterol-lowering statin, your nighttime shin or calf pain may be a side effect rather than a standalone disease. Statins are among the most widely prescribed drugs in the world, and muscle symptoms are their best-known complaint. What catches many people off guard is that statin-related muscle pain often shows up at rest and while lying down rather than during exertion. In a detailed survey of patients reporting muscle symptoms on statins, a majority said the pain was worst during rest and in a lying position, with the lower limbs being the most commonly affected area. About four in ten of those patients were taking over-the-counter painkillers to manage it.4PubMed. A comprehensive description of muscle symptoms associated with lipid-lowering drugs

The mechanism is not entirely settled, but case reports suggest that statins may worsen the blood supply to muscles that are already somewhat compromised, particularly in older adults with some degree of underlying arterial disease. In one documented case, a patient on simvastatin developed painful nocturnal leg cramps that were attributed to a combination of the drug and pre-existing atherosclerotic changes in the leg arteries. Switching to a different statin, pravastatin, made the nighttime pain disappear.5PubMed. Simvastatin-lnduced nocturnal leg pain disappears with pravastatin substitution This does not mean everyone on a statin who gets leg pain needs to stop the drug, but it does mean the connection is worth mentioning to your prescribing doctor. Switching to a different statin or adjusting the dose resolves the problem for many people, and stopping the medication when a better alternative exists is far preferable to just living with the pain or, worse, ignoring it because you assumed it was something else.

Nerve Compression Masquerading as Shin Pain

Shin pain that seems muscular but never responds to the usual treatments for muscle overuse may actually originate in the lower back. The L4 spinal nerve, which exits the spine at the fourth lumbar level, supplies sensation to the front and inner part of the shin. When this nerve gets pinched, typically by a narrowed spinal canal or a bulging disc, it can produce pain, tingling, or hypersensitivity in exactly the area you would expect from “shin splints,” even though nothing is wrong with the shin itself.

One published case illustrates the problem vividly. A patient was diagnosed and treated for shin splints for a full decade before investigation revealed that the true cause was dynamic narrowing of the L4-5 spinal canal, compressing the nerve root on one side.6PubMed Central. Partial mixed neuropathy of the fourth lumbar spinal nerve misdiagnosed as “shin splints” “Dynamic” here means the compression worsened with certain body positions, which is exactly why lying down can change the picture. Spinal alignment shifts subtly between standing, sitting, and lying flat. Some positions open up the spinal canal slightly, while others narrow it. If your shin pain changes depending on whether you are on your back, your side, or propped up with pillows, a nerve issue higher up in the chain is worth considering.

A few other clues point toward a spinal origin rather than a local shin problem. Nerve-related shin pain often comes with altered sensation, like numbness, tingling, or a heightened sensitivity to light touch, rather than the deep ache of a muscle or bone injury. It may be accompanied by subtle weakness in the ankle or knee. And it typically does not respond to icing, compression, or the other first-line treatments that work for genuine musculoskeletal shin pain.

Bone Conditions That Flare at Night

The tibia, the large bone of your shin, is subject to several conditions that produce pain at rest. Two of the most relevant to nighttime flare-ups are stress fractures and osteoid osteomas.

Stress fractures of the tibia develop from repetitive loading, common in runners, dancers, and military recruits. The pain initially shows up only during activity, but as the fracture progresses, it can persist afterward and even become noticeable when you are lying in bed at night. A stress fracture that hurts at rest is generally further along than one that only hurts during exercise, and it needs more aggressive rest or immobilization. People with smaller skeletal frames are at higher risk and are advised to increase training loads gradually, backing off at the first sign of shin pain rather than pushing through.7Clinical Journal of Sport Medicine. Risk Factors for Tibial Stress Injuries

Osteoid osteomas are small, benign bone tumors that have a distinctive pattern of causing pain that is worst at night. They produce a tiny core of tissue called a nidus that churns out prostaglandins, the same inflammatory chemicals that cause pain and swelling in other contexts. The concentration of prostaglandins within the tumor explains why anti-inflammatory painkillers like ibuprofen or naproxen work remarkably well for this condition, often providing near-complete relief.8PubMed Central. Early Complete Remission of Osteoid Osteoma with Conservative Medical Management The tibia is one of the more common sites for osteoid osteomas. If you have a localized shin pain that reliably worsens at night and responds dramatically to an over-the-counter anti-inflammatory, this diagnosis is worth pursuing through imaging. The tumor is small and often missed on plain X-rays; a CT scan is the typical way to find it.

Deep Vein Thrombosis

A blood clot forming in one of the deep veins of the lower leg, called deep vein thrombosis, produces a different quality of pain from arterial or bone problems. It tends to feel like a deep, constant ache or heaviness in the calf or lower shin, often accompanied by swelling, warmth, and sometimes redness. The pain does not necessarily worsen with lying down, but it does not go away either, and many people first become aware of it at night when there are fewer distractions.

DVT is a medical emergency not because of the leg pain itself, but because a clot can break free and travel to the lungs. Risk factors include recent surgery, prolonged immobility like a long flight, cancer, pregnancy, and use of hormonal birth control. If you have sudden-onset shin or calf pain with visible swelling in one leg, especially if it came on after a period of being sedentary, getting it evaluated quickly matters. Research on DVT management has found that once treatment with blood thinners is started, early walking and movement actually help resolve pain faster than strict bed rest.9Thrombosis Research. Physical activity in patients with deep venous thrombosis: a systematic review That finding runs counter to the older medical advice of staying in bed with a clot, and it underscores how much our understanding of DVT management has shifted.

Vasculitis of the Lower Limbs

Vasculitis, or inflammation of blood vessel walls, occasionally confines itself to the legs and can produce pain in the shin and calf regions that is present at rest. This is much rarer than the other causes discussed here, but it matters because it requires a fundamentally different treatment approach. In a study of patients with vasculitis restricted to the lower limbs, the dominant complaint was disabling muscle pain in the calves. Half of those patients also had fever, and half had ankle joint pain. Skin involvement, such as rashes or purplish discoloration on the lower legs, appeared in about four in ten cases.10PubMed Central. Vasculitis restricted to the lower limbs: a clinical and histopathological study

The clue that points toward vasculitis rather than something mechanical is the presence of systemic symptoms. Fever, fatigue, joint pain, and unexplained skin changes in the same period as new leg pain suggest the immune system is involved. Vasculitis can be triggered by infections, medications, or autoimmune disorders, and it requires immunosuppressive treatment rather than the painkillers or lifestyle changes that address most other causes on this list. If your shin pain is accompanied by any of those broader symptoms, a blood panel checking for inflammation markers is a reasonable early step.

How Position-Dependent Clues Help Narrow the Cause

Because so many different conditions can produce shin pain at rest, the specific relationship between your pain and your body position is one of the most useful diagnostic clues you can provide to a doctor. Here are the patterns worth paying attention to:

  • Relieved by dangling legs down: Strongly suggests arterial insufficiency. Gravity pulls blood into the lower leg, temporarily restoring perfusion. People who sleep in recliners to manage leg pain should be evaluated for peripheral arterial disease.
  • Relieved by getting up and walking: Classic for restless legs syndrome. The urge to move is the defining feature, and movement provides rapid, if temporary, relief.
  • Unchanged by position but responsive to ibuprofen: Consider osteoid osteoma or another inflammatory bone process. The prostaglandin mechanism makes these tumors uniquely sensitive to anti-inflammatory drugs.
  • Worse in certain spinal positions: If lying flat worsens the pain but propping your knees or lying on one side helps, a nerve root issue in the lumbar spine may be driving the shin symptoms.
  • Present at rest with swelling in one leg: Warrants urgent evaluation for deep vein thrombosis, particularly if the onset was sudden or followed a period of immobility.

Keeping a brief log of when the pain occurs, what position you were in, and what made it better or worse is genuinely helpful before a medical appointment. Doctors sorting through lower leg pain rely heavily on these contextual details because imaging and blood tests can miss early stages of several conditions on this list, while the positional pattern often points in the right direction from the start. Noting whether the pain is in one leg or both, whether it burns or aches or feels “restless,” and whether simple anti-inflammatories touch it at all gives your clinician a much shorter list of possibilities to investigate.