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
Medial compartment of thigh different innervation – namely, the femoral nerve.) Medial compartment of thigh The medial compartment of thigh is one of the fascial compartments of the thigh and contains the hip adductor muscles and the gracilis muscle. The obturator nerve is the primary nerve supplying this compartment. The muscles in the compartment are: The obturator externus muscle is sometimes considered part of this group, and sometimes excluded. (Spatially, it is in this location, but functionally, it is more similar to the other lateral rotator group muscles). The pectineus is sometimes included in this group, and sometimes excluded. (It has the same function