A leg that suddenly refuses to move or bend can have a surprisingly wide range of causes, from a torn piece of cartilage physically blocking your knee joint to a muscle cramp clamping down so hard the limb feels frozen. Clinicians actually distinguish between “true locking,” where something mechanically jams the joint, and “pseudo-locking,” where pain or muscle spasm creates the sensation of a stuck leg without a structural blockage. Getting the distinction right matters, because the causes, urgency, and treatments are different for each.
True Locking Versus Pseudo-Locking
When doctors talk about a locked leg, the first thing they try to determine is whether the joint is genuinely stuck or whether it just feels that way. True locking means something inside the joint, usually the knee, is physically preventing it from straightening or bending. The culprit is often a torn meniscus flap or a loose fragment of bone or cartilage that wedges between the joint surfaces. With true locking you literally cannot extend the knee past a certain point until the fragment shifts out of the way, sometimes on its own and sometimes only with medical help.
Pseudo-locking, on the other hand, is a protective response. Pain, inflammation, or a sudden muscle spasm causes the surrounding muscles to clench and hold the joint still. Your knee or hip might feel locked, but there is no mechanical blockage inside. The distinction can be tricky to make without imaging, and some patients with pseudo-locking have ended up in surgery that turned out to be unnecessary. MRI is often recommended to tell the two apart, though experienced clinicians can frequently distinguish them through a careful history and physical exam alone.1Injury. Diagnosing the acutely locked knee
Mechanical Causes in the Knee
The knee is by far the most common joint people mean when they say their leg locks up, and for good reason. It is a complex hinge loaded with cartilage, ligaments, and a kneecap that glides in a groove. Several mechanical problems can cause true locking or near-locking:
- Meniscus tears: The two C-shaped pads of cartilage in the knee can tear during a twist or squat. A flap of torn meniscus can fold over and wedge in the joint, physically preventing it from straightening. This is one of the most common causes of a knee that genuinely gets stuck.
- Loose bodies: Fragments of cartilage or bone can break free and float inside the joint space. When a fragment drifts between the moving surfaces, the knee catches and locks until the fragment moves. Arthroscopic removal of these loose bodies can eliminate the locking completely, as documented in cases where the fragments originated from an underlying skeletal condition.2PubMed Central. Multiple Epiphyseal Dysplasia With Knee Joint Locking Symptoms Caused by Intra-articular Loose Bodies
- Patellar maltracking: Your kneecap is supposed to slide smoothly in the groove at the front of the thighbone. When it tracks off-center because of a structural imbalance between the kneecap and the groove it sits in, the result can be catching, pain, or a feeling that the knee is about to give out. Diagnosis is sometimes difficult, especially if there is no clear history of the kneecap actually dislocating.3PubMed Central. Patellar maltracking: an update on the diagnosis and treatment strategies
Meniscus tears and loose bodies are the two most frequent causes of true mechanical locking. In younger, active people a meniscus tear often follows a specific twisting injury, while loose bodies can develop gradually from wear-and-tear arthritis or after a prior injury chips off a fragment.
When the Hip or Ankle Locks
The knee gets most of the attention, but the hip and ankle can produce similar locking or catching sensations. In the hip, labral tears are a leading source. The labrum is a ring of cartilage that lines the rim of the hip socket, and when it tears, it frequently causes clicking, locking, and a feeling of the hip giving way.4PubMed Central. A comprehensive review of hip labral tears These tears can result from trauma, structural abnormalities like femoroacetabular impingement, or simply from repetitive motion over time. If your leg seems to lock or catch when you rotate your hip or get out of a car, a labral tear is worth considering.
At the ankle, impingement syndromes can restrict motion and create a locking sensation. Bony spurs at the front of the ankle are particularly common in athletes and people recovering from previous ankle injuries, and they can physically block the ankle from bending upward.5PubMed. The Aggressive Open Anterior Ankle Cheilectomy as Joint Salvage for Anterior Ankle Impingement Syndrome and Arthritis Some patients develop impingement on both the front and back of the ankle simultaneously, which can make simple walking feel restricted and stiff.6PubMed. Ankle impingement: combined anterior and posterior impingement syndrome of the ankle People sometimes describe these ankle problems as the ankle “locking” or “catching” during a step, particularly on uneven ground.
Muscle Cramps and Spasms
By far the most everyday cause of a leg that suddenly seizes up is a muscle cramp. When a calf or thigh muscle locks into a sustained, involuntary contraction, it can be painful enough that the entire leg feels immobilized. The classic example is a charley horse in the calf at three in the morning or a quad cramp during a long run.
For decades, the standard explanation was dehydration and electrolyte loss through sweat. That idea has not held up well under scrutiny. Reviews of the evidence have found that the dehydration and electrolyte-depletion hypotheses rest mostly on old anecdotal case reports and a single small study, and they do not explain why cramping hits only specific muscles rather than the whole body. If the problem were a system-wide shortage of sodium or potassium, you would expect widespread cramping, not one locked-up calf while the other leg is fine.7British Journal of Sports Medicine. Cause of Exercise Associated Muscle Cramps EAMC — altered neuromuscular control, dehydration or electrolyte depletion
The explanation gaining the most ground is a neuromuscular one. Fatigue in a particular muscle disrupts the normal balance between the nerve signals that excite the muscle and the ones that inhibit it. When the fatigue tips that balance too far toward excitation, the muscle fires uncontrollably and cramps.8PubMed Central. Exercise-Associated Muscle Cramp-Doubts About the Cause Research on marathon runners has supported this, finding that premature muscle fatigue better explains the onset of exercise-associated cramps than fluid or mineral losses do.9PubMed. Muscle cramping in the marathon: aetiology and risk factors
More recent work suggests that people who are prone to cramping have subtle differences in how their motor neurons fire in specific muscles, rather than some blanket hyperexcitability across the nervous system.10PubMed Central. Muscle cramp susceptibility is associated with muscle-specific modulation of human motoneuron discharge patterns In practical terms, this means stretching and strengthening a cramp-prone muscle is likely more helpful than loading up on bananas or sports drinks, though staying hydrated obviously matters for overall performance.
This does not mean electrolytes are irrelevant to leg function in general. Severe chronic deficiencies in potassium and magnesium, as seen in rare kidney disorders like Gitelman syndrome, can cause muscle weakness and cramping that requires ongoing supplementation.11PubMed Central. Home Parenteral Support in Severe Gitelman Syndrome: A Case Report But for most people who get occasional cramps during or after exercise, the fatigue-based explanation fits better than the mineral-depletion story.
A Rarer Muscular Cause in Runners
Runner’s dystonia is a condition most people have never heard of, but it is worth mentioning because it can mimic or be confused with cramping. It is a task-specific focal dystonia of the lower limbs, meaning the involuntary muscle contractions happen only during running and not at rest or during other activities.12PubMed Central. Electromyographic and Joint Kinematic Patterns in Runner’s Dystonia Affected runners may notice their foot curling inward or their leg stiffening up in a specific pattern that feels like locking. Because it only shows up during the act of running, it can take a long time to get a diagnosis. If stretching, pacing, and electrolyte management have not helped your exercise-related leg locking and the problem is reproducible at a specific point in your run, dystonia is worth asking a neurologist about.
Nerve Compression and Spinal Problems
Sometimes a leg that locks, gives out, or feels stiff has nothing wrong with the leg itself. The problem is in the spine. Lumbar spinal stenosis, a narrowing of the spinal canal in the lower back, is a common condition in older adults. Its hallmark symptom is neurogenic claudication: leg pain, heaviness, or weakness that comes on with walking and eases when you sit down or lean forward. Not every patient presents with that textbook pattern, though. Some develop rapid leg weakness that can feel like the leg is catching or giving way.13PubMed Central. Leg weakness in a patient with lumbar stenosis and adrenal insufficiency
Herniated discs in the lumbar spine can compress individual nerve roots and weaken specific muscles in the leg. When the L5 nerve root is affected, for example, you can lose strength in the muscle that lifts the big toe and foot. In one study, surgery improved the weakness in most patients with disc herniation or narrowing of the side channels of the spine, though patients with narrowing of the central canal fared less well.14Spine. Motor affliction of the L5 nerve root in lumbar nerve root compression syndromes From the patient’s perspective, this kind of weakness can feel like the leg buckling, catching, or refusing to push off properly during a stride.
Conditions affecting the brain or spinal cord itself, like stroke, multiple sclerosis, or spinal cord injury, can also cause involuntary muscle stiffness in the legs. An international expert panel has described this type of spastic movement disorder as involuntary muscle overactivity in the presence of a central nervous system lesion, usually accompanied by weakness.15PubMed Central. A phenomenological approach to spastic movement disorders: an international expert panel consensus Spasticity can make a leg feel rigid and difficult to bend, which many people describe as “locking.” If leg stiffness comes along with new clumsiness, difficulty with balance, or changes in bladder function, a neurological evaluation should be a priority.
Poor Blood Flow
Peripheral artery disease, or PAD, is an often-overlooked cause of leg problems. Narrowed arteries in the legs reduce blood flow to the muscles, and the result is cramping, heaviness, or aching that comes on during walking and goes away with rest, a pattern called intermittent claudication. The legs can feel so heavy and tight that people describe them as “seizing up” or “locking” after a certain distance. PAD affects roughly one in seven to one in ten people age 65 and older, and its prevalence is expected to rise. People with PAD also experience faster declines in walking ability over time compared to those without it.16Circulation. One-year Change In Walking Performance And Mobility Loss In People With Peripheral Artery Disease
The distinguishing feature of PAD-related locking or cramping is its predictability: it shows up reliably after a certain amount of walking, reliably eases with a minute or two of rest, and reliably returns once you start walking again. If that pattern sounds familiar, especially if you also have risk factors like smoking, diabetes, or high blood pressure, ask your doctor about checking the blood flow in your legs. The test is straightforward, usually just comparing blood pressure readings at the arm and ankle.
Chronic Exertional Compartment Syndrome
If your lower legs feel tight, painful, and hard to move but only during exercise and always at about the same point in your workout, chronic exertional compartment syndrome is a possibility. The muscles in the lower leg are wrapped in tight bands of connective tissue called fascia. During exercise, the muscles swell with blood, and in some people the fascia does not stretch enough to accommodate the swelling. Pressure builds inside the compartment, causing pain and tightness that can feel like the leg is locking up.17PubMed Central. Chronic exertional compartment syndrome of the leg
This condition most commonly shows up in young adult recreational runners, competitive athletes, and military recruits. The symptoms follow a very specific pattern: pain starts at a predictable point during exercise, worsens if you push through, and fades within minutes of stopping. The fact that it is tied to exertion time or intensity, not to a specific movement or position, separates it from most joint or muscle problems. It is also widely considered underdiagnosed because many clinicians do not think to test for it. Diagnosis requires measuring the pressure inside the muscle compartment before and after exercise.
What to Do When Your Leg Locks Up
Your immediate response depends on what kind of locking you are dealing with. For a sudden muscle cramp, gently stretch the affected muscle. If the calf has seized, flex the foot upward toward your shin. If the quad has cramped, bend the knee to stretch the front of the thigh. Massage, warmth, and walking slowly once the acute contraction eases can help the muscle relax. If cramps are a recurring problem during exercise, the evidence points more toward conditioning the fatigued muscle, reducing your intensity near the end of a long effort, and making sure you are not ramping up training volume too quickly, rather than simply drinking more electrolyte solutions.
For a joint that mechanically catches or locks, the approach is different. If your knee is truly stuck and will not straighten, do not force it. Sometimes gently jiggling the leg or slowly bending and straightening it can coax a loose fragment out of the way. If the joint stays locked or this happens more than once, imaging and likely an orthopedic consultation are warranted. Recurrent true locking usually means something inside the joint needs to be addressed, often arthroscopically.
Physical therapists who evaluate leg complaints are trained to screen for red flags that suggest something more serious than a simple muscle or joint issue. Among the things that should prompt an urgent visit to a doctor:
- Sudden severe swelling: A hot, swollen leg could signal a blood clot, especially after surgery, a long flight, or prolonged immobility.
- Progressive weakness: Leg weakness that gets worse over days or weeks, especially if it involves trouble lifting the foot or climbing stairs, may point to nerve compression or a spinal problem that needs attention before permanent damage occurs.
- Numbness or tingling: Persistent changes in sensation, particularly in a specific strip down the leg, suggest a nerve root is being compressed.
- Loss of bladder or bowel control: Combined with leg symptoms, this is a medical emergency that can indicate cauda equina syndrome, where the nerves at the base of the spine are being severely compressed.
- Leg symptoms with back pain: When locking or weakness coincides with low back pain, the spine should be evaluated as a possible source.
Clinicians emphasize the importance of a thorough history and physical exam in sorting out leg complaints. More than two-thirds of physical therapy providers in the United States now treat patients through direct access, meaning you do not always need a physician referral first, but identifying red flags and knowing when to refer to a specialist remains critical.18PubMed Central. Red flag rules for knee and lower leg differential diagnosis
Young Athletes and Growing Joints
Leg locking in children and teenagers has its own set of considerations. Juvenile osteochondritis dissecans is a condition where a small area of bone just beneath the joint cartilage loses its blood supply and can eventually break away, creating a loose fragment inside the joint. In young people it most often affects the knee. Most cases present as a stable lesion that responds to rest and activity modification, but unstable lesions, where the fragment is partially or fully detached, can cause intermittent catching and locking and sometimes need surgery.19PubMed Central. Juvenile osteochondritis dissecans (JOCD) of the knee: current concepts review
Parents often dismiss a child’s knee catching as “growing pains” or clumsiness. If the catching or locking is reproducible, if there is swelling after activity, or if the child avoids putting full weight on the leg, these are signs worth investigating rather than waiting out. Early treatment of juvenile osteochondritis dissecans has a better track record than late treatment, because the growing skeleton has more healing potential than an adult one, but only if the problem is caught before the fragment fully separates.
Growth-related issues also mean that some causes of leg locking in adults, like degenerative meniscus tears, are uncommon in kids, while other causes, like congenital skeletal variants, are relatively more common. A teenager whose knee locks repeatedly deserves imaging even if there is no clear injury, because structural causes like osteochondritis dissecans and discoid meniscus can be easy to treat early and harder to treat later.