ComparisonQuadriceps
Quadriceps vs Hamstrings: Front and Back Thigh Muscles Compared
For general education about how the body works, not medical advice. Medical disclaimer.

Quadriceps vs Hamstrings at a glance
| Feature | Quadriceps | Hamstrings |
|---|---|---|
| Location | Front and sides of the thigh | Back of the thigh |
| Number of muscles | 4 (one group, four heads) | 3 (biceps femoris, semitendinosus, semimembranosus) |
| Origin | Ilium and femur | Ischial tuberosity (most); femur (short head of biceps femoris) |
| Insertion | Tibial tuberosity, via patella | Tibia and fibula, at the back of the knee |
| Action at the knee | Extension (straightens the knee) | Flexion (bends the knee) |
| Action at the hip | Flexion (rectus femoris only) | Extension (lifts the thigh backward) |
| Nerve supply | Femoral nerve (L2–L4) | Sciatic nerve (tibial and common fibular parts) |
The quadriceps and the hamstrings are the two main muscle groups of the thigh, and they act on the knee in opposite directions. The quadriceps is the subject of its own profile. The quadriceps lies on the front of the thigh and straightens the knee. The hamstrings lie on the back of the thigh and bend the knee. Both groups also cross the hip, where they produce opposite movements.
Contents
The main difference
The main difference between the two groups is their position relative to the femur, the thigh bone. The quadriceps wraps around the front and sides of the femur, while the hamstrings lie behind it. This placement determines the direction of each group’s pull at the knee. A muscle that crosses the front of a joint extends it, and a muscle that crosses the back of the joint flexes it.
The two groups also differ in how many muscles they contain. The quadriceps femoris is a single muscle with four heads, which join into a shared tendon at the knee. The hamstrings are three separate muscles, the biceps femoris, the semitendinosus and the semimembranosus. Each hamstring muscle has its own origin and insertion, so the group is less unified than the quadriceps.
In size, the quadriceps is the larger group. Its four heads make up a large share of the thigh’s muscle mass, and the vastus lateralis is the largest single head. The hamstrings are long, but they are narrower than the quadriceps across the thigh. The exact size of each muscle varies with body build, sex, age and training history.
Location and origin
The quadriceps covers the front and sides of the thigh. The rectus femoris starts on the pelvis, at the anterior inferior iliac spine and above the hip socket. The three vasti start on the femur. All four heads run down to the knee, where they meet the patella and the tibial tuberosity.
The hamstrings cover the back of the thigh. Most of the group starts on the ischial tuberosity, the bony part of the pelvis that a person sits on. The short head of the biceps femoris is the exception, because it starts on the femur, on the linea aspera and the lateral supracondylar line. This difference in origin matters for the hip: because the hamstrings start on the pelvis and cross the back of the hip, they can extend it.
Because the quadriceps starts on the front of the pelvis and the hamstrings on the back, the two groups sit on opposite sides of the hip joint. Their origins give them opposite leverage over the hip, even though both groups pass over the same joint.
Insertion and action at the knee
The quadriceps inserts at the front of the knee. Its four heads join into the quadriceps tendon, which wraps over the patella. The patellar ligament then carries the pull to the tibial tuberosity on the shinbone. When the quadriceps contracts, the tibia is pulled forward and up, and the knee straightens.
The hamstrings insert at the back and inner and outer sides of the knee. The biceps femoris attaches to the head of the fibula on the outer side of the knee and to the lateral part of the tibia. The semitendinosus attaches to the upper inner surface of the tibia, as part of a shared tendon group called the pes anserinus. The semimembranosus attaches to the back of the medial tibial condyle. When the hamstrings contract, they pull the lower leg backward, and the knee bends.
This difference in insertion explains why the quadriceps acts through the patella and the hamstrings do not. The knee joint is the shared joint that both groups cross. The quadriceps pulls from the front of the joint, where the patella increases its leverage. The hamstrings pull from the back, where there is no patella, so their leverage depends on the angle of the tibia and fibula.
Nerve and blood supply
The quadriceps is supplied by the femoral nerve, which comes from spinal nerve roots L2 to L4 and runs through the front of the thigh. The femoral nerve is the main nerve on the front of the thigh, and it supplies the skin of the front of the thigh and the inner side of the lower leg.
The hamstrings are supplied by the sciatic nerve, which is the largest nerve in the body. The sciatic nerve runs down the back of the thigh and divides near the knee into two branches. The tibial part supplies the semitendinosus, the semimembranosus and the long head of the biceps femoris. The common fibular part supplies the short head of the biceps femoris. The sciatic nerve comes from spinal nerve roots L4 to S3.
Both groups receive their blood supply from branches of the femoral artery and deep femoral artery, with the hamstrings also supplied by branches of the popliteal artery behind the knee. Because the two groups are supplied by different nerves, each can be checked separately in a clinical examination of the thigh.
What they have in common
Both groups are skeletal muscles that move the knee and hip, and both are under voluntary control. Both are built from striated fibers, arranged in bundles and covered by fascia. Both groups have a mix of slow-twitch and fast-twitch fibers, and both are used together in walking, standing and climbing.
Both groups cross the knee, which is why they are often mentioned together in anatomy texts. Each group is an antagonist of the other at the knee, so the two work as a balanced pair. Both also cross the hip, but in opposite directions, so they act in balance there too.
People sometimes confuse the two groups because both lie in the thigh and both cross two joints. Their shared location in the thigh and their shared joints can make them seem like parts of one system. In practice, their position, their nerve supply and their direction of action keep them separate.
How to tell them apart
A simple rule of thumb is to ask which side of the thigh a muscle lies on. If the muscle is on the front, with the patella in its tendon, it is part of the quadriceps. If it is on the back, with its origin on the sitting bone, it is part of the hamstrings.
A second check is the action. A muscle that straightens the knee is part of the quadriceps. A muscle that bends the knee and lies behind the femur is part of the hamstrings. The hip action gives a third check, because only the rectus femoris flexes the hip among the quadriceps heads.
Finally, the nerve can separate the two groups in a diagram or a dissection. The femoral nerve belongs to the quadriceps, and the sciatic nerve belongs to the hamstrings. Using all three checks together avoids most confusion between the two groups.
Frequently asked questions
What is the main difference between quadriceps and hamstrings?
The quadriceps is on the front of the thigh and straightens the knee. The hamstrings are on the back of the thigh and bend the knee. The two groups are opposite in action.
How many muscles are in the hamstring group?
The hamstring group has three muscles: the biceps femoris, the semitendinosus and the semimembranosus. The biceps femoris has a long head and a short head, but both belong to one muscle.
Which thigh muscle group is larger?
The quadriceps is larger than the hamstrings. Its four heads together form the largest muscle mass on the front of the thigh, and the hamstrings are smaller in total volume.
Which nerve supplies the hamstrings?
The hamstrings are supplied by the sciatic nerve, which divides into a tibial part and a common fibular part. The semitendinosus and semimembranosus receive the tibial part, and the short head of the biceps femoris receives the common fibular part.
Do the quadriceps and hamstrings act on the hip?
Both groups act on the hip, but in opposite directions. The rectus femoris of the quadriceps flexes the hip, while the hamstrings extend it, which moves the thigh backward.
Sources and further reading
- Gray's Anatomy (Susan Standring, ed.)
- OpenStax, "Anatomy and Physiology 2e"
- Kenhub, "Hamstring muscles"
Cite this page
“Quadriceps vs Hamstrings: Front and Back Thigh Muscles Compared.” Body Atlas, https://body.bigworldlist.com/compare/quadriceps-vs-hamstrings/.
Quadriceps: more questions and guides
- ProfileQuadriceps: Anatomy of the Four Muscles at the Front of the Thigh
- QuestionHow Many Muscles Does It Take to Walk? Muscles of Walking
- QuestionKnee-Jerk Reflex: Why Your Leg Kicks When the Knee Is Tapped
- ListLeg Muscles: Names and Functions of the Major Muscles of the Leg
- ListStrongest Parts of the Human Body: Muscles, Bones and Tissues
- QuestionWhat Is the Largest Muscle in the Human Body? Gluteus Maximus
- QuestionWhat Is the Patellar Tendon? How the Kneecap Connects to the Shin