Pain and swelling on the top of the foot near the toes are usually caused by trauma, gouty arthritis, rheumatoid arthritis and other factors, which can be treated with general, medication and surgery as prescribed by the doctor. 1. Trauma: When the surface of the foot is smashed, pressed or other violent trauma, it can cause pain and swelling on the surface of the foot near the toes, and may be accompanied by subcutaneous bruising. It is recommended to stop the activity of the affected limbs, and elevate the affected area, if possible, use ice packs to apply cold compresses, if necessary, oral celecoxib, etoricoxib, etc., to reduce the pain, and if it results in localized fracture, it is also necessary to go to the hospital for surgery. 2. Gouty arthritis: often occurs in the morning, and the day before more than alcohol, high purine food intake history, the patient’s first metatarsophalangeal joints, dorsum of the foot, ankle joints and other parts of the redness, swelling, pain, fever and other symptoms, to be the inflammation subsides, the local skin can be flaky and itching. Alcohol and high-purine foods should be avoided, and the amount of water consumed should be increased. During acute attacks, oral colchicine, indomethacin, prednisone, etc. can also be taken as prescribed by the doctor; after the symptoms are relieved, uric acid-lowering treatments, such as allopurine, febuxostat, benzbromarone, etc., can be applied. If the disease is serious, arthroscopic surgery and other surgical treatments should also be considered. 3. Rheumatoid arthritis: It can also cause pain and swelling on the top of the foot near the toes, and is accompanied by morning stiffness, joint deformity, fatigue and other symptoms. Methotrexate and Liuzasulfapyridine can be used as prescribed by the doctor to control the progress of the disease, and Triamcinolone acetonide and Betamethasone can be used in combination to relieve the discomfort if necessary. If necessary, surgery can be considered. In addition, there are other reasons that can cause pain and swelling on the top of the foot near the toes, and it is recommended that the patient consult a doctor in time to find out the cause of the disease and then actively cooperate with the doctor’s treatment. The use of the above medications should be in accordance with medical advice.