Knee Flexion and Extension Movements and Muscles Explained

Knee flexion is the bending movement that brings your heel toward your buttock, and knee extension is the straightening movement that returns the leg to a straight position. The hamstrings on the back of the thigh are the primary flexors, while the quadriceps on the front are the primary extensors. That much is straightforward, but the full picture involves more muscles than most people realize, a kneecap that does something cleverer than simply protecting the joint, and a subtle twist of the shinbone that locks and unlocks the knee with every step you take.

The Quadriceps and Knee Extension

The quadriceps group has four heads: the vastus lateralis on the outer thigh, the vastus medialis on the inner thigh, the vastus intermedius deep underneath, and the rectus femoris running down the middle. All four converge into the quadriceps tendon, which wraps around the kneecap and continues as the patellar tendon attaching to the top of the shinbone. When the group contracts, it pulls the shin forward into extension.

Not all four heads contribute equally, and one that gets surprisingly little attention turns out to matter most. Research using electromyography during isokinetic knee extensions found that the vastus intermedius was significantly more active than the other heads across multiple speeds and ranges of motion, both while straightening and while controlling the bending motion on the way back down.

Ultrasound-based work supports this finding from a different angle. When researchers measured muscle thickness and fiber architecture across all four quadriceps heads, the vastus intermedius alone explained about two-thirds of the variation in knee extension force, and adding its pennation angle pushed that figure above 90 percent.

The rectus femoris is the oddball of the group. It crosses both the hip and the knee, which means hip position changes how much force it can produce at the knee. When you sit upright, the rectus femoris is relatively shortened at the hip; when you lie flat, it is stretched. You might expect a longer muscle to produce more force, but studies show people actually generate higher knee extension torque while seated. The explanation is not that the muscle is weaker when stretched, but that the nervous system reduces its voluntary activation in that lengthened position.

What the Kneecap Actually Does

Most anatomy descriptions say the patella acts as a spacer that increases the quadriceps’ leverage by pushing the patellar tendon farther from the joint’s center of rotation. The traditional view also holds that this leverage changes as the knee bends, peaking somewhere between 30 and 60 degrees of flexion and dropping off beyond that. A biomechanical modeling study challenged this picture. Using a segment-based analysis rather than the conventional joint-based approach, the researchers found that the patella’s real contribution is to keep the quadriceps’ effective leverage roughly constant throughout the range of motion. Rather than simply increasing the moment arm, it balances the way quadriceps tension affects the shinbone and thighbone differently, so the overall extension effect stays steady as the knee bends and straightens.

That constancy matters for everyday function. If quadriceps leverage plummeted at deep flexion angles the way the older model predicted, activities like rising from a deep squat would require dramatically more muscle force than they actually do. The patella smooths out that demand.

The Hamstrings and Knee Flexion

Three muscles make up the hamstrings: the biceps femoris (which has a long head and a short head), the semitendinosus, and the semimembranosus. All three cross the back of the knee and pull the shin backward into flexion. Like the rectus femoris on the front, the long head of the biceps femoris and the other two hamstrings also cross the hip, meaning they extend the hip as well as flex the knee. The short head of the biceps femoris is the exception; it acts only at the knee.

During dedicated knee flexion exercises, all three hamstrings are more active than during hip extension movements, and the semitendinosus tends to be the most heavily recruited of the group.

The individual hamstring heads behave quite differently across the range of motion. During fast eccentric (lengthening) contractions, the biceps femoris loses activation as the knee approaches full extension, while the semitendinosus and semimembranosus maintain more consistent activity throughout the range.

Isometric and isokinetic testing paints a similar picture. The semitendinosus and semimembranosus show lower electrical activity at 60 degrees of knee flexion compared with 90 degrees during isometric efforts. The long head of the biceps femoris, by contrast, peaks at shallower angles between about 15 and 30 degrees and drops off as the knee bends deeper.

Muscles You Might Not Expect

The gastrocnemius, the larger of the two calf muscles, crosses the back of the knee. Most people think of it as a plantarflexor (the muscle that points your toes), but it also contributes to knee flexion. Its flexion moment is greatest when the knee is straight and diminishes as the knee bends. Both ankle and knee angle influence how much it can contribute, so the position of your foot matters for how much help the calf provides in bending the knee.

The popliteus is a small, flat muscle tucked behind the knee. Its most distinctive job is “unlocking” the knee at the start of flexion. When you stand with your knee fully extended, the joint is in a locked position (more on that below). The popliteus internally rotates the shinbone just enough to disengage that lock so flexion can begin. Beyond that initial role, it acts as a dynamic guidance system, monitoring and controlling small rotational and side-to-side movements during activities like single-leg balance.

