Free patient helpline · +91 77400 33771 · Mon to Sun, 8 AM to 10 PMList your hospital or practiceHow listings are built
HealthFinder, complementing life

Pain in the back of the knee when straightening the leg

Pain behind the knee on straightening usually means a Baker's cyst, a muscle strain, a meniscus tear or a PCL injury. Clues, self-care, scans, DVT red flags.

SourcesFAQsFind a hospital
Runner pausing on a park path, hand on the back of the knee
On this page
  1. What causes pain at the back of the knee when straightening the leg?
  2. How do I tell which cause I have?
  3. Is it a Baker's cyst?
  4. Is it a hamstring or calf muscle strain?
  5. Could it be a meniscus tear or a PCL injury?
  6. When is pain behind the knee a blood vessel emergency?
  7. What can I do at home for pain behind the knee?
  8. When do I need a scan or a specialist?
  9. FAQs
  10. Sources

Pain at the back of the knee when you straighten the leg most often comes from a Baker's cyst, a strained hamstring or calf muscle, a torn meniscus or, after a heavy impact, a posterior cruciate ligament injury. A swollen, warm, throbbing calf is different: that pattern can be a deep vein thrombosis and needs a doctor the same day. Most of the other causes settle with rest, ice and gradual movement, and the NHS says knee pain that has not improved within a few weeks should be seen by a doctor.

What causes pain at the back of the knee when straightening the leg?

Pain behind the knee on straightening comes from one of five structures: the fluid-filled Baker's cyst that sits in the popliteal fossa, the hamstring and calf (gastrocnemius) muscles that cross the back of the joint, the meniscus cartilage inside the joint, the posterior cruciate ligament (PCL), or the popliteal blood vessels. Straightening the leg stretches the muscles and squeezes the back of the joint, so each of these hurts in that position.

The NHS knee pain page groups causes by whether there was an injury. After a twist or over-stretch during exercise, it lists sprains and strains; a knee that gives way, will not straighten or popped during the injury points to a torn ligament, tendon or meniscus. With no obvious injury, it lists osteoarthritis (pain and stiffness in both knees, more common in older people), bursitis, bleeding into the joint, and gout or septic arthritis (hot, red, sudden severe pain).

The NHS Baker's cyst page says cysts in adults usually develop when another condition damages the joint, naming knee injury, osteoarthritis, rheumatoid arthritis and gout. So in India's over-40 population, where knee osteoarthritis is common, a Baker's cyst and the arthritis behind it are often found together.

Two causes are not musculoskeletal at all. A deep vein thrombosis (DVT) in the calf or thigh and a popliteal artery aneurysm can both present as pain or swelling behind the knee; Cleveland Clinic says a popliteal aneurysm is hard to diagnose precisely because DVT and Baker's cyst look similar. The next section separates them by their clues.

How do I tell which cause I have?

Onset, location and what you can see or feel separate the causes before any scan. The clues below come from the NHS, the American Academy of Orthopaedic Surgeons (AAOS) and Cleveland Clinic.

CauseTypical clue
Baker's cystSoft lump behind the knee, stiffness, trouble bending, worse after walking; often with arthritis (NHS)
Hamstring strainSharp pain at the back of the thigh during sport, sometimes a pop; bruising after a few hours (NHS)
Calf (gastrocnemius) strainSudden calf pain on a push-off, trouble standing on toes, trouble bending the knee (Cleveland Clinic)
Meniscus tearPop at injury, knee stiffens and swells over 2 to 3 days, catching or locking, loss of full range (AAOS)
PCL injuryStrong force to a bent knee (dashboard, fall); pain and swelling build quickly, limp, knee may give way (AAOS)
DVTThrobbing pain in one calf or thigh, swelling, red, blue or darkened skin; no injury needed (NHS)
Popliteal aneurysmUsually silent; pulsating lump; if it clots, pain, numbness and a cold pale leg (Cleveland Clinic)

Three questions narrow it. Was there an injury? A twist favours strain or meniscus, a heavy impact favours PCL, no injury favours cyst, arthritis or DVT. Is there a lump? Soft favours a cyst, pulsing an aneurysm. Is the lower leg swollen, warm or discoloured? That favours DVT or a ruptured cyst; both need a doctor the same day.

Is it a Baker's cyst?

A Baker's cyst is the likeliest cause if there is a soft lump behind the knee with stiffness and difficulty bending. The NHS says the main symptom is a soft lump at the back of the knee, with pain, stiffness or aching, difficulty bending and clicking, and that symptoms may be worse after walking. Cleveland Clinic adds swelling that can extend into the thigh or calf, and notes some people have no symptoms at all.

