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
Thigh bone forming the hip joint, while the distal part of the femur articulates with the tibia and kneecap forming the knee. By most measures the femur is the strongest bone in the body. The femur is also the longest bone in the body. The femur is categorised as a long bone and comprises a diaphysis, the shaft (or body) and two epiphysis or extremities that articulate with adjacent bones in the hip and knee. In cross-section, the thigh is divided up into three separate compartments, divided by fascia, each containing muscles. These compartments use the femur as an axis, and