What Does It Mean When Your Hamstring Hurts?

Hamstring pain most often signals a muscle strain, but it can also come from tendon irritation, nerve involvement from the lower back, or inflammation near the knee. Where exactly you feel the pain, when it started, and what makes it worse are the biggest clues to what’s going on.

Your hamstrings are a group of three muscles running down the back of your thigh, connecting your pelvis to the bones just below your knee. They bend your knee, extend your hip, and help control rotation in your lower leg. Because they cross two joints and absorb enormous force during movement, they’re one of the most commonly injured muscle groups in the body.

Muscle Strains: The Most Common Cause

A hamstring strain happens when the muscle fibers tear, usually during a sudden burst of speed or a deep stretch under load. The classic scenario is sprinting: during the last phase of your leg swinging forward, your hamstrings are lengthening while simultaneously contracting to slow the leg down. This combination of stretch and force is what makes them vulnerable. The muscles are at their longest right before your foot hits the ground, which is when the risk of tearing peaks.

Strains are graded by severity:

  • Grade 1 (mild): Microscopic tearing with minor swelling and discomfort. You can still walk and use the leg, though it feels tight or sore. Strength is mostly preserved.
  • Grade 2 (moderate): A partial tear of the muscle. You’ll notice clear weakness, more significant swelling, and pain that limits your ability to run or push off the leg. Bruising often appears within a day or two.
  • Grade 3 (severe): A complete rupture. The muscle loses function entirely. You may hear or feel a pop at the moment of injury, followed by intense pain, rapid bruising, and sometimes a visible lump or gap in the muscle.

With grade 2 and 3 strains, you’ll typically notice a loss of strength when trying to bend your knee or extend your hip. Muscle spasms, stiffness, and tenderness along the back of the thigh are common across all grades.

Pain Near Your Sit Bone

If your hamstring pain is concentrated high up, right where your buttock meets your thigh, the problem may be in the tendon rather than the muscle belly. This area is where the hamstrings attach to the ischial tuberosity, the bony point you sit on. Tendon pain here, called proximal hamstring tendinopathy, develops gradually from repetitive stress rather than a single dramatic injury.

The hallmark symptom is deep, aching pain in the lower buttock that gets worse with running and prolonged sitting. You might shift your weight to the other side when sitting down because direct pressure on that spot is uncomfortable. Stretching the hamstrings or resisting knee bending reproduces the pain right at the sit bone. This condition is common in distance runners and people who do a lot of lunging or deadlifting.

A more serious version of this is an avulsion, where the tendon pulls a piece of bone away from the pelvis. This is an acute injury, usually accompanied by an audible pop, immediate pain with walking, bruising down the back of the thigh, and noticeable weakness bending the knee or lifting the leg. If you heard a pop and can’t bear weight comfortably, that warrants prompt medical evaluation.

Pain Near the Back of Your Knee

Hamstring pain that shows up closer to the knee has a different set of causes. The hamstring tendons fan out and attach on both the inner and outer sides of the knee, so problems here can feel medial (inside) or lateral (outside).

The most common chronic issue in this area is pes anserine bursitis, an inflammation where several tendons, including one of the hamstrings, attach to the inner shinbone. It causes medial knee pain that flares up when climbing or descending stairs, standing up from a chair, or doing anything that requires active knee bending. It’s more common in women, people with knee osteoarthritis, and those carrying extra weight.

Acute distal hamstring injuries are less common but do happen. A tear of the outer hamstring tendon near the knee typically occurs with high-energy trauma or knee hyperextension. A tear of the inner hamstring tendon can happen during track and field activities and often produces an audible pop, sharp pain, and sometimes a lump in the lower posterior thigh.

When the Problem Is Your Back, Not Your Leg

Not all hamstring pain originates in the hamstring. The sciatic nerve runs directly beneath these muscles, and irritation of that nerve in the lower back can send pain straight down the back of the thigh in a pattern that mimics a muscle injury. This is one of the most commonly missed causes of persistent “hamstring” tightness that never seems to improve with stretching or rest.

A few features suggest the pain is coming from your spine rather than the muscle itself. Back-related hamstring pain often changes with lumbar movement: bending, twisting, or arching your back may make the leg symptoms better or worse. The pain may travel below the knee into the calf or foot, which a pure muscle strain wouldn’t do. You might also notice tingling, numbness, or a sensation of weakness that feels different from simple soreness. If your hamstring has felt chronically tight for weeks despite rest and stretching, and you can’t point to a specific moment it started hurting, your lower back is worth investigating.

Risk Factors That Set You Up for Injury

The single biggest predictor of a hamstring injury is having had one before. Scar tissue from a previous strain is less elastic than healthy muscle and creates a weak point that’s prone to re-tearing.

Strength imbalance between your hamstrings and quadriceps is another well-documented risk. Your quads (front of the thigh) and hamstrings work as opposing partners: when one is disproportionately stronger, the weaker side takes on forces it can’t handle. Research on professional soccer players found that those with a hamstring-to-quadriceps strength ratio below 0.505 had a 3.14-fold higher risk of hamstring strain. A study on competitive sprinters was even more striking: athletes with a ratio below 0.6 had a 17-fold increased risk of injury. In practical terms, if your quads are significantly stronger than your hamstrings, targeted hamstring strengthening can meaningfully reduce your chances of getting hurt.

Other contributing factors include poor flexibility, fatigue during exercise, inadequate warm-up, and older age. Muscle fatigue is particularly relevant because tired hamstrings lose their ability to absorb eccentric force, which is exactly the type of load that causes strains.

How Location and Timing Guide Your Next Steps

Paying attention to three things helps you understand what’s happening: where the pain is, how it started, and what makes it worse.

  • Sudden onset during activity, mid-thigh: Most likely a muscle strain. The grade depends on how much strength and mobility you’ve lost.
  • Gradual onset near the sit bone, worse with sitting and running: Points toward tendon irritation at the upper attachment.
  • Inner knee pain with stairs and standing up: Suggests pes anserine bursitis or another distal tendon issue.
  • Pain that travels below the knee, changes with back position, or includes tingling: Likely referred from the lumbar spine or sciatic nerve.

For mild strains, most people recover with relative rest, gentle movement, and gradual return to activity. Grade 1 strains often resolve in one to three weeks. Grade 2 injuries can take several weeks to a few months depending on the extent of tearing. Grade 3 complete ruptures and avulsions may require surgical repair and a longer rehabilitation timeline.

Tendon-related pain tends to respond well to a structured loading program, where you progressively increase the demand on the tendon over weeks. Simply resting a tendon problem often provides temporary relief but doesn’t address the underlying issue, which is why it frequently returns when you resume activity. For nerve-related pain originating in the back, treatment targets the spine rather than the leg.