The Screw-Home Mechanism

The knee is not a pure hinge. As it approaches full extension, the shinbone rotates outward relative to the thighbone in a movement called the screw-home mechanism. This rotation tightens the ligaments and wedges the joint surfaces together, effectively locking the knee so you can stand with minimal muscular effort. When you initiate flexion, the popliteus reverses the rotation, and the joint unlocks.

Three-dimensional gait analysis puts numbers on this. During normal walking, the screw-home rotation during late swing and pre-swing phases is about 17 degrees. Cadaver studies measuring passive motion report roughly 15 to 16 degrees of internal tibial rotation as the knee moves from full extension to 90 degrees of flexion.

There is a wrinkle, though. During the loading response phase of walking, when the knee first starts to bend after your foot hits the ground, the tibia actually rotates externally by about 6 degrees, the opposite of what the classic screw-home model predicts. Researchers call this paradoxical screw-home movement. It seems to occur because the loading conditions of weight-bearing walking create forces that briefly override the passive rotation pattern. Measuring the screw-home motion accurately is also tricky: small errors in sensor alignment can introduce large artifacts in the rotation data, so older studies that relied on simpler measurement techniques may have reported values that were partly noise.

How Ligaments Guide Flexion and Extension

The anterior cruciate ligament (ACL) and posterior cruciate ligament (PCL) are the two crossed ligaments inside the knee, and they divide the work of stabilization by flexion angle. A finite element study found that ACL stress is highest from full extension through about 30 degrees of flexion, then decreases significantly between 30 and 90 degrees. Strain follows a similar but slightly different pattern: it peaks around 30 degrees before falling off.

In-vitro tension measurements using cadaver knees tell a complementary story. When the shinbone is pulled forward (anterior translation), the ACL bears almost all of the resisting tension in the 40- to 90-degree range, with the other ligaments contributing little. At 40 degrees of flexion, the ACL carries the load mainly in internal rotation; by 90 degrees, the PCL takes over during both internal and external rotation.

This division of labor is why ACL injuries so often happen near full extension, for example during sudden deceleration or landing with a relatively straight leg. The ligament is under the most strain in that zone, so any added force from a twist or valgus collapse can push it past its failure point.

Joint Stress at Different Angles

Patellofemoral joint stress, the compressive load between the kneecap and the groove on the front of the thighbone, increases with deeper knee flexion. During squatting, both the knee extensor moment and the patellofemoral reaction force climb as the knee bends further, peaking at about 90 degrees. This holds true whether you squat with added weight or with bodyweight alone.

For people with patellofemoral pain or cartilage issues, this is practical information. Exercises performed in a shallow range of motion (say, 0 to 45 degrees of flexion) keep kneecap stress relatively low. Deeper squats are not inherently harmful for healthy knees, but they demand considerably more from the joint surface and should be loaded thoughtfully if you have anterior knee pain.

Research on women with knee osteoarthritis adds nuance. Those who generated higher vastus medialis and vastus lateralis force during a light knee extension task had thicker cartilage and less pain, while those who relied more heavily on the rectus femoris had thinner cartilage. The implication is that balanced activation of the inner and outer quadriceps heads may help distribute load more evenly across the joint surface.

Open Chain Versus Closed Chain Exercises

In rehabilitation settings, you will hear the terms “open kinetic chain” and “closed kinetic chain.” An open chain exercise is one where your foot moves freely, like a seated leg extension machine. A closed chain exercise is one where your foot is fixed on the ground, like a squat or leg press.

The distinction matters because of what happens to shear forces inside the knee. During open chain knee extension, the highest posterior shear force (the force that resists forward sliding of the shinbone) reached about 285 newtons at 30 degrees of flexion, precisely the angle zone where the ACL is most stressed. During closed chain squatting, posterior shear forces were significantly lower at every angle tested. At the same time, closed chain movements generated higher compressive forces and more muscular co-contraction, where the hamstrings and quadriceps fire simultaneously to stabilize the joint.

This is why early ACL rehabilitation protocols typically emphasize closed chain exercises. The co-contraction of opposing muscle groups during squats and leg presses effectively shields the healing ligament from the shear forces that an open chain extension would impose, especially in that vulnerable 20- to 40-degree zone.

The Hamstring-to-Quadriceps Ratio

