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 cutaneous nerve of thigh Posterior cutaneous nerve of thigh The posterior cutaneous nerve of the thigh (also called the posterior femoral cutaneous nerve) provides innervation to the skin of the posterior surface of the thigh and leg, as well as to the skin of the perineum. The posterior cutaneous nerve of the thigh is a nerve from the sacral plexus. It arises partly from the dorsal divisions of the first and second, and from the ventral divisions of the second and third sacral nerves, and issues from the pelvis through the greater sciatic foramen below the piriformis muscle. It then descends beneath the gluteus