A sudden pain or pulling feeling in the back of your thigh may be a hamstring strain, commonly called a pulled hamstring. Some injuries are mild and improve with rest and rehabilitation. Others involve a partial or complete tear and may need medical care.
Knowing where the pain is, how the injury happened and whether you can walk normally can help you decide what to do next.
What is a pulled hamstring?
The hamstrings are a group of muscles along the back of your thigh. They help bend your knee, extend your hip and power movements such as walking, running and jumping.
A pulled hamstring occurs when one or more of these muscles or their tendons are overstretched or torn. The injury may affect:
- The muscle
- The area where the muscle and tendon meet
- A tendon near the pelvis or knee
- The place where a tendon attaches to the bone
Hamstring injuries often happen during sprinting, jumping, kicking or making a sudden change in direction. They can also occur when you return to intense activity too quickly after a period of inactivity.
What does a pulled hamstring feel like?
Symptoms may vary depending on the location and severity of the injury. Common signs include:
- Sudden pain in the back of the thigh
- A pulling, tearing or popping sensation
- Tenderness
- Swelling
- Bruising
- Weakness
- Difficulty walking or running
- Pain when bending the knee or extending the hip
Pain high in the back of the thigh near the buttock or “sit bone” may mean the injury is closer to where the hamstring tendons attach to the pelvis.
How serious is a hamstring strain?
Hamstring strains are often described in three grades.
Grade 1: Mild strain
A grade 1 strain involves a small amount of muscle-fiber damage. You may have:
- Mild pain or tightness
- Little or no swelling
- Minimal loss of strength
- Mild discomfort during activity
You may still be able to walk normally, but you should stop the activity that caused the pain.
Grade 2: Partial tear
A grade 2 injury involves a larger partial tear. Symptoms may include:
- More significant pain
- Swelling or bruising
- Noticeable weakness
- Limping
- Difficulty running or using the leg normally
Grade 3: Complete tear
A grade 3 injury is a complete tear of a muscle or tendon. You may experience:
- Severe pain at the time of injury
- A popping or tearing sensation
- Significant bruising or swelling
- Marked weakness
- Difficulty bearing weight
- Inability to use the leg normally
In some cases, a tendon may pull away from the bone.
Symptoms do not always match a specific grade perfectly. A health care provider may need to examine your leg to determine how serious the injury is.
What should you do immediately after a hamstring injury?
If you think you pulled your hamstring:
- Stop the activity.
- Avoid repeatedly testing or aggressively stretching the leg.
- Apply a wrapped cold pack for short periods if it helps relieve pain.
- Use gentle compression if recommended or comfortable.
- Elevate your leg if swelling is present.
- Walk only as comfortably as possible.
- Seek medical care if you have signs of a serious tear.
Rest, ice, compression and elevation may help ease early symptoms, but they are only the first part of recovery. Restoring strength, movement and function is also important.
Should you stretch a pulled hamstring?
Avoid forceful stretching during the early, painful stage of the injury. Deep stretching may place more stress on damaged tissue and increase discomfort.
Gentle movement may be appropriate as your pain improves, but do not force your leg into a deep hamstring stretch. A gradual rehabilitation plan can help restore motion, strength and running ability.
When should you see a doctor?
Seek prompt medical care if:
- You heard or felt a pop
- Your pain is severe
- You cannot walk normally or bear weight
- You have extensive bruising or swelling
- The pain is high near your buttock
- Your leg feels significantly weak
- You notice a gap, dent or unusual shape in the muscle
- The injury happened during a forceful sprint, kick or fall
- Your symptoms are not beginning to improve
- You have numbness, tingling or pain that travels below your knee
You may also want an evaluation if the injury keeps returning or you cannot gradually resume your normal activities.
Is imaging always needed?
No. Many mild hamstring strains can be diagnosed based on how the injury happened and a physical exam.
Your provider may recommend imaging when:
- A complete tear or tendon injury is suspected
- Your pain is severe or high near the pelvis
- You have extensive bruising or weakness
- A fracture is possible
- Your symptoms are not improving as expected
- The cause of your pain is unclear
Depending on the injury, your provider may recommend an X-ray, ultrasound, MRI or no imaging.
How are hamstring strains treated?
Most mild and moderate hamstring strains improve without surgery.
Treatment may include:
- Temporary activity changes
- Pain management
- Gradual mobility exercises
- Physical therapy
- Progressive strengthening
- Running and movement retraining
- A staged return to exercise or sports
Physical therapy may help you regain flexibility, strength, balance and control while reducing the risk of another injury.
When might surgery be needed?
Surgery may be considered for certain severe injuries, especially when:
- One or more tendons completely detach from the pelvis
- A tendon pulls away significantly from the bone
- There is major weakness or loss of function
- Nonsurgical treatment does not restore function
- The injury affects your ability to meet your work or activity needs
The decision depends on which tendon is injured, the amount of damage, your symptoms, your overall health and your activity goals.
How long does a pulled hamstring take to heal?
Recovery time varies.
Mild hamstring strains may improve within a few weeks. Partial tears often take longer. Complete tears or tendon injuries may require several months of rehabilitation, especially if surgery is needed.
Your recovery may depend on:
- The location and severity of the injury
- Whether you have had a previous hamstring injury
- Your strength and flexibility
- Your activity or sport
- Your progress during rehabilitation
- Whether surgery is required
Recovery should be based on how well your leg functions, not only on how many days or weeks have passed.
When can you return to running or sports?
Your return should be gradual. Having less pain does not always mean your hamstring has regained its full strength.
Before returning to full activity, you should generally be able to:
- Walk without pain or limping
- Move your hip and knee comfortably
- Complete basic strength exercises without symptoms
- Jog and gradually increase speed
- Perform movements required for your sport or activity
- Show strength and control similar to your uninjured leg
Returning too quickly may increase the risk of another hamstring injury.
How can you prevent another hamstring injury?
You may be able to lower your risk by:
- Warming up before faster or more intense activity
- Increasing speed and training volume gradually
- Strengthening your hamstrings through a full range of motion
- Strengthening your hips and glutes
- Building core and lower-body control
- Including appropriately progressed eccentric hamstring exercises
- Allowing recovery time between demanding workouts
- Avoiding sudden maximal sprinting after inactivity
- Completing rehabilitation before returning fully
Stretching alone is not enough to prevent hamstring injuries. Strength, gradual training and recovery are also important.
Could the pain be something other than a hamstring strain?
Pain in the back of the thigh may also be related to:
- Sciatic nerve irritation
- A lower back problem
- Hamstring tendon irritation that developed gradually
- A hip condition
- Another muscle injury
- A blood clot
Seek urgent medical care for unexplained swelling, warmth or discoloration in the leg, especially if you also have chest pain or shortness of breath.
Get help returning to activity safely
If you felt a pop, have significant bruising or weakness or cannot walk normally, a Banner Health sports medicine specialist can evaluate your injury and determine whether you need imaging, physical therapy or another treatment.