Anterior compartment of thigh Anterior compartment of thigh The anterior compartment of thigh contains muscles which extend the knee and flex the hip. The anterior compartment is one of the fascial compartments of the thigh that contains groups of muscles together with their nerves and blood supply. The anterior compartment contains the sartorius muscle (the longest muscle in the body) and the quadriceps femoris group, which consists of the rectus femoris muscle and the three vasti muscles – the vastus lateralis, vastus intermedius, and the vastus medialis. The iliopsoas is sometimes considered a member of the anterior compartment muscles, as is the articularis genus
Biceps femoris muscle head is a weaker hip extender when the knee is flexed. When the knee is semi-flexed, the biceps femoris in consequence of its oblique direction rotates the leg slightly outward. Avulsion of the biceps femoris tendon is common in sports that require explosive bending of the knee as seen in sprinting. Biceps femoris muscle The biceps femoris () is a muscle of the thigh located to the posterior, or back. As its name implies, it has two parts, one of which (the long head) forms part of the hamstrings muscle group. It has two heads of origin: The two muscle