What Is Piriformis? – Origin, Nerve Supply, Function

Patient Tools

Read, save, and share this guide

Use these quick tools to make this medical article easier to read, print, save, or share with a family member.

On this page5 sections

Article Summary

What Is Piriformis?/Piriformis Muscle is pyramidal in shape and originates from the anterior surface of the S2–S4 sacral vertebrae, the capsule of the sacroiliac joint, and the gluteal surface of the ilium near the posterior surface of the iliac spine. The piriformis muscle originates from the anterior sacrum and sacroiliac joint, passes transversely through the greater sciatic foramen via the sciatic notch, and inserts on the greater trochanter. The muscle is innervated by the...

Key Takeaways

  • This article explains Origin of Piriformis Muscle in simple medical language.
  • This article explains Insertion in simple medical language.
  • This article explains Blood Supply in simple medical language.
  • This article explains Nerve Supply in simple medical language.
Before reading

RX Patient Tools

Use these quick guides before reading the article, or return to them when you need help preparing questions for a doctor.

Start here Choose the right pathway for symptoms, reports, medicines, or urgent warning signs. Disease article roadmap Read this topic step by step: meaning, symptoms, warning signs, diagnosis, treatment, prevention, and follow-up. Treatment planner Prepare questions about treatment choices, benefits, risks, side effects, and follow-up. Family & caregiver guide Organize symptoms, reports, medicines, questions, and follow-up safely. Nutrition & diet guide Prepare food, hydration, supplement, and medicine-timing questions safely. Prevention guide Organize risk factors, protective habits, screening, and warning signs. Recovery guide Prepare a safe plan for activity, rehabilitation, warning signs, and follow-up.
Educational health guideWritten for patient understanding and clinical awareness.
Reviewed content workflowUse writer and reviewer profiles for stronger trust.
Emergency safety firstUrgent warning signs are highlighted below.
Definition

What Is Piriformis?/Piriformis Muscle is pyramidal in shape and originates from the anterior surface of the S2–S4 sacral , the capsule of the sacroiliac joint, and the gluteal surface of the near the posterior surface of the iliac spine.

The piriformis muscle originates from the anterior  and sacroiliac joint, passes transversely through the greater sciatic foramen via the sciatic notch, and inserts on the greater trochanter. The muscle is innervated by the ventral rami of S1 and S2 (and L5 to a lesser extent), which join to form the nerve to the piriformis. The muscle receives its vascular supply predominantly from a branch of the inferior gluteal . When the hip is in extension, the piriformis muscle externally rotates the .

The piriformis is a triangle-shaped gluteal (buttock) muscle. The base of the triangle attaches to the sacrum (), while the opposite end attaches to the side of the femur (upper thighbone). The muscle also passes through an area of the pelvic girdle called the greater sciatic foramen. The piriformis muscle is important in turning the hip out and moving the leg away from the center of the body.

  • The piriformis muscle originates from the anterior part of the sacrum by three fleshy digitations (middle three pieces of its own half and adjoining lateral mass, and also extending medially between the anterior sacral foramina) as well as from the superior margin of the greater sciatic notch, and to a lesser extent the sacroiliac and the sacrotuberous .
  • The piriformis exits the  through the greater sciatic foramen to insert on the apex of the greater trochanter of the femur.
  • Its often joins with the of the superior gemellus, inferior gemellus and obturator internus muscles prior to insertion.

Blood Supply

  • The arterial supply is from the inferior gluteal, superior gluteal and internal pudendal , all branches of the internal iliac artery.

Nerve Supply

The structures that leave the pelvis through the infrapiriform foramen can be easily remembered with the following mnemonic;

The superior gluteal artery and nerve (L4-S1) leave the pelvis through the suprapiriform foramen. The , inferior gluteal nerve (L5-S2) and artery, posterior femoral cutaneous nerve (S1-S3) and the nerve to quadratus femoris (L4-S1) leaves the pelvis through the infrapiriform foramen. The pudendal nerve (S2-4) also leaves the pelvis through the infrapiriform foramen, wraps around the sacrospinous ligament, and re-enters the pelvis by passing back into the lesser sciatic foramen.

PIN PINS

  • The posterior  cutaneous nerve of thigh
  • Inferior gluteal vessels and nerves
  • Nerve to quadratus femoris
  • Pudendal nerve
  • Internal pudendal vessels
  • Nerve to obturator internus
  • Sciatic nerve

Function

  • Hip external rotation.
  • Abductor at 90 degrees of hip flexion.
  • In weight-bearing, the PM restrains the femoral internal rotation during the stance phase of walking and running.
  • Assists the short hip rotators in compressing the hip joint and stabilizing the joint.
  • As it can exert an oblique force on the sacrum, it may produce a strong rotary shearing force on the sacroiliac joint (SIJ). This would displace the ipsilateral base of the sacrum anteriorly (forward) and the apex of the sacrum posteriorly.

The piriformis muscle is part of the lateral rotators of the hip, along with the quadratus femoris, gemellus inferior, gemellus superior, obturator externus, and obturator internus. The piriformis laterally rotates the femur with hip extension and abducts the femur with hip flexion. The abduction of the flexed thigh is important in the action of walking because it shifts the body weight to the opposite side of the foot is lifted, which prevents falling. The action of the lateral rotators can be understood by crossing the legs to rest an ankle on the knee of the other leg.

