Leg muscles move the hip, knee, ankle and toes while helping the body maintain balance. In everyday language, “leg” often means the whole lower limb; anatomically, the leg is the region between the knee and ankle. This guide covers both the thigh and lower leg to make the major muscle groups easier to understand.
Thigh muscles: the front, back and inner side
The anterior thigh contains the quadriceps femoris: rectus femoris, vastus lateralis, vastus medialis and vastus intermedius. Together they extend the knee; rectus femoris also assists hip flexion because it crosses both joints. The sartorius runs across the front of the thigh and contributes to movements at the hip and knee.
At the back of the thigh, the hamstrings include semitendinosus, semimembranosus and biceps femoris. They flex the knee, and most also extend the hip. The short head of biceps femoris is an exception: it does not cross the hip. The medial thigh contains the adductor group, which primarily brings the thigh toward the body's midline, with individual muscles contributing to other hip movements.
Lower leg compartments
Muscles below the knee are grouped into anterior, lateral and posterior compartments. Tibialis anterior helps lift the foot at the ankle and invert it. The toe extensors also contribute to lifting the foot. In the lateral compartment, fibularis longus and brevis help turn the sole outward and assist plantarflexion.
The posterior compartment includes the gastrocnemius and soleus, prominent calf muscles that plantarflex the ankle. Gastrocnemius also crosses and helps flex the knee. Deeper muscles include tibialis posterior and long toe flexors, which support foot movements and the arch. Their tendons pass behind the ankle toward the foot.
How the groups work together
During walking, muscle activity changes throughout the step. The quadriceps help control the knee as weight is accepted; calf muscles contribute to forward progression later in the stance phase; and dorsiflexors help clear the toes as the limb swings forward. No single muscle works alone, and the precise pattern changes with speed and terrain.
Nerves and blood supply
The femoral nerve supplies the quadriceps, while the obturator nerve supplies many medial thigh muscles. Most hamstrings receive branches of the sciatic nerve. Below the knee, branches of the tibial and common fibular nerves supply different compartments. Major arteries descend from the femoral and popliteal vessels and divide to supply the lower leg and foot.
Study the muscles visually
Start by identifying the bone landmarks, then trace each muscle across the joints it crosses. Relate its location to its main action before learning individual attachments and innervation. Compare the Lower Leg Muscles poster with the Human Muscular Anatomy bundle, and continue with our knee anatomy guide.
Persistent pain, weakness or numbness deserves assessment by a qualified healthcare professional. Anatomy diagrams are educational and cannot diagnose an individual condition.
