Pain on both sides of the hip after walking for a long time, there are several common causes: the first case, due to long-term walking causes the muscles on both sides of the hip, long-term contraction and movement of the state, resulting in local muscle strain spasm pain. The second condition is seen in common lumbar spine diseases such as spinal stenosis, often due to the spinal nerve roots being squeezed, after long-term walking causes long-term wear and tear of the nerve roots at the squeeze, resulting in nerve compression symptoms. The third condition is seen in bilateral hip diseases, such as synovitis of the hip joint and ischemic changes in the femoral head of the hip joint, which can lead to pain after long-term walking. In this case, you should rest and apply physiotherapy and hot compresses locally, and you can also apply topical ointments to promote blood circulation and eliminate blood stasis, reduce swelling and pain, observe for a period of time, and if the symptoms are relieved, pay attention to the amount of exercise in the future. If the symptoms are not relieved, and this condition recurring to seek medical attention.