The lateral plantar nerve enters the sole of the foot by passing deep to the proximal attachment of the abductor hallucis muscle. It continues laterally and anteriorly across the sole between the flexor digitorum brevis and quadratus plantae muscles, supplying branches to both these muscles, and then divides near the head of metatarsal V into deep and superficial branches.