Muscle groupLower leg

Anterior compartment of the leg

The anterior compartment of the leg is the front part of your lower leg, beside your tibia, or shin bone. It holds four muscles: the tibialis anterior, the extensor hallucis longus, the extensor digitorum longus and the fibularis tertius. Together they lift the front of your foot and straighten your toes. One nerve supplies all four, the deep fibular nerve.

Key facts

Starts from
The tibia, the front of the fibula, the interosseous membrane between them and the deep fascia over them
Attaches to
The medial cuneiform, the bases of the first and fifth metatarsals, and the phalanges of all five toes
Does
Lift the front of the foot and straighten the toes. The tibialis anterior helps turn the sole inward, and the fibularis tertius helps turn it outward
Nerve
Deep fibular nerve (L4, L5 and S1)
Blood supply
Anterior tibial artery

What is the anterior compartment of the leg?

In anatomy, your leg is the part of your lower limb between your knee and your ankle. Its muscles lie in three compartments, which a layer of tissue called the deep fascia wraps and divides. One is at the front, one on the outer side and one at the back. The anterior compartment is the one at the front. It is also called the extensor compartment of the leg.

The compartment lies in front of the interosseous membrane. This is a sheet of dense tissue that joins your tibia to your fibula, the thin bone on the outer side of your leg. The compartment's muscles and their tendons cover the outer surface of the tibia. On the outer side, a sheet of fascia called the anterior intermuscular septum separates them from the fibularis muscles of the lateral compartment. The deep fascia covers the front.

Which muscles are in the anterior compartment?

The tibialis anterior is a long, thick muscle on the outer surface of the tibia. It is fleshy at the top and turns into a tendon in the lower third of the leg.

The extensor digitorum longus lies on the outer side of the tibialis anterior, along the front of the fibula. Its tendon splits into four, one for each of your four smaller toes.

Between these two is the extensor hallucis longus, a thin muscle that lies deep under the tibialis anterior. Its tendon runs to your big toe.

The fibularis tertius is a small muscle that starts low on the front of the fibula. It lies beside the extensor digitorum longus and is sometimes fused with it. Some people don't have one.

What do the anterior compartment muscles do?

All four muscles lift the front of your foot, so that the top of your foot moves towards the front of your leg. This movement at the ankle joint is called dorsiflexion. The opposite movement, pointing your foot down, is called plantar flexion. The gastrocnemius and soleus, the calf muscles at the back of your leg, make that movement and work against the tibialis anterior.

The tibialis anterior and the fibularis tertius lift the foot at the ankle directly. The other two muscles work on your toes first. They straighten the toes, and if they keep pulling, they lift the front of your foot too. The extensor hallucis longus straightens the big toe. The extensor digitorum longus straightens each of the four smaller toes.

Two of the muscles also turn the sole of your foot. The tibialis anterior works with the tibialis posterior, a deep muscle at the back of the leg, to turn your sole inward. This is called inversion. The fibularis tertius works with the fibularis longus and the fibularis brevis to turn your sole outward, a movement called eversion. Both movements happen at the joints between the tarsal bones, not at the ankle joint. They help keep your foot steady when you walk or run on uneven ground.

When you stand, the four muscles also work the other way round, with your foot as their fixed end. They hold the bones of your leg upright and make your ankle joint stronger.

The tibialis anterior takes part in a withdrawal reflex too. This is a fast movement handled by your spinal cord, like pulling your hand away from a hot stove. If you step on something sharp, such as a tack, the reflex makes the tibialis anterior lift the front of your foot. At the same time, the reflex stops the calf muscles from pressing your foot down onto the tack.

What is the nerve and blood supply of the anterior compartment?

The deep fibular nerve, also called the deep peroneal nerve, supplies all four muscles. Its fibres for these muscles come from the fourth and fifth lumbar nerves and the first sacral nerve (L4, L5 and S1). Spinal nerves are numbered from the top of your spine down, with the lumbar nerves of your lower back (L) above the sacral nerves (S).

The deep fibular nerve is a branch of the common fibular nerve, which divides beside the neck of the fibula, just below the knee. The deep branch runs down the front of the leg with the anterior tibial artery, and it also sends a branch to the ankle joint.

The anterior tibial artery brings blood to the compartment. It branches off the popliteal artery, the artery behind your knee. It then reaches the front of the leg through a gap above the top of the interosseous membrane. There it runs down between the muscles, and its muscular branches feed the muscles on either side of it. Two veins, the anterior tibial veins, run beside the artery, one on each side. At the ankle the artery becomes the dorsalis pedis artery of the top of your foot.

What holds the tendons in place at the ankle?

Two thick bands of tissue hold the four tendons in place at the front of the ankle when you lift your foot. They are the superior and inferior extensor retinacula. The superior extensor retinaculum crosses the front of the lower leg, from the lower end of the fibula to the tibia. The anterior tibial vessels and the deep fibular nerve pass under it with the tendons.

The inferior extensor retinaculum is a Y-shaped band in front of the ankle joint. Its stem is fixed to the calcaneus, your heel bone, on the outer side of the foot. One limb of the Y runs up to the medial malleolus, the bony bump on the inner side of your ankle. The other runs down and inward towards the sole.

Where can you see and feel the muscles beside your shin bone?

The front edge and the inner surface of your shin bone lie just under the skin. You can feel them easily. Beside this front edge, on the outer side of the bone, the tibialis anterior makes a spindle-shaped bulge that stands out beyond the edge. You can follow its tendon down the front of the tibia, over the ankle and along the inner side of your foot.

On the top of your foot, the tendons spread out as they come out from under the bands at the ankle. The innermost and largest is the tendon of the tibialis anterior. Next comes the tendon of the extensor hallucis longus, then the four tendons of the extensor digitorum longus. The tendon of the fibularis tertius is last. You can feel the ankle joint on either side of these tendons.

What are the origins and insertions of the anterior compartment muscles?

A muscle's origin is the end attached to the bone that stays still. Its insertion is the end attached to the bone it moves.

Muscle Starts from Ends on What it does
Tibialis anterior The lateral condyle (the outer side of the tibia's wide upper end), the upper two-thirds of the tibia's outer surface and the interosseous membrane The medial cuneiform (a tarsal bone on the inner side of the foot) and the base of the first metatarsal (the long bone behind the big toe) Lifts the front of the foot and helps turn the sole inward
Extensor hallucis longus The middle part of the front of the fibula and the interosseous membrane The base of the distal phalanx (the end bone) of the big toe Straightens the big toe and helps lift the front of the foot
Extensor digitorum longus The lateral condyle of the tibia, the upper three-quarters of the front of the fibula and the interosseous membrane The middle and distal phalanges (the middle and end bones) of the four smaller toes Straightens the four smaller toes and helps lift the front of the foot
Fibularis tertius The lower third of the front of the fibula and the interosseous membrane The base of the fifth metatarsal (the long bone behind the little toe) Lifts the front of the foot and helps turn the sole outward

Every fact on this page is checked against the sources below. Last checked:

Test yourself

Which nerve supplies the muscles of the anterior compartment of the leg?

Sources