Sore legs after swimming, in most cases is due to excessive muscle movement for anaerobic consumption, caused by the accumulation of lactic acid in the leg muscles, but also may be caused by muscle damage caused by long-term swimming, low water temperature caused by leg blood vessel contraction, spasms lead to leg soreness. Rest and relief, physical therapy, medication, etc. can be carried out. 1. Rest and relief: Due to the accumulation of lactic acid or muscle damage caused by excessive exercise, you should rest more and drink more hot water to accelerate lactic acid metabolism, and generally leg pain will be relieved on its own. 2. Physical therapy: you can take a hot bath, use hot towels to compress your legs, and you can also have acupuncture, massage, and physical therapy to relieve the pain. 3. Medication: If the above methods don’t work or the soreness is severe, medication should be used, such as ibuprofen, etc. It is recommended to avoid overdoing it during the process. It is recommended to avoid excessive swimming and strenuous exercise in this process, and if the pain is not relieved for a long time, you should consult a doctor promptly. The above medications are recommended to be used under the guidance of a doctor.