The rectus femoris is the most superficial muscle at the front of the thigh, and it runs almost straight down it1. It is one of the four quadriceps muscles, and of the four only the rectus femoris crosses both the hip and the knee joint2. That lets it straighten the knee and bend the hip3. StatPearls says it is known as the kicking muscle for its part in forceful knee extension1.
Rectus femoris (rectus femoris muscle, RF) at a glance
- Where it is
- Front of the thigh, the most superficial muscle of that compartment1
- Attaches to
- Pelvis (anterior inferior iliac spine and a groove above the hip socket); the patella and, via its ligament, the tibial tuberosity2, 3
- Nerve supply
- Femoral nerve (L2 to L4)2
- Blood supply
- Femoral, lateral femoral circumflex and superficial circumflex iliac arteries2
- Pain it can send
- A thigh strain often brings a popping or snapping feeling at the moment of injury4
The rectus femoris straightens the knee and bends the hip, because it crosses both joints
Kenhub says the quadriceps femoris extends the leg at the knee, and that the rectus femoris is the only part that also flexes the thigh at the hip2. Flexion at the hip means lifting the thigh forward. TeachMeAnatomy gives the same two actions3. The rectus femoris is one of the muscles covered on the group page, hip flexors.
The action can also run the other way. Kenhub says that when the attachment at the patella is fixed, the muscle helps flex the pelvis forward towards the thigh2. The article on anterior pelvic tilt looks at the forward tilt of the pelvis in more detail.
It starts on the pelvis with two heads, though sources disagree on how many origins it has
TeachMeAnatomy and Kenhub both describe two heads. One starts at the anterior inferior iliac spine, a bony point at the front of the pelvis, and the other at the supra-acetabular groove above the hip socket2, 3. The two heads join into one tendon that reaches the patella3. Kenhub says the tendon carries on to the tibial tuberosity through the patellar ligament2. The femoral nerve (L2 to L4) supplies the muscle2.
An MRI review gives a longer list. It places the proximal origin at the anterior superior iliac spine, the anterior inferior iliac spine and the supra-acetabular sulcus, and calls this the proximal tendinous complex5. Kenhub adds that the muscle can occasionally have a third head from the iliofemoral ligament2. The upper part lies deep to the tensor fasciae latae, the sartorius and the iliacus, and the hip joint capsule and the vastus intermedius lie deep to it2.
Strains are a known risk because the muscle crosses two joints, and a pop at the moment of injury is typical
OrthoInfo says the quadriceps and hamstring groups are particularly at risk of strain because they cross both the hip and knee joints and are used in high-speed activities such as running, football, basketball and soccer4. A strain happens when a muscle is stretched beyond its limit and the fibres tear, often near the point where the muscle joins its tendon4. StatPearls says rectus femoris injuries arise from sport, trauma and jobs that repeat the same movement1.
OrthoInfo says people often describe a popping or snapping sensation as the muscle tears, and a doctor may ask you to bend or straighten the knee or hip during the exam4. A grade 1 strain is mild and usually heals fairly quickly, while a grade 3 strain is a severe tear that may take months to heal, and a strained muscle is vulnerable to reinjury4. A 2025 MRI review describes more serious injuries at the origin, including avulsions, where the tendon pulls away from the bone, tendon tears and injuries to the connective tissue along the muscle, which can cause loss of function and pain5.
Pain at the front of the thigh or hip has look-alikes, and a pop, bruising or sudden sharp pain should be assessed
The MRI review also describes other conditions that can present with symptoms similar to these injuries5. Cleveland Clinic names pinched nerves and herniated disks among the problems that can cause muscle pain similar to a hip flexor strain6. For the disc question, see herniated disc vs bulging disc.
Some hip and thigh pain needs a doctor before any stretch or massage
Tick anything that applies. The answer below changes to the most urgent step.
Warning signs from the NHS: Hip pain, DVT (deep vein thrombosis), Back pain, read 17 November 2026. This check is a prompt to get help, not a diagnosis.
Common questions about the rectus femoris
It is the most superficial muscle at the front of the thigh and runs almost straight down it. It starts on the pelvis, at the anterior inferior iliac spine and a groove above the hip socket, and ends at the patella and the tibial tuberosity.
It straightens the knee and bends the hip. It is the only one of the four quadriceps muscles that crosses both joints. When its lower attachment is fixed, it can also help flex the pelvis forward towards the thigh.
OrthoInfo says the quadriceps and hamstrings are particularly at risk of strain because they cross both the hip and knee joints and are used in high-speed activities. StatPearls adds that rectus femoris injuries arise from sport, trauma and repetitive work.
OrthoInfo says people often describe a popping or snapping sensation as the thigh muscle tears, and bruising can follow. Cleveland Clinic advises talking to a provider about any sudden, sharp pain, especially during exercise. Other problems can cause similar pain, so a doctor should assess it.