The cyst is a sac of joint fluid pushed out through the back of the joint; Cleveland Clinic says a damaged knee makes extra fluid, which can drain only backwards. The NHS says cysts are more common between 35 and 70 and usually follow a knee injury, osteoarthritis, rheumatoid arthritis or gout.

Treatment follows the cause. The NHS says a Baker's cyst does not always need treatment, often improves when the underlying condition is treated, and can take a few months to a few years to settle; options include painkillers, a hydrocortisone injection, physiotherapy and draining the fluid. Cleveland Clinic says most cysts go away within a few weeks once the joint swelling improves.

A cyst can rupture. Cleveland Clinic describes sharp, stabbing pain in the knee or calf, calf swelling, a feeling of fluid running down the leg, and discolouration that resembles a blood clot. The NHS says a burst cyst and a DVT look alike, both need urgent assessment, and a rupture takes a few weeks to settle.

Is it a hamstring or calf muscle strain?

A strain is the likeliest cause if the pain started suddenly during running, jumping or a kick and the muscle is tender, swollen or bruised. The hamstrings attach just below the back of the knee; the gastrocnemius starts just above it. Straightening the leg stretches both, so a strain in either hurts behind the knee.

The NHS hamstring page describes a sharp pain in the back of the leg, sometimes with a snapping sensation or a pop in severe cases, followed by tenderness, then swelling and bruising after a few hours, and difficulty standing or walking. Cleveland Clinic's calf strain page lists sudden calf pain, swelling, bruising, a popping feeling, difficulty standing on the toes and difficulty bending the knee, and says risk rises after 40, with poor conditioning, tight calves and previous leg injuries.

Recovery depends on grade. The NHS says mild hamstring injuries usually improve within a few days and severe ones take weeks or months; Cleveland Clinic says calf strains can take weeks or months and re-injury is more likely afterwards. The NHS sprains and strains page says most improve within 2 weeks and advises no running for up to 8 weeks.

One caution: Cleveland Clinic says research shows up to 10% of people with calf-pull symptoms have a DVT. A calf that is swollen and warm without a clear injury is not a strain until a doctor has said so.

Could it be a meniscus tear or a PCL injury?

Suspect a meniscus tear if the knee catches, locks or will not go through its full range after a twist; suspect a PCL injury only after a heavy blow to a bent knee. Tears at the back horn of the meniscus, the cartilage pad between thigh and shin bone, are felt behind the knee.

The AAOS says acute tears often happen in sport from a pivoting or cutting motion, and that a worn meniscus can tear from an awkward twist getting up from a chair. You might feel a pop, most people can still walk, and over 2 to 3 days the knee becomes stiffer and more swollen. Symptoms are pain, stiffness and swelling, catching or locking, giving way, and loss of full range of motion. Only the outer third has a blood supply and can be repaired; inner tears are trimmed. Partial meniscectomy heals in about 3 to 6 weeks; a repair takes 3 to 6 months of rehabilitation.

The PCL stops the shin bone sliding backwards. The AAOS says it is stronger than the ACL and injured far less often, that injury needs a strong force such as a bent knee striking a dashboard or a fall onto a bent knee, and that it is rarely caused by a simple misstep. Symptoms are pain and swelling that build quickly, stiffness, a limp and a feeling the knee may give way. Many partial tears heal with bracing and quadriceps strengthening; full recovery after reconstruction typically needs 6 to 12 months.

When is pain behind the knee a blood vessel emergency?

Pain behind the knee is an emergency when the lower leg is swollen, warm or discoloured, because that is the picture of a deep vein thrombosis. The NHS says DVT causes throbbing pain in one leg, usually the calf or thigh, swelling, and red, blue or darkened skin. Risk factors include recent surgery, bed rest of 3 days or more, journeys over 4 hours, pregnancy, cancer, being over 60 and smoking. A suspected DVT is referred for ultrasound within 24 hours and treated with blood thinners for at least 3 months.

See a doctor the same day if one calf or thigh is swollen, throbbing, warm or discoloured, or if a lump behind the knee pulses. Call 112, India's emergency number, or go to the nearest emergency department at once if leg pain or swelling comes with breathlessness or chest pain; the NHS says these can be signs of a clot in the lungs. Do not drive yourself.

The rarer vascular cause is a popliteal artery aneurysm, a widened artery behind the knee. Cleveland Clinic says it affects about 7 in 100,000 men and 1 in 100,000 women, mostly over 50, and is usually silent until it clots or bursts. A clot causes pain, numbness, coldness, weakness and pale skin; a burst causes pain, swelling and bruising behind the knee. About 15% of people whose aneurysm clots need an amputation, so a pulsing lump is never watched at home. A duplex ultrasound is the first test for both; Indian district hospitals run it in the emergency department.

What can I do at home for pain behind the knee?

For a strain, a sprain or a known Baker's cyst, the NHS self-care formula for the first 2 to 3 days is PRICE. From the NHS sprains and strains and hamstring pages:

  • Protect the leg and stop sport.
  • Rest: avoid weight through the leg at first.
  • Ice: an ice pack or frozen vegetables wrapped in a tea towel for up to 20 minutes every 2 to 3 hours (about 10 minutes at a time for a Baker's cyst).
  • Compression: a snug, not tight, bandage by day, removed at night.
  • Elevation: the leg raised on a pillow.
  • No heat, alcohol or massage for the first 2 to 3 days; they increase swelling.
  • Once pain allows, keep the joint moving.

For pain, the NHS suggests paracetamol, or ibuprofen as gel or tablets; take ibuprofen with food, leave 4 hours between doses, do not use tablets for more than 10 days without a doctor, and avoid it with stomach ulcers or heart, liver or kidney conditions. The NHS says knee pain should start to improve within a few days.

Do not ice, compress or massage a leg that could have a DVT; see a doctor first. And do not keep resting a knee that has settled: the NHS says most sprains and strains improve within 2 weeks and that physiotherapy helps when recovery is slow or the injury recurs. A physiotherapist can set a hamstring and quadriceps programme, which the AAOS calls a key factor in PCL recovery.

When do I need a scan or a specialist?

You need a scan when the knee locks, gives way, cannot bear weight or has not improved after a few weeks, or when a DVT or aneurysm is possible. The NHS knee pain page says to get urgent help if the knee is very painful, you cannot move it or put weight on it, it is badly swollen or misshapen, it locks or gives way, or there is a high temperature with redness and heat around the joint, which can mean infection. See a doctor if pain does not improve within a few weeks.

Which scan depends on the suspected cause:

  • Ultrasound shows a Baker's cyst, a DVT and a popliteal aneurysm; the NHS says a suspected DVT gets ultrasound within 24 hours.
  • MRI shows soft tissue. The AAOS says MRI is the preferred method of diagnosing acute meniscus tears and images the PCL better than X-ray.
  • X-ray does not show a meniscus tear (AAOS) but finds arthritis and, in PCL injury, a bone fragment pulled off by the ligament.

An orthopedic doctor handles the joint causes and decides on an MRI scan; an emergency doctor arranges the ultrasound for a suspected clot. The AAOS notes that imaging can look normal in a PCL injury more than 3 months old, so describe the original injury precisely. In India a government hospital orthopaedic clinic sees knee injuries without a referral. This guide is general information from the sources listed below, not medical advice; a registered doctor makes decisions with you.

FAQs

Why does the back of my knee hurt when I straighten my leg but not when I bend it?

Straightening stretches the hamstrings and calf muscles and squeezes the back of the joint, so a muscle strain, a Baker's cyst or a tear at the back of the meniscus all hurt most in that position. Bending relaxes the muscles. A lump, locking or lower-leg swelling tells you which structure is involved.

Can a Baker's cyst cause pain when straightening the knee?

Yes. The NHS lists knee or leg pain, stiffness, aching and difficulty bending among Baker's cyst symptoms, and the cyst is compressed when the knee is fully straight or fully bent. Symptoms may be worse after walking. The cyst usually settles when the arthritis or injury that caused it is treated.

How do I know if pain behind my knee is a blood clot?

The NHS describes DVT as throbbing pain in one calf or thigh, swelling, and red, blue or darkened skin, often without any injury. A strain usually follows a specific movement during sport and bruises. Cleveland Clinic says up to 10% of people with calf-strain symptoms have a DVT, so get a same-day assessment and an ultrasound if the calf is swollen and warm.

Should I use ice or heat for pain behind the knee?

Ice for the first 2 to 3 days: the NHS advises an ice pack wrapped in a tea towel for up to 20 minutes every 2 to 3 hours and says to avoid heat, alcohol and massage in that period because they increase swelling. Do not ice a leg that could have a DVT until a doctor has checked it.

How long does a hamstring strain behind the knee take to heal?

The NHS says mild hamstring injuries usually improve within a few days and severe ones take weeks or months; most sprains and strains improve within 2 weeks. It advises avoiding strenuous exercise such as running for up to 8 weeks to reduce re-injury, and physiotherapy if healing is slower than expected.

Do I need an MRI for pain at the back of the knee?

Not at first for a simple strain or a cyst, which an examination and ultrasound can confirm. The AAOS says MRI is the preferred test for an acute meniscus tear and for the PCL, so an orthopaedic doctor orders it when the knee locks, gives way or stays swollen after a twisting or impact injury.

Can walking make a Baker's cyst worse?

Walking can aggravate it; the NHS says Baker's cyst symptoms may be worse after walking and advises resting the knee and raising the leg during flare-ups. Gentle movement once pain allows prevents stiffness. A cyst that suddenly becomes much more painful or swollen may have ruptured and needs urgent assessment.

Sources

  1. NHS: Baker's cyst, Symptoms, causes (injury, osteoarthritis, rheumatoid arthritis, gout), age 35 to 70, self-care with ice 10 minutes at a time, treatment options, months to years to settle, rupture and DVT warning signs. (accessed 21 October 2026)
  2. Cleveland Clinic: Baker Cyst (Popliteal Cyst), Mechanism of fluid draining out of the back of the joint, symptoms including swelling into thigh or calf, rupture symptoms resembling a blood clot, imaging by X-ray, ultrasound and MRI, most cysts resolve within a few weeks. (accessed 21 October 2026)
  3. NHS: Deep vein thrombosis (DVT), Symptoms of throbbing pain, swelling and skin colour change in one leg, risk factors, hospital referral within 24 hours for ultrasound, blood thinners for at least 3 months, emergency signs of pulmonary embolism. (accessed 21 October 2026)
  4. NHS: Hamstring injury, Sharp pain at the back of the leg, pop in severe cases, bruising after a few hours, PRICE with ice 20 minutes every 2 to 3 hours, no heat, massage or alcohol for 3 days, recovery from days to months, when to seek urgent advice. (accessed 21 October 2026)
  5. Cleveland Clinic: Calf Strain (Pulled Calf Muscle), Symptoms including difficulty bending the knee and standing on toes, risk factors, up to 10% of calf-pull presentations are DVT, ultrasound and MRI, ice 20 minutes every two hours, weeks to months recovery. (accessed 21 October 2026)
  6. AAOS OrthoInfo: Posterior Cruciate Ligament Injuries, PCL function, injury needs a strong force and is rarely a simple misstep, symptoms, exam and imaging, bracing and quadriceps strengthening, imaging may look normal after 3 months, 6 to 12 months full recovery after reconstruction. (accessed 21 October 2026)
  7. AAOS OrthoInfo: Meniscus Tears, Causes, pop at injury, stiffness and swelling over 2 to 3 days, catching and locking, McMurray test, MRI preferred, X-ray cannot show a tear, red and white zones, ice 20 minutes at a time, 3 to 6 weeks after partial meniscectomy and 3 to 6 months after repair. (accessed 21 October 2026)
  8. NHS: Knee pain, Self-care, ice up to 20 minutes every 2 to 3 hours, causes by symptom table, see a GP if not improving within a few weeks, urgent signs including locking, giving way, inability to bear weight and infection. (accessed 21 October 2026)
  9. NHS: Sprains and strains, PRICE for the first 2 to 3 days, most improve within 2 weeks, avoid strenuous exercise for up to 8 weeks, physiotherapy if slow, urgent and emergency signs. (accessed 21 October 2026)
  10. Cleveland Clinic: Popliteal Aneurysm, Usually no symptoms, pulsating artery on exam, clot and rupture symptoms, 7 in 100,000 men and 1 in 100,000 women, 15% amputation after clotting, looks similar to DVT and Baker's cyst, duplex ultrasound and CT angiography, repair above 2 cm. (accessed 21 October 2026)
  11. NHS: Ibuprofen for adults, Take with food, 4 hours between doses, not more than 10 days without a doctor, cautions for stomach ulcers and heart, liver or kidney conditions. (accessed 21 October 2026)

Rules and prices change. Each figure above names the page it was read from and the date. Confirm with the hospital or the scheme authority before relying on it. Directory figures as of 23 October 2026. See how HealthFinder builds its pages. This guide is information, not medical advice.

Compare hospitals and doctors in your city, with scheme status and prices on every listing.

Browse the directory