Swelling and pain on the top of the foot may gout, soft tissue infection, soft tissue injury, fracture and other causes, for the cause of the disease to take medication, physical therapy or surgical treatment. 1. Gout: the pain occurs more suddenly, may be accompanied by local redness, swelling, fever, through dietary adjustments, the pain may be relieved, through the test of uric acid can be clearly diagnosed. Oral colchicine or febuxostat can be taken, usually eat less food containing more purines. 2. Soft tissue infection: local soft tissue infection, can appear localized swelling and pain, skin redness, fever, elevated white blood cells. You can apply anti-inflammatory drugs such as erythromycin capsules under the guidance of a doctor, if the local pus surgical incision and drainage. 3. Soft tissue injury: If the foot trauma, local swelling and pain, may be soft tissue injury, early can take ice, external Yunnan Baiyao aerosol, oral Sanqi injury tablets. 4. Fracture: If the top of the foot is swollen and painful after trauma and you can’t walk, it may be a fracture, you need to take a picture to make a clear diagnosis, and according to the severity of the fracture, you can take a plaster fixation or surgical internal fixation. There are many reasons for the swelling and pain on the top of the foot, if the rest does not get better, it is best to go to the hospital for a checkup, after the cause of the disease is clear to carry on the treatment, the drug needs to follow the doctor’s instructions.