The short answer
Common piriformis stretches are the lying figure-four stretch, pulling the knee toward the opposite shoulder, and the seated piriformis stretch, each held about 30 seconds and repeated on both sides. Hip-strengthening exercises such as clamshells and glute bridges are often added. If the pain starts in the back or comes with numbness or weakness, get it checked, because it may be sciatica from the spine.

Before you start
The piriformis is a small muscle deep in the buttock that helps turn the hip outward. The sciatic nerve runs right next to it, so when the muscle is tight or irritated it can cause buttock pain and sometimes pain down the back of the leg. When this is the cause, it is called piriformis syndrome; a clinician usually diagnoses it after ruling out other causes, such as the lower back. Stretching the muscle and strengthening the hips are a common first part of treatment.
Buttock and leg pain often comes from the lower back instead, such as a disc pressing on a nerve, and that needs a different plan. If the pain started in your back, is mainly below the knee, or comes with numbness or weakness, see sciatica and get it checked.
Stretch slowly to a point of gentle tension, never bouncing. Breathe normally and keep the rest of your body relaxed.
The routine, step by step
1. Lying figure-four stretch
On your back, knees bent. Cross the sore-side ankle over the other knee, then pull the uncrossed thigh toward your chest until you feel it in the buttock.
How much: Hold 30 seconds, 3 times each side
2. Knee to opposite shoulder
On your back, legs straight. Bend the sore-side knee and gently pull it toward the opposite shoulder.
How much: Hold 30 seconds, 3 times each side
3. Seated piriformis stretch
Sit tall. Cross the sore-side ankle over the other knee and lean forward slightly, keeping your back straight.
How much: Hold 30 seconds, 3 times each side
4. Clamshell
Lie on your side, hips and knees bent, feet together. Lift the top knee without rolling your hips back, then lower slowly.
How much: 10 to 15 times each side
5. Glute bridge
On your back, knees bent, feet flat. Tighten your buttocks and lift your hips until your body is in line from knees to shoulders. Lower slowly.
How much: 10 to 15 times
How often, and how to progress
- Stretches: once or twice a day, on both sides, even if only one side hurts.
- Strengthening (clamshell and bridge): every other day to start.
- Daily habits: break up long periods of sitting, and avoid sitting on a wallet or phone in a back pocket.
When a routine isn’t enough
Book a visit if the pain lasts more than a few weeks, keeps coming back, or isn’t improving after about a month of regular exercise. Our physical therapists check whether the pain is coming from the hip or the back and adjust the exercises, and our pain physicians can help when exercise alone isn’t enough. See back pain and hip pain.
Care for this at Specialty Medical Center
This article is general information. It doesn’t diagnose your problem or replace advice from your own clinician.
Sources
- Cleveland Clinic Health Essentials (Robert Catanese, PT, DPT): Stretches and exercises for piriformis syndrome
- Kaiser Permanente (Healthwise): Piriformis syndrome exercises
- Cleveland Clinic: Piriformis syndrome
- StatPearls: Piriformis syndrome (PubMed record, NIH National Library of Medicine)
Keep reading
How to sleep with sciatica
Sciatica often feels worst at night. A few changes to how you lie, and what you do before bed, can make sleep easier.
November 2, 2026 · 3 min read
Can sciatica cause knee pain?
It can. A pinched nerve in the lower back can be felt at the knee, even when the knee itself is healthy. Here’s how to tell where the pain is really coming from.
November 2, 2026 · 3 min read