Sore legs when walking may be caused by lumbar spinal stenosis. Lumbar spinal stenosis is mainly caused by degenerative lesions of the lumbar spine or lumbar disc herniation, which can cause soreness and pain in the legs of patients when walking. If the patient’s daily life is seriously affected, it is recommended that surgery be performed in a timely manner to effectively relieve the soreness of walking legs. It is also possible that strain on the leg muscles may cause soreness in the legs when walking. It is recommended that patients pay attention to rest and apply heat to the sore areas to effectively improve this soreness.