The tarsal tunnel refers to the canal-like structure formed between the medial malleolus, or the inner part of the ankle, and the flexor retinaculum, or ligaments that cross the foot. The tarsal tunnel contains parts important to normal function of the foot, such as the tibial blood vessels and nerves, as well as the tendons