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
Pectineus muscle Pectineus muscle The pectineus muscle (, from the Latin word "pecten", meaning comb) is a flat, quadrangular muscle, situated at the anterior (front) part of the upper and medial (inner) aspect of the thigh. The pectineus muscle is the most anterior adductor of the hip. The muscle does adduct and medially rotate the thigh but its primary function is hip flexion. It can be classified in the medial compartment of thigh (when the function is emphasized) or the anterior compartment of thigh (when the nerve is emphasized). The pectineus muscle arises from the pectineal line of the pubis and to