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
Posterior compartment of thigh Posterior compartment of thigh The posterior compartment of the thigh is one of the fascial compartments that contains the knee flexors and hip extensors known as the hamstring muscles, as well as vascular and nervous elements, particularly the sciatic nerve. The posterior compartment is a fascial compartment bounded by fascia. It is separated from the anterior compartment by two folds of deep fascia, known as the medial intermuscular septum and the lateral intermuscular septum. The muscles of the posterior compartment of the thigh are the: These muscles (or their tendons) apart from the short head of the biceps femoris, are