I twisted the top of my foot, and it hurts when I walk.

The cause of pain when you walk after twisting the top of the foot may be soft tissue strain, metatarsophalangeal joint dislocation, bone fracture and so on.
1. Soft tissue strains: ligaments, muscles and other soft tissues are strained when the top of the foot is sprained, and walking will stimulate the injured tissues and cause pain.
2. Dislocation of metatarsophalangeal joints: Sprains on the top of the foot may lead to dislocation of the metatarsophalangeal joints, which may cause pain, local deformity and dysfunction.
3. Fracture: walking pain after spraining the top of the foot may also be caused by fracture, walking causes displacement of the broken end of the fracture will cause pain, swelling, deformity and other symptoms.
The top of the foot twisted a walking pain may also have other reasons, if the pain persists or aggravated, it is recommended to go to the hospital in a timely manner, to identify the cause of the targeted treatment.