Buttock pain that shows up or gets worse when you lie down usually comes from a muscle, joint, or nerve being compressed or stretched by your sleeping position. The most common culprits are piriformis syndrome, sacroiliac joint dysfunction, and ischial bursitis, though several other conditions can produce similar symptoms. Understanding which one fits your pattern of pain can help you find relief faster.
Piriformis Syndrome
The piriformis is a small, deep muscle that runs from your sacrum (the triangular bone at the base of your spine) to the top of your thighbone. It helps rotate your hip outward and stabilizes the femoral head in its socket. The sciatic nerve runs directly beneath it, and in some people, straight through it. When the piriformis tightens or spasms, it can squeeze the sciatic nerve and send pain radiating through the buttock and down the leg.
Lying down can make this worse in a few ways. When your hip is flexed, the piriformis shifts to a more posterior position, and when the hip also rotates inward or the legs draw together (as they naturally do in many sleeping positions), the space between the piriformis and surrounding structures narrows. This puts direct pressure on the sciatic nerve. People with piriformis syndrome commonly report pain at night that improves during the day, along with difficulty sitting for more than 20 to 30 minutes, limping, and altered sensation in the affected leg.
Sacroiliac Joint Dysfunction
Your sacroiliac (SI) joints sit on either side of the base of your spine, connecting the sacrum to the large bones of the pelvis. These joints don’t move much, but when they become inflamed or misaligned, they produce a deep ache in the buttock that can radiate into the lower back or upper thigh.
Lying on the side of the affected SI joint increases stress through that joint, which is why many people notice their pain spikes when they roll onto one particular side during the night. Quick movements like turning over or pushing yourself up from bed can also compress and irritate the joint space. Sleeping on your back generally reduces SI joint pressure, and placing a pillow between your knees when side-sleeping keeps the hips, pelvis, and spine in better alignment.
Ischial Bursitis
Your ischial tuberosities, commonly called sit bones, are the bony points at the bottom of your pelvis. Small fluid-filled sacs called bursae cushion these bones from the tendons and muscles that slide over them. When those bursae become inflamed, the result is a dull, deep ache that most people can pinpoint to a specific spot in the buttock or upper back of the thigh.
The most common cause is repetitive pressure or friction, either from prolonged sitting or from the hamstring tendon and gluteus maximus muscle moving repeatedly against the sit bones. When you lie on your back on a firm surface, your body weight presses directly onto these bony landmarks, which can flare already-irritated bursae. The pain is often tender to the touch and worsens with exercise or sustained pressure.
Ischiofemoral Impingement
This lesser-known condition involves the space between the ischial tuberosity and the lesser trochanter of the femur (a small bony bump on the inside of your upper thighbone). In healthy hips, this gap measures more than about 15 millimeters. When it narrows, the soft tissues between these two bones get pinched, producing pain deep in the posterior buttock.
Hip extension and adduction (straightening the leg and bringing it toward the midline) shrink this space further. Lying flat on your back with your legs extended and close together is exactly that position, which explains why people with ischiofemoral impingement often feel worse at rest than they do walking around. Prolonged weight-bearing activities can also aggravate it.
Deep Gluteal Syndrome
Deep gluteal syndrome is an umbrella term for any condition where a nerve gets compressed in the deep space behind the hip, not by a disc in the spine but by structures within the pelvis itself. Piriformis syndrome falls under this category, but other tissues can be responsible too. The sciatic nerve or the pudendal nerve (which supplies sensation to the pelvic floor and genital area) can become trapped by bands of fibrous tissue, vascular abnormalities, or inflamed muscles in the region. Because the compression happens locally in the buttock, lying in positions that tighten or load these deep structures tends to reproduce the pain.
Sciatica From Disc Problems
A herniated or bulging disc in the lower spine can press on nerve roots that feed into the sciatic nerve, causing pain that starts in the low back or buttock and often shoots down one leg. Lying down changes spinal pressure and can shift the disc’s position relative to the nerve. Some people find that certain recumbent positions relieve sciatica, while others find it gets worse, particularly when lying flat on the back with legs straight, which can increase tension on the nerve.
How to Adjust Your Sleep Position
Regardless of the specific cause, a few positioning strategies can reduce buttock pain at night. A medium-firm mattress provides enough support to keep the pelvis from sinking unevenly while still cushioning bony pressure points.
If you sleep on your back, placing one or two pillows under your knees takes tension off the sciatic nerve, slightly flexes the hips, and distributes weight more evenly across the pelvis. This also opens the ischiofemoral space compared to lying with legs flat and straight.
If you sleep on your side, a pillow between your knees keeps your hips and pelvis aligned and prevents the top leg from pulling the pelvis into rotation. For SI joint pain specifically, avoid lying on the painful side. Some people find relief sleeping in a reclined position using a wedge cushion, which elevates both the head and knees and reduces pressure on the lower back and gluteal region.
When Buttock Pain Signals Something Serious
Most causes of buttock pain when lying down are musculoskeletal and improve with positioning changes, stretching, or treatment over time. Rarely, however, buttock and leg pain can signal compression of the bundle of nerve roots at the base of the spinal cord, a condition called cauda equina syndrome. This is a medical emergency.
The warning signs to watch for include numbness in the groin, inner thighs, or genital area (sometimes called saddle numbness), inability to urinate for more than six to eight hours or loss of the urge to urinate, loss of bowel control, and severe low back pain with sciatica affecting both legs. If you develop any combination of these symptoms, seek emergency care immediately. Delays in treatment can result in permanent neurological damage.

