Why Does the Back of My Knee Hurt When I Straighten It?

Pain behind the knee when you straighten your leg usually comes from something being compressed or stretched in the back of the joint as it reaches full extension. The most common culprits are a fluid-filled cyst, a hamstring tendon issue, a small muscle strain, or a meniscus tear. Less often, it signals something more serious like a blood clot or a ligament injury. The specific pattern of your pain, when it started, and what makes it worse can help narrow down which one you’re dealing with.

What Happens in Your Knee During Extension

Your knee joint isn’t a simple hinge. As your leg straightens fully, the bones rotate slightly, the soft tissues behind the joint get compressed, and the muscles along the back of your thigh pull taut. Any structure that’s swollen, torn, or inflamed in the back of the knee gets squeezed harder as you approach a fully straight position. That’s why pain that’s barely noticeable when your knee is bent can flare up the moment you try to lock it out straight.

Baker’s Cyst

A Baker’s cyst (also called a popliteal cyst) is one of the most common reasons for this exact symptom. It’s a pocket of fluid that forms in the hollow behind your knee, usually as a response to swelling inside the joint from arthritis, a cartilage tear, or another injury. The cyst itself isn’t the root problem; it’s more like a pressure valve for excess joint fluid.

The reason it hurts specifically when you straighten your leg is mechanical. When you bend your knee, the cyst sits in a soft, open space and may even disappear entirely. When you extend the knee, the calf muscle and hamstring tendon squeeze together against the joint capsule, compressing the cyst between them. This compression is what produces that tight, aching pressure behind the knee at full extension. If you can feel a firm lump behind your knee that softens or vanishes when you bend it, that’s a strong indicator.

Small cysts often resolve on their own once the underlying joint issue is addressed. Larger ones can occasionally rupture, sending fluid down into the calf and causing sudden pain and swelling that can mimic a blood clot.

Hamstring Tendon Strain

Your hamstring muscles run down the back of your thigh and attach to bones just below and behind the knee through a group of tendons. When you straighten your leg, these tendons are pulled to their full length. If one of them is inflamed or partially torn, that stretch creates a sharp or burning pain right at the back of the knee.

Hamstring tendonitis at the knee tends to develop gradually from repetitive activities like running, cycling, or any sport involving repeated sprinting and stopping. The pain is usually worst during the last few degrees of straightening and may also show up when you climb stairs or walk uphill. Unlike a cyst, the pain feels more like a pull or a sting rather than deep pressure, and there’s typically tenderness when you press on the inner or outer edges of the back of the knee where the tendons attach.

Posterior Meniscus Tear

Each knee has two rubbery, C-shaped pads of cartilage (menisci) that sit between the thighbone and shinbone and act as shock absorbers. Tears in the back portion of either meniscus can cause pain behind the knee during extension because the torn piece gets pinched or displaced as the joint moves.

Normally, the meniscus manages load by creating a kind of elastic containment that disperses pressure evenly across the joint surface. When a tear disrupts this structure, the damaged section can push outward from the joint space. This reduces the cushioned contact area between the bones and concentrates force on the exposed cartilage surfaces. The result is pain, sometimes accompanied by a catching or locking sensation where the knee briefly refuses to straighten all the way. Meniscus tears are common in athletes but also happen with age as the cartilage becomes more brittle. A twist on a loaded knee is the classic mechanism.

Popliteus Muscle Strain

The popliteus is a small, deep muscle that sits right behind the knee joint. Its main job is to “unlock” the knee from a fully straight position by initiating the first few degrees of bending and rotating the shinbone inward. When this muscle is strained, you feel pain specifically in the back of the knee, and it’s often triggered by weight-bearing or going down stairs.

Popliteus strains typically happen from a fall onto a straight leg, forced hyperextension, or a twisting injury where the lower leg is pushed outward while the knee is slightly bent. Because the muscle is so deep, the pain can be hard to pinpoint and may feel like a vague ache rather than a sharp, localized spot. One clinical clue is an unnatural outward rotation of the lower leg when bending the knee, though this is subtle and easier for a clinician to spot than to notice on your own.

PCL Injury

The posterior cruciate ligament (PCL) sits deep inside the knee and prevents the shinbone from sliding backward under the thighbone. A PCL injury can cause pain behind the knee, particularly at the extremes of motion including full extension. These injuries are less common than ACL tears and often result from a direct blow to the front of the knee (like hitting a dashboard in a car accident) or a fall onto a bent knee.

PCL injuries range from mild sprains to complete tears. Mild ones may produce only a vague sense of instability and posterior knee pain, while more severe tears cause noticeable looseness and difficulty with activities like walking downhill. A clinician can test for PCL damage by checking whether the shinbone shifts backward when the knee is bent at 90 degrees.

When the Cause Might Be Vascular

Two vascular conditions can produce pain behind the knee, and both deserve attention because they carry different risks than musculoskeletal problems.

A deep vein thrombosis (DVT) is a blood clot in one of the veins behind the knee. It typically causes a constant, deep ache rather than pain tied only to straightening the leg, and the calf may be swollen, warm, or red. DVT risk factors include recent surgery, prolonged immobility, air travel, or a history of clotting disorders. This is the one cause on the list that requires urgent medical evaluation because a clot can break loose and travel to the lungs.

Popliteal artery entrapment syndrome is rarer and mostly affects active people under 40, especially those in their late teens and twenties. The main artery behind the knee gets compressed by surrounding muscle, causing cramping in the calf during exercise that relieves with rest. You might also notice cold feet or skin color changes in the calf after activity. It’s often mistaken for a simple muscle strain, but the exercise-triggered, rest-relieved pattern in a young, active person is a distinguishing feature.

Sorting Out Which One You Have

The pattern of your symptoms offers the best initial clues. Pain that came on suddenly after a twist or impact points toward a meniscus tear, popliteus strain, or PCL injury. Pain that built up gradually over weeks suggests hamstring tendonitis, a Baker’s cyst, or arthritis-related swelling. A visible or palpable lump that changes with knee position is classic for a Baker’s cyst. Catching or locking during movement suggests a meniscus issue. Pain only during or after exercise, especially with calf cramping, raises the question of a vascular cause.

A physical exam can narrow things down considerably. Clinicians use specific tests to check for ligament looseness, meniscal tears, and hamstring tightness. The “popliteal angle” test, for instance, measures how tight your hamstrings are by extending the knee while the hip is bent. Imaging with an MRI is often the next step if a structural problem like a cyst, meniscus tear, or ligament injury is suspected, since these don’t always show up on X-rays.

What Typically Helps

For most musculoskeletal causes, the initial approach is similar: reduce the load on the knee, manage swelling with ice and elevation, and avoid the specific motion that triggers the worst pain. Hamstring tendonitis and popliteus strains generally respond well to a gradual rehabilitation program focused on gentle stretching and progressive strengthening over several weeks.

Baker’s cysts often shrink once the underlying problem (usually joint inflammation or a cartilage tear) is treated. If the cyst is large and painful, draining it provides temporary relief, but it tends to refill unless the root cause is addressed. Meniscus tears may heal with rest and rehabilitation if the tear is small and in a well-supplied area of the cartilage, but larger or more complex tears sometimes require surgical repair, especially if the knee is locking or giving way.

PCL injuries are managed conservatively more often than ACL tears. Most partial PCL injuries recover with structured rehabilitation over two to three months. Complete tears may need surgical reconstruction, particularly in athletes or people with persistent instability.