Muscle guide · Thighs

Hamstrings

Also called hamstring muscles, back of the thigh muscles

The hamstrings are the muscles at the back of the thigh. Three of them run from the sit bone, past the back of the knee, to the top of the shin: the biceps femoris, semitendinosus and semimembranosus. The biceps femoris has a second, short head that starts on the thigh bone.

They bend the knee and straighten the hip, and in running they work hardest at the end of each swing, braking the lower leg before the foot lands.

8 exercises4 stretches12 with 3D demos9 sourcesUpdated 17 October 2026

Where the hamstrings is and what it does

Shaded: the hamstrings area. It marks the region, not the exact outline of the hamstrings.
What it does
  • Bend the knee, as in a leg curl.Knee flexion
  • Straighten the hip: rising from a hinge or deadlift, driving the leg back in a sprint.Hip extension
  • Brake the straightening knee at the end of each running stride.Eccentric deceleration in late swing
  • With the ACL, stop the shin sliding forward as the heel lands.Dynamic knee stabilisation
Nerve supply
Sciatic nerve: its tibial part supplies all of them except the short head of biceps femoris, which gets the common fibular part. Sources give the roots as L4 to S3 or L4 to S2.

Sources 1, 3

The parts of the hamstrings

PartStarts atAttaches toWhat it does
Biceps femoris, long headThe sit bone (ischial tuberosity)Outside of the knee, on the head of the fibulaBends the knee, turns the shin outward, straightens the hip
Biceps femoris, short headBack of the thigh boneOutside of the knee, on the head of the fibulaBends the knee and turns the shin outward; does not cross the hip
SemitendinosusThe sit boneInside of the shin below the knee (pes anserinus)Bends the knee, straightens the hip, turns the shin inward
SemimembranosusThe sit boneInner back of the top of the shinBends the knee, straightens the hip, turns the shin inward

Sources 1, 3

Exercises for the hamstrings

In a 12-week trial, seated leg curls (hip bent) grew the hamstrings more than lying leg curls: about 14% against 9%.

Stretches for the hamstrings

Good for range of motion. Stretching on its own has not been shown to prevent hamstring injuries or re-injury.

Problems linked to the hamstrings

Hamstring strain

Among the most common injuries in sport: a sharp pain at the back of the thigh, sometimes with a pop. The biceps femoris is injured most often, and about one in three athletes re-injures within a year of returning.

Sprinting injuries usually hit the upper biceps femoris; overstretching injuries (dancing, high kicks) tend to hit the upper semimembranosus tendon and take longer to heal.

Sources 1, 2, 4

Myths worth dropping

Each grade rates the evidence for the correction.

Stretching prevents hamstring injuriesStrong evidence

Across 25 randomised trials in sport, stretching programmes did not lower injury rates, while strength training cut them to about a third. Stretch for range of motion and comfort, not as injury insurance.

For hamstrings specifically, flexibility training alone has not been shown to reduce re-injury; progressive eccentric strengthening is recommended instead.

Sources 5, 6, 1

The Nordic curl halves hamstring injuriesMixed evidence

A 2019 meta-analysis reported up to 51% fewer injuries in programmes that included it. A 2021 reappraisal limited to true randomised trials judged the effect inconclusive. It is a hard, useful eccentric exercise; the size of its protective effect is uncertain.

Sources 7, 8

Routines that train it

Questions people ask

What are the hamstring muscles?

The biceps femoris (long and short heads), semitendinosus and semimembranosus, at the back of the thigh.

What is the best exercise for the hamstrings?

Seated leg curls grew the hamstrings more than lying curls in a 12-week trial. Romanian deadlifts and good mornings work their hip-straightening role, and the Nordic curl is a hard eccentric option.

Does stretching prevent hamstring strains?

Not on its own. Stretching programmes have not lowered injury rates in trials; strength training, especially eccentric work, has a better record.

Which hamstring is injured most often?

The biceps femoris, followed by the semimembranosus and semitendinosus.

Muscles it works with

Sources

  1. StatPearls · Anatomy, Bony Pelvis and Lower Limb: Hamstring Muscle (2026)
  2. NHS · Hamstring injury
  3. StatPearls · Anatomy, Bony Pelvis and Lower Limb: Thigh Semitendinosus Muscle (2023)
  4. StatPearls · Anatomy, Bony Pelvis and Lower Limb: Posterior Thigh Muscles (2023)
  5. Lauersen 2014 · Exercise to prevent sports injuries: strength training vs stretching (meta-analysis of RCTs, Br J Sports Med, abstract)
  6. Thacker 2004 · The impact of stretching on sports injury risk (systematic review, Med Sci Sports Exerc, abstract)
  7. van Dyk 2019 · The Nordic hamstring exercise in injury prevention programmes (meta-analysis, Br J Sports Med, abstract)
  8. Impellizzeri 2021 · A reappraisal of the Nordic hamstring exercise trials (J Clin Epidemiol, abstract)
  9. Maeo 2021 · Seated vs prone leg curl training and hamstring growth (Med Sci Sports Exerc)

Anatomy and movement education, not a diagnosis or treatment plan. If you have pain that follows an injury, is severe or getting worse, or comes with numbness, weakness or swelling, get it assessed. Health disclaimer.