Piriformis Muscle: Anatomy of the Deep Hip Rotator
Musculus piriformisMuscular system
For general education about how the body works, not medical advice. Medical disclaimer.

The piriformis is a flat, pear-shaped skeletal muscle that lies deep in the buttock, behind the gluteus maximus. It runs from the front of the sacrum, across the back of the pelvis, to the top of the femur. Its main job is to turn the thigh outward. Its name comes from the Latin pirum, meaning pear.
Contents
Where is the piriformis?
The piriformis sits in the gluteal region, the area of the buttock and back of the pelvis. It lies in the deep layer of muscles around the hip, beneath the large gluteus maximus. Above it are the gluteus medius and gluteus minimus, which cover the outer side of the hip. Below it, in most people, runs the sciatic nerve.
Inside the pelvis the muscle lies against the back wall, close to the sacrum and the hip bone. It leaves the pelvis through the greater sciatic foramen, a large opening between the hip bone and the sacrum. The muscle then crosses the back of the hip joint to reach the femur.
Because the gluteus maximus covers it, the piriformis cannot be felt directly through the skin. The greater trochanter, the bony knob on the outer thigh, and the back of the sacrum are easier bony landmarks in the same area. The piriformis lies between these two landmarks, deeper than both.
The position of the muscle also explains why it is described as part of the hip’s deep layer. The gluteus maximus must be lifted or separated to see it during dissection. Once the gluteus maximus is removed, the piriformis appears as a flat band of muscle crossing the back of the hip joint, with the sciatic nerve and the gluteal vessels visible close to its lower and upper borders.
Origin and insertion
The origin of the piriformis is on the front surface of the sacrum. Its fibers start at the medial parts of the pelvic sacral foramina, usually from the second to the fourth sacral segments (S2 to S4). Some fibers also come from the upper edge of the greater sciatic notch and from the sacrotuberous ligament, a strong band of tissue that links the sacrum to the ischial tuberosity of the hip bone.
From these origins the fibers gather and pass out of the pelvis through the greater sciatic foramen. They then turn outward across the back of the hip joint. The fibers form a short, rounded tendon that inserts on the upper edge of the greater trochanter of the femur. The tendons of the other deep hip rotators attach in the same general area.
Each of the sacral segments from which the muscle arises sends its nerve roots through the pelvic sacral foramina, so the origin lies alongside the openings where the sacral nerves leave the spinal canal. The muscle therefore sits in close contact with the sacral nerves and the sacral plexus on its pelvic side.
The muscle therefore spans the pelvis from the sacrum to the femur. Because it passes behind the hip joint, the direction of its pull changes as the hip moves. This is why its effect depends on the position of the leg, as described in the next section.
What does the piriformis do?
The main action of the piriformis is lateral rotation of the hip. When the hip is straight, the muscle turns the thigh and the toes outward. An everyday example is turning the foot outward when pivoting on the other leg, or sitting cross-legged with the knee falling open.
When the hip is bent to about 90 degrees, the line of pull of the piriformis changes. In this position the muscle acts as an abductor, moving the thigh out to the side. When standing on one leg, the piriformis helps keep the pelvis level, working with the gluteus medius and gluteus minimus.
The muscle also has a stabilizing role. It presses the head of the femur into the acetabulum, the hip socket, and so helps keep the ball of the joint steady during walking and standing. Anatomy texts describe it as one of the deep hip rotators, a group of small muscles that act as a stabilizing system for the hip. Its contraction is one part of the coordinated movement of the pelvis and leg.
Nerve and blood supply
The piriformis is supplied by the nerve to piriformis. This small nerve arises from the sacral plexus, a network of nerves formed by the spinal nerve roots S1 to S4, and carries fibers mainly from roots S1 and S2. It is one of the short branches that leave the pelvis to supply the deep muscles of the buttock.
Blood reaches the piriformis through branches of the internal iliac artery. The superior gluteal and inferior gluteal arteries supply the muscle, and the lateral sacral artery also contributes branches. Venous blood drains through veins that run alongside these arteries back to the internal iliac veins.
The muscle is also a landmark for the nerves and vessels of the buttock. The superior gluteal vessels and nerve leave the pelvis above it, while the inferior gluteal vessels, the pudendal vessels and the sciatic nerve leave below it. Knowing this order is a standard part of anatomy courses.
Muscles that work with and against the piriformis
Several muscles share the work of rotating and steadying the hip. The obturator internus, the superior and inferior gemelli, the quadratus femoris and the obturator externus all lie close to the piriformis and also turn the thigh outward. Together they are called the deep hip rotators, and their tendons converge on the same part of the femur.
The gluteus maximus is the largest muscle of the buttock and is also a powerful lateral rotator, especially when the hip is extended. The gluteus medius and minimus are the main abductors, moving the thigh away from the midline, and they can work with the piriformis when the hip is bent.
The muscles that turn the thigh inward, called medial rotators, include the anterior fibers of the gluteus medius and minimus and the tensor fasciae latae. They act against the piriformis in the sense that they produce the opposite movement. Most everyday hip movements use several of these muscles at once, with each one adjusting the pull.
Structure: inside the piriformis
The piriformis is a skeletal muscle, which means it is made of striated fibers under voluntary control. Each fiber is a long cell containing many nuclei and the contractile proteins actin and myosin. Bundles of fibers form the whole belly of the muscle, and the belly is wrapped in a sheath of connective tissue.
The fibers run in a fan-like pattern from the sacrum toward the greater trochanter. The belly is thick near the sacrum and narrows as it approaches the tendon. This shape gives the muscle a wide origin and a compact insertion. Because the fibers converge on one small area, the muscle’s pull is concentrated at the greater trochanter, which is why the trochanter is the main bony site for the hip rotators.
The muscle is supplied with a rich blood network from the arteries of the pelvis, and its belly contains many small nerve endings that register muscle length and tension. These sensory receptors help the nervous system keep the hip stable without conscious effort.
At its insertion the muscle ends in a tendon, a band of dense connective tissue that transmits the pull of the belly to the bone. The tendon attaches to the greater trochanter, so the force of the belly acts on the femur at a lever point on the outer hip. The tendon is short compared with the belly.
Variations between people
The piriformis varies in shape, size and attachment from person to person. In some people the muscle is thick and in others it is thinner. Anatomists describe these differences as normal variation rather than as a disorder of the muscle.
The most discussed variation concerns the sciatic nerve. In most people the nerve passes beneath the lower border of the muscle. In a smaller number of people the nerve divides so that some branches pass above or through the muscle. These patterns are recorded in dissection studies and are part of normal anatomy.
Some people also have an extra slip of muscle or an unusual attachment at the sacrum or the femur. The muscle may be split into two heads, or one part may be small. These details matter to anatomists and to surgeons who work in the pelvis, but they are not signs of an abnormal body. Textbooks list such patterns in tables with the frequency of each one, and the frequencies differ between studies and between populations.
Facts and common myths
The piriformis is named after its shape, which resembles a pear. The Latin piriformis is built from pirum (pear) and forma (shape). The same name is used in English and in most European languages.
It is one of six deep hip rotators, the others being the superior gemellus, obturator internus, inferior gemellus, quadratus femoris and obturator externus. The group is often called the deep six, and it is described in more detail in deep hip rotators.
A common myth is that the sciatic nerve always passes through the piriformis. In reality the usual arrangement is for the nerve to pass below the muscle, and passage through it is a minority pattern. The sciatic nerve article covers its path in full.
Another common idea is that the piriformis is a large muscle. It is in fact small compared with the gluteus maximus, and its role depends more on its position than on its bulk.
Piriformis: more questions and guides
Frequently asked questions
Where is the piriformis muscle?
The piriformis is deep in the buttock, behind the gluteus maximus and on the back wall of the pelvis. It starts on the front of the sacrum and leaves the pelvis through the greater sciatic foramen.
What does the piriformis muscle do?
It turns the straightened hip outward, which is called lateral rotation. When the hip is bent, it moves the thigh away from the midline, which is abduction. It also helps hold the head of the femur in the hip socket.
Does the sciatic nerve pass through the piriformis?
In most people the sciatic nerve passes below the piriformis. In a smaller number of people it divides or passes through the muscle, which is a recorded normal variation.
Where does the piriformis attach to the femur?
Its tendon inserts on the upper edge of the greater trochanter, the bony point on the outer side of the thigh bone. The other deep hip rotators attach close to this point.
Which nerve supplies the piriformis?
The nerve to piriformis arises from the sacral plexus and carries fibers from the spinal nerve roots S1 and S2. It is a small branch that reaches the muscle from inside the pelvis.
Sources and further reading
- Gray's Anatomy (Susan Standring, ed.)
- OpenStax, "Anatomy and Physiology 2e"
- Kenhub, "Piriformis Muscle"
Cite this page
“Piriformis Muscle: Anatomy of the Deep Hip Rotator.” Body Atlas, https://body.bigworldlist.com/anatomy/piriformis/.