Swollen and painful toes with pus are mainly considered to be related to pathological factors such as onychomycosis, trauma and diabetes mellitus. 1. Inguinitis: Inguinitis, especially when accompanied by ingrown nails, the toenail piercing into the nail bed or surrounding nail tissue can cause local inflammation, resulting in periungual abscess, manifested as swollen and painful toes, pus, odor and other symptoms. 2. Trauma: such as toes are squeezed, collision and other local soft tissue contusion, can cause local capillary rupture, as well as subcutaneous tissue osmotic pressure changes, resulting in swelling and pain, increased skin temperature, redness of the skin symptoms, if not treated in time, the wound is infected, pus can flow out. 3. Diabetes mellitus: diabetes mellitus patients’ blood sugar is at a high level for a long time, and the blood viscosity can affect the blood flow, which can cause vascular occlusion, neurosensory disorders and other symptoms, which are commonly found at the end of the limbs, and can cause the toes or even the whole foot to have swelling and pain, ulceration, and pus, and other symptoms. We can’t rule out other causes of the above symptoms, so if there are symptoms of swelling and pain with pus in the toes, it is recommended to consult a doctor in time to find out the cause of the targeted treatment, so as to avoid delaying the condition.