How to Relieve Piriformis Pain: Stretches to Surgery

Piriformis pain typically responds well to conservative treatment, with most episodes improving in days or weeks. The piriformis is a small, deep muscle in your buttock that runs from your sacrum to the top of your thighbone. When it tightens, spasms, or swells, it can compress the sciatic nerve that runs just beneath it (or in some people, directly through it), sending pain radiating down your leg. Relief comes from a combination of targeted stretching, self-massage, strengthening weak surrounding muscles, and modifying the habits that aggravate it.

Why the Piriformis Causes So Much Pain

The sciatic nerve is the largest nerve in your body, and it has an uncomfortably close relationship with the piriformis muscle. In about 80% of people, the nerve passes undivided directly beneath the piriformis. In roughly 12% to 21% of people, the nerve actually splits and passes partly through the muscle itself. These anatomical variations help explain why some people are more prone to piriformis problems than others.

When the piriformis muscle tightens, becomes inflamed, or develops spasms, it can press the sciatic nerve against the bony edge of the pelvis. This compression produces deep buttock pain that often radiates down the back of the thigh. Sitting for long periods, climbing stairs, and hip movements tend to make it worse. Many people notice the pain most when getting out of bed or after being in a car for a while.

Piriformis syndrome is considered a diagnosis of exclusion, meaning your provider needs to rule out herniated discs, spinal stenosis, and other causes of sciatica first. A clinical test called the FAIR maneuver (flexion, adduction, and internal rotation of your hip) can help reproduce the symptoms by placing tension directly on the piriformis. There’s no single imaging test that confirms it, though MRI and ultrasound can help rule out other problems.

Stretches That Target the Piriformis

Stretching is the first-line approach for piriformis relief, and the goal is simple: lengthen the muscle to take pressure off the sciatic nerve. The most effective stretches use the same movement pattern that provokes the pain, just in a controlled, gentle way.

Supine piriformis stretch: Lie on your back with both knees bent. Cross the affected ankle over the opposite knee, then pull the bottom knee toward your chest. You should feel a deep stretch in the buttock of the crossed leg. Hold for 30 seconds and repeat three to four times per side.

Seated figure-four stretch: Sitting in a chair, cross one ankle over the opposite knee and gently lean your torso forward with a straight back until you feel the stretch deep in the hip. This version is useful at work or during travel, when symptoms tend to flare.

Pigeon pose variation: From a hands-and-knees position, bring one knee forward and angle it outward while extending the opposite leg straight behind you. Lower your torso toward the floor. This provides a more intense stretch and works well once the acute pain has eased.

Consistency matters more than intensity. Stretching two to three times a day, especially after sitting, produces better results than one aggressive session.

Self-Massage With a Ball or Foam Roller

The piriformis sits deep beneath the larger gluteal muscles, which makes it hard to reach with your hands. A tennis ball, lacrosse ball, or foam roller lets you apply sustained pressure to the trigger points that develop in a tight piriformis.

For a tennis or lacrosse ball: sit on the ground and place the ball under the fleshy part of your buttock on the affected side. Support your weight with your hands behind you. Cross the ankle of the affected side over your opposite knee to expose the piriformis, then slowly roll around until you find a tender spot. Stay on that spot for up to 60 seconds or until the discomfort fades. The pressure should feel like a “good hurt,” not sharp or electric. If you feel tingling or numbness shooting down your leg, reposition the ball slightly. You’re likely pressing directly on the sciatic nerve rather than the muscle.

For a foam roller: sit on the roller with the ends pointing out to your sides, feet flat on the floor. Cross the affected ankle over the opposite knee, lean your weight toward the affected hip, and rock gently back and forth for up to 60 seconds. The foam roller covers a broader area and is a good starting point if a ball feels too intense.

Strengthening the Muscles Around the Hip

Stretching and massage address the immediate tightness, but they won’t prevent the problem from coming back. The piriformis often becomes overworked because the larger muscles around it, particularly the glutes and core, aren’t doing their share. Strengthening these muscles reduces the load on the piriformis and improves hip stability.

Key exercises include clamshells (lying on your side with knees bent, opening and closing your top knee like a clamshell while keeping feet together), glute bridges (lying on your back, pressing through your heels to lift your hips), and side-lying leg lifts. For the core, planks and leg lifts help create the pelvic stability that takes strain off the deep hip rotators. Start with low resistance and higher reps, since the piriformis is still irritable, and progress gradually over several weeks.

Over-the-Counter Pain Relief

Anti-inflammatory medications like ibuprofen or naproxen can reduce both the pain and the inflammation driving it. These work best when used in the first one to two weeks alongside stretching, not as a long-term solution. Applying ice for 15 to 20 minutes several times a day during acute flares helps limit swelling, while heat (a warm bath or heating pad) can relax the muscle spasm once the initial inflammation subsides. Some people find alternating ice and heat throughout the day most effective.

Sitting and Daily Habit Changes

Prolonged sitting is one of the most reliable triggers for piriformis pain. If you work at a desk, stand and walk for a few minutes every 30 to 45 minutes. Avoid sitting on your wallet or anything that creates uneven pressure under one hip. When driving, try to keep your knees at roughly the same height as your hips rather than sitting low with legs extended. A firm seat cushion or a cushion with a cutout for the affected buttock can reduce direct pressure on the piriformis.

Cross-legged sitting and habitual postures that keep the hip rotated should be minimized during a flare. If you’re a runner or cyclist, temporarily reducing training volume gives the muscle time to calm down. Returning to activity gradually, combined with your strengthening routine, helps prevent recurrence.

Injections for Persistent Pain

When stretching, strengthening, and lifestyle changes haven’t provided enough relief after several weeks, image-guided injections into the piriformis muscle are the next step. These are typically done under CT or ultrasound guidance to ensure the needle reaches the right spot.

Injections that include a nerve-paralyzing agent (botulinum toxin) produce notably better results than steroid-and-anesthetic injections alone. In one study, 61% of patients who received botulinum toxin had a significant positive response, compared to just 32% of those who received injections without it. The median duration of pain relief was also substantially different: 30 days for the botulinum toxin group versus just 1 day for the steroid-only group. Multiple injection sessions are sometimes needed, and they work best when combined with a continued physical therapy program.

When Surgery Becomes an Option

Surgery for piriformis syndrome is rare and reserved for cases where at least three months of conservative treatment, including physical therapy, medications, and injections, have failed to provide adequate relief. The procedure involves releasing the piriformis tendon from its attachment to the thighbone, which permanently removes the source of nerve compression.

Outcomes are generally favorable. In one surgical series, pain scores dropped from an average of 9 out of 10 before surgery to about 3 out of 10 at the 12-month follow-up, and sciatica resolved within the first few days in most patients. Across studies, roughly 82% to 83% of patients report satisfactory results. Some patients experience persistent buttock soreness after surgery that can take months to fully resolve, but the radiating leg pain tends to improve quickly.