Reference

Doctor visit helper

Prepare before seeing a doctor

A simple rural-patient checklist to help you explain symptoms clearly, ask better questions, and avoid unsafe self-treatment.

Safety note: This is not a prescription or diagnosis. For severe symptoms, pregnancy danger signs, children with serious illness, chest pain, breathing difficulty, stroke-like weakness, or major injury, seek urgent care.

Which doctor may help?

Start with a registered doctor or the nearest qualified health center.

What to tell the doctor

  • Write when the problem started and how it changed.
  • Bring old prescriptions, investigation reports, and current medicines.
  • Write allergies, pregnancy status, diabetes, kidney/liver disease, and major past illnesses.
  • Bring one family member if the patient is weak, elderly, confused, or a child.

Questions to ask

  • What is the most likely cause of my symptoms?
  • Which danger signs mean I should go to hospital quickly?
  • Which tests are necessary now, and which can wait?
  • How should I take medicines safely and what side effects should I watch for?
  • When should I come for follow-up?

Tests to discuss

  • Vital signs: temperature, pulse, blood pressure, oxygen saturation
  • Basic physical examination by a clinician
  • CBC, urine test, blood sugar, or imaging only when clinically needed

Avoid these mistakes

  • Do not use antibiotics, steroid tablets/injections, or strong painkillers without proper medical advice.
  • Do not hide pregnancy, kidney disease, ulcer, allergy, or blood thinner use.
  • Do not delay emergency care when danger signs are present.

Medicine safety and first-aid guide

This section is for patient education only. It does not replace a doctor, pharmacist, or emergency care.

Safe first steps

  • Avoid heavy lifting, sudden bending, and prolonged bed rest.
  • Use comfortable posture and gentle movement as tolerated.
  • Discuss physiotherapy, X-ray, or MRI only when clinically needed.

OTC medicine safety

  • For mild back pain, pain-relief medicine may be discussed with a doctor or pharmacist.
  • Avoid repeated painkiller use if you have kidney disease, stomach ulcer, uncontrolled blood pressure, or are taking blood thinners.

Avoid these mistakes

  • Do not start antibiotics without a proper medical decision.
  • Do not use steroid tablets or injections casually for quick relief.
  • Do not delay emergency care because of home remedies.

Get urgent help if

  • Back pain with leg weakness, numbness around private area, loss of urine/stool control, fever, cancer history, or major injury needs urgent care.
Medicine names, dose, and timing must be decided by a qualified clinician or pharmacist after checking age, pregnancy, allergy, other diseases, and current medicines.

For rural patients and family caregivers

Patient health record and symptom diary

Write your symptoms, medicines already taken, test results, and questions before visiting a doctor. This note stays on your device unless you print or copy it.

Doctor to discuss: Doctor / qualified healthcare provider
Tests to discuss with doctor
  • Basic vital signs: temperature, pulse, blood pressure, oxygen level if needed
  • Relevant blood, urine, imaging, or specialist tests only after clinical assessment
Questions to ask
  • What is the most likely cause of my symptoms?
  • Which warning signs mean I should go to emergency care?
  • Which tests are really needed now?
  • Which medicines are safe for my age, pregnancy status, allergy, kidney/liver/stomach condition, and current medicines?

Emergency warning signs such as chest pain, severe breathing difficulty, sudden weakness, confusion, severe dehydration, major injury, or loss of bladder/bowel control need urgent medical care. Do not wait for online information.

Safe pathway to proper treatment

Care roadmap for: What Is Piriformis? – Origin, Nerve Supply, Function

Use this simple roadmap to understand the next safe steps. It is educational and does not replace examination by a doctor.

Go to emergency care if you notice:
  • Severe or rapidly worsening symptoms
  • Breathing difficulty, chest pain, fainting, confusion, severe weakness, major injury, or severe dehydration
Doctor / service to discuss: Qualified healthcare provider; specialist depends on symptoms and examination.
  1. Step 1

    Check danger signs first

    If danger signs are present, seek emergency care and do not wait for online information.

  2. Step 2

    Record the symptom story

    Write when symptoms started, severity, medicines already taken, allergies, pregnancy status, and test results.

  3. Step 3

    Visit a qualified clinician

    A doctor, nurse, or qualified healthcare provider can examine you and decide which tests or treatment are needed.

  4. Step 4

    Do only useful tests

    Do tests after clinical assessment. Avoid unnecessary tests, random antibiotics, or repeated medicines without diagnosis.

  5. Step 5

    Follow up and return early if worse

    If symptoms worsen, new warning signs appear, or treatment is not helping, return for review quickly.

Rural patient practical tips
  • Take a written symptom diary and all previous prescriptions/test reports.
  • Do not hide medicines already taken, even herbal or over-the-counter medicines.
  • Ask which warning signs mean urgent referral to hospital.

This roadmap is for education. A real diagnosis and treatment plan requires history, examination, and clinical judgment.