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
External obturator muscle obturator membrane; the anterior branch of the obturator nerve reaches the thigh by passing in front of the muscle, and the posterior branch by piercing it. nononon In 33% of people a supernumerary muscle is found between the adductor brevis and minimus. While this muscle, when present, is similar to its neighbouring adductors, it is formed by separation from the superficial layer of the external obturator, and is thus not ontogenetically related to the adductor muscles of the hip. This muscle originates from the upper part of the inferior pubic ramus from where it runs downwards and laterally. In half