Hamstring pain in the leg and elbow can be associated with bacterial infections, soft tissue injuries, and lumbar spinal stenosis. 1. Bacterial infection: the medical term for leg and elbow is popliteal fossa, when popliteal fossa has bacterial or other infections, it can lead to inflammatory exudation, which can stimulate the surrounding tissues, and symptoms such as hamstring pain can occur. 2. Soft tissue injury: Strenuous exercise, long-term exertion, etc. leads to injury to the muscles, ligaments and other soft tissues around the popliteal fossa, causing the patient to experience symptoms of hamstring pain. 3. Lumbar spinal stenosis: when there is hyperplasia in the spinal canal of the patient, it can lead to nerve compression, and when it involves the lower limbs, it can make the patient suffer from popliteal tendon pain. Hamstring pain can have a variety of reasons, it is recommended to go to the hospital in a timely manner to improve the auxiliary examination, to clarify the cause of the cause of treatment.