The deep fibular nerve passes anteromedially through the intermuscular septum that separates the lateral from the anterior compartments of the leg and then passes deep to the extensor digitorum longus. It reaches the anterior interosseous membrane where it meets and descends with the anterior tibial artery.