A pulled hamstring happens when one or more of the three muscles at the back of your thigh get stretched too far or tear. It is one of the most common sports injuries, especially in activities that involve sprinting, jumping, or sudden stops. Most mild cases heal on their own within a few weeks, but recovery time depends heavily on how severe the tear is and whether you return to activity too soon.
What Does It Mean to Pull a Hamstring?
The hamstring is not one muscle. It is a group of three muscles that run down the back of your thigh: the biceps femoris, the semitendinosus, and the semimembranosus. They start at the bottom of your pelvis and attach to the bones of your lower leg. Their job is to bend your knee and extend your hip backward.
A “pull” is a stretch injury. The muscle fibers get overstretched and some of them tear. Doctors call this a strain. It can range from a few damaged fibers to a complete tear of the muscle.
Hamstring strains are graded by how much damage has occurred:
- Grade 1 (mild): A few fibers are stretched or slightly torn. You feel tightness and mild pain but can usually still walk.
- Grade 2 (moderate): A partial tear. Pain is sharper, and you may have some swelling and weakness.
- Grade 3 (severe): A complete tear. You may hear or feel a pop, and walking becomes very difficult.
Most hamstring injuries seen in clinics and emergency rooms are grade 1 or grade 2. Grade 3 tears are less common and sometimes require surgery, though this is not always the case.
How Do You Pull a Hamstring? The Causes
Hamstring strains happen when the muscle is forced to work hard while it is lengthening. This is called an eccentric contraction. It occurs most often during the final phase of a sprint stride, when your leg is reaching forward and the hamstring is trying to slow things down.
Several situations create this kind of demand:
- Sprinting at full speed
- Sudden stop-and-go movements, like in soccer or basketball
- Jumping and landing
- Quick direction changes
- Sliding or lunging unexpectedly
Certain factors raise the risk. A previous hamstring injury is one of the strongest predictors of a future one. Muscle fatigue also matters, since tired muscles cannot absorb force as well. Poor flexibility and weak gluteal muscles may add to the load on the hamstring. Age plays a role too, as these injuries are more common in people who play high-speed sports in their 20s and 30s, though they can happen at any age.
One thing that often gets overlooked: most hamstring injuries do not happen because the muscle is too tight. They happen because it is being asked to produce or absorb more force than it can handle. This is why stretching alone rarely prevents them.
What Are the Symptoms of a Pulled Hamstring?
The most common symptom is a sudden sharp pain at the back of the thigh. Many people describe it as a pull, grab, or snap. You may not be able to keep running or continue the activity.
Other signs include:
- Tenderness when you press on the back of the thigh
- Bruising that appears a day or two after the injury
- Swelling in the area
- Weakness when bending the knee
- Pain when you sit for long periods or stretch the leg
Bruising can show up lower down the leg than where the injury happened. This is normal, because blood from the torn muscle travels down under the skin. It does not mean the injury is worse than it seemed.
If you feel a distinct pop and cannot put weight on the leg, that suggests a more serious tear. In that case, see a doctor.
How Long Does a Pulled Hamstring Take to Heal?
Recovery time depends on the grade of the injury. For a mild grade 1 strain, many people are back to normal daily activities within one to two weeks. A moderate grade 2 strain often takes several weeks to a few months, depending on the size of the tear and how well rehab goes. Grade 3 tears can take longer and sometimes need surgery.
These timelines are general. Individual healing varies. What matters most is not rushing the return to sport. Re-injury rates are high when people go back before the muscle has regained full strength and function.
Some research suggests that the location of the tear matters. Injuries closer to the tendon or near the point where the muscle attaches to bone tend to heal more slowly than tears in the middle of the muscle belly. This is one reason why two people with the same “grade” can have very different recovery experiences.
What Is the Treatment for a Pulled Hamstring?
In the first day or two, the goal is to limit bleeding and swelling. Rest the leg, apply ice for short periods, and avoid activities that cause pain. Some clinicians recommend compression and elevation. Avoid heat, alcohol, and deep massage in the early phase, because these can increase bleeding.
After the first few days, gentle movement becomes important. Complete rest for too long can make the muscle stiff and weak. A physical therapist or doctor can guide you on when to start gentle range-of-motion exercises and when to add strengthening.
Rehabilitation usually focuses on:
- Restoring normal walking and range of motion
- Strengthening the hamstring and gluteal muscles
- Working on eccentric exercises, which load the muscle while it lengthens
- Gradually returning to running and sport-specific movements
Eccentric strengthening has the strongest evidence for reducing the risk of re-injury. This is done under supervision, because doing it too aggressively too soon can make things worse.
Surgery is rarely needed. It is usually considered only for complete tears, especially in athletes who need full power, or when the tendon has pulled away from the bone.
Can You Prevent a Pulled Hamstring?
You cannot prevent every hamstring strain, but you can lower the risk. The most consistent finding in the research is that strengthening the hamstring with eccentric exercises reduces injury rates, especially in team sports.
Other steps that may help:
- Warm up before intense activity
- Build up your training load gradually rather than jumping into high-intensity work
- Keep the surrounding muscles, like the glutes and core, strong
- Address fatigue, since tired muscles are more vulnerable
- Rehab a previous injury fully before returning to sport
Static stretching before activity has not been shown to prevent hamstring injuries. It is fine to stretch if it feels good, but it should not replace strengthening work.
When Should You See a Doctor?
See a doctor if you heard a pop at the time of injury, cannot bear weight on the leg, have severe pain, or notice numbness or tingling. These signs could point to a more serious tear or another problem.
It is also worth getting checked if the pain does not improve after a week or two, or if it keeps coming back. A physical exam can usually identify a hamstring strain. Imaging such as ultrasound or MRI is sometimes used when the diagnosis is unclear or when surgery is being considered.
Do not ignore ongoing pain. Pushing through it often makes recovery longer, not shorter.
Frequently Asked Questions
How do you know if you pulled a hamstring?
You will usually feel a sudden sharp pain or a pulling sensation at the back of your thigh during activity. Tenderness, bruising, and weakness when bending the knee often follow.
Should you stretch a pulled hamstring?
Not in the first few days, because stretching can pull on the torn fibers and slow healing. Gentle stretching may be added later under guidance from a doctor or physical therapist.
How long should you rest a pulled hamstring?
Complete rest is only needed for a short time, usually a day or two. After that, gentle movement helps healing, and a clinician can guide the right pace for your injury.
Can a pulled hamstring heal on its own?
Mild and moderate strains often heal without surgery, but proper rehab matters for full recovery. Severe tears may need medical treatment, and some require surgery.