Clinicians often measure the ratio of hamstring strength to quadriceps strength as a way to assess muscle balance around the knee. The traditional version divides peak concentric hamstring torque by peak concentric quadriceps torque. More functional versions compare eccentric hamstring strength to concentric quadriceps strength, which better represents what happens during real-world activities like sprinting, where the hamstrings are lengthening while the quadriceps are shortening.

In healthy people, a higher hamstring-to-quadriceps ratio correlates with better dynamic balance scores. But this relationship breaks down in people with chronic ACL tears. In a study comparing the two groups, the ratio correlated with dynamic balance measures in the control group but showed no significant correlation in the ACL-deficient group. Neither raw quadriceps nor hamstring peak torque alone predicted balance in either group. The takeaway is that a normal-looking strength ratio does not guarantee functional stability when structural damage is present. Rehabilitation after ACL injury needs to address neuromuscular control, not just raw strength numbers.

Sex Differences in How the Knee Muscles Work

Men and women tend to use slightly different muscle recruitment strategies during dynamic tasks like landing from a jump. During bilateral landings, men show greater recruitment of the gluteal muscles and hamstrings, while women show greater quadriceps reliance. Separate research confirmed that men produce higher peak ground reaction forces and greater stiffness during landing, along with higher tibialis anterior and rectus femoris electrical activity.

These differences matter because a quadriceps-dominant landing strategy, without proportional hamstring and gluteal engagement, places more anterior shear load on the ACL. This recruitment pattern is one of the factors behind the well-documented higher rate of non-contact ACL injuries in women. Neuromuscular training programs that teach athletes to land with more hip and hamstring engagement have been shown to reduce this discrepancy, though the biomechanical tendency persists if training is not maintained.

Sensory Feedback From the Ligaments Themselves

The knee’s ligaments are not passive cables. They contain different types of sensory nerve endings that send information to the central nervous system about the position and movement of the joint. The cruciate and collateral ligaments house mechanoreceptors that respond to stretching, even at moderate loads well below the pain threshold.

What makes this system powerful is where the signals go. Rather than directly influencing the main motor neurons that contract your muscles, these ligament receptors primarily target the fusimotor neurons that control the sensitivity of muscle spindles, the stretch sensors embedded within the muscles themselves. By tuning spindle sensitivity, the ligament receptors help regulate the stiffness of the muscles surrounding the knee. Stretching a cruciate ligament can induce major changes in how the muscle spindles in the quadriceps and hamstrings respond, effectively preparing those muscles to brace the joint before a potentially harmful movement is completed.

This explains why people with ACL injuries often report a feeling of the knee “giving way” even after the swelling and pain have subsided. The loss of the ligament means the loss of a sensory channel that once helped the surrounding muscles anticipate and counteract destabilizing forces. Reconstruction restores mechanical restraint, but the sensory network takes much longer to recover, if it fully recovers at all.

Walking and Co-Contraction

During normal walking, the quadriceps and hamstrings do not take tidy turns. In people with healthy knees, both muscle groups fire simultaneously during portions of the gait cycle, particularly in mid-stance and late stance. This co-contraction stiffens the joint and helps absorb the ground reaction forces that pass through the knee with each step.

In people with knee osteoarthritis, hamstring activity during these same gait phases is elevated compared to the quadriceps, suggesting the body compensates for joint instability or pain by increasing co-contraction on the flexor side. Walking-specific co-activation also appears to be partly learned or context-dependent. Research comparing muscle coordination during actual walking versus isolated leg-swinging found higher time-linked co-activation of the quadriceps and hamstrings during walking, specifically during mid- and terminal-swing phases, suggesting the nervous system layers on additional co-contraction as a stability strategy when the foot is about to contact the ground.

Why Humans Pay a Price for an Upright Knee

Bipedal walking required the human knee to become something unusual among mammals. The joint needed to achieve full extension for efficient striding, deep flexion for squatting and climbing, and rotation for turning and pivoting. Meeting all three demands at once forced evolutionary compromises. The patellofemoral joint shifted forward and laterally, the trochlear groove (the channel the kneecap rides in) became shallower, and the cruciate ligaments developed to manage rotational loads that a simpler hinge joint would not face.

These adaptations allowed efficient locomotion but came with tradeoffs. The shallow trochlear groove makes the kneecap more prone to tracking problems. The anteriorized position of the patella increases the leverage demand on the quadriceps during deep flexion. And the cruciate ligaments, evolved to handle moderate rotational loads during walking, can be overwhelmed by the sudden, high-energy twisting forces common in modern sport. Anterior knee pain and patellofemoral instability are, in a real sense, the price of being able to walk upright with a fully extending, rotating knee.