Hip pain during sleep is most often caused by compression on the outer hip structures, especially if you sleep on your side. The bony point on the outside of your hip sits beneath tendons, fluid-filled cushioning sacs, and muscles that can all become irritated when pressed against a mattress for hours. The good news is that most causes are treatable with simple changes to how and where you sleep, and understanding the specific trigger helps you pick the right fix.
What’s Actually Happening Inside Your Hip
The outer part of your hip has a bony prominence where several tendons attach your glute muscles to the thighbone. Surrounding these tendons are small fluid-filled sacs called bursae that reduce friction during movement. When you lie on your side, your body weight compresses these structures directly against the bone. Over time, or with enough repetitive pressure, the tendons and bursae become irritated.
Research from Ohio State University Wexner Medical Center shows that the deep fibers of the glute tendons are especially vulnerable to compressive forces, not just the pulling and stretching forces you might expect. These compressed portions of the tendon gradually change in structure, becoming less resilient. That means even small shifts in your activity level or sleeping habits can push them past the tipping point into pain. This cluster of problems, involving the tendons, bursae, and surrounding tissues on the outer hip, is collectively known as greater trochanteric pain syndrome.
Compression increases when your hips are flexed beyond 90 degrees or when your top leg crosses over the midline of your body, both positions that happen naturally during side sleeping. That explains why the pain often hits only at night or is dramatically worse in bed compared to daytime.
The Most Common Causes
Gluteal Tendinopathy
Damage or degeneration of the tendons connecting your glute muscles to the hip bone is the primary driver of lateral hip pain. Despite being historically called “tendinitis,” most of these injuries don’t involve active inflammation. Instead, the tendon tissue breaks down over time from overuse, repetitive stress, or certain medications like corticosteroids and some antibiotics. Activities like running, stair climbing, and cycling increase your risk. So does simply spending long periods sitting with your legs crossed.
Bursitis
When the bursae on the outer hip become inflamed, lying directly on that side creates a deep, aching pain that can wake you up or prevent you from falling asleep. Bursitis can develop on its own or alongside tendon problems. It can also result from a hip injury, prior hip surgery, or rheumatoid arthritis. Hot and cold packs applied before bed can help when bursitis pain flares at night.
Osteoarthritis
The most common form of arthritis, osteoarthritis wears down the cartilage inside the hip joint itself. The pain typically shows up in the groin, thigh, or buttock area rather than the outer hip, and it’s usually worst in the morning or after long stretches of inactivity. Lying still for hours during sleep counts as inactivity, which is why you may wake up stiff and sore. Osteoarthritis pain tends to build gradually over months or years and affects both daytime and nighttime comfort, though the stiffness after being still all night can be especially noticeable.
Referred Pain From the Lower Back
Sometimes what feels like hip pain actually originates in your lumbar spine. Arthritis or disc problems in the lower back can send pain signals down into the hip and buttock area. If your hip pain comes with tingling, numbness, or weakness in the leg, the source is more likely your spine than your hip joint.
Why Side Sleeping Makes It Worse
Side sleeping is the most common position linked to nighttime hip pain because it places direct, sustained pressure on the outer hip. Your full upper body weight presses the bony prominence of the hip into the mattress, compressing everything in between. If your mattress is too firm, there’s even less cushioning to absorb that pressure. If it’s too soft, your hip sinks so far that your spine falls out of alignment, straining the muscles and ligaments around the pelvis.
Your top leg also plays a role. Without support, it drops forward and downward, pulling your pelvis into a twist. This rotates the lower spine and adds strain to the hip you’re lying on. Over a full night of sleep, that subtle misalignment adds up.
Sleep Position Adjustments That Help
The most straightforward fix for side sleepers is placing a pillow between your knees. This keeps your hips stacked and your spine in a neutral position, preventing the top leg from dropping forward and twisting your pelvis. Most people find it more comfortable to keep their knees slightly bent rather than straight, which further reduces strain on the lower back and encourages relaxed alignment of the spine, hips, and pelvis.
If one hip is the primary source of pain, avoid sleeping on that side. Switching to the opposite side with a knee pillow, or sleeping on your back with a pillow under your knees, removes the direct compression that triggers the pain. Back sleeping distributes weight more evenly and eliminates the lateral pressure entirely.
Pay attention to your hip angle as well. Curling into a tight fetal position pushes your hips past 90 degrees of flexion, which increases compression on the outer hip tendons. Keeping a more open angle at the hips, even slightly, can reduce irritation significantly.
Choosing the Right Mattress
Research consistently points to a medium-firm mattress, around 6.5 on a 10-point firmness scale, as the best option for improving sleep quality and reducing pain. But the ideal firmness depends on your sleeping position. Side sleepers generally do best with a medium-soft to medium mattress that lets the shoulder and hip sink in enough to maintain spinal alignment. Back sleepers benefit from medium to medium-firm support, while stomach sleepers need a firmer surface.
If your hip pain is sensitive to direct contact, a mattress with thick foam layers or all-foam construction provides better pressure relief than a traditional innerspring. The tradeoff is that softer, foam-heavy mattresses can be harder to move around on during the night. Joseph Hribick, a physical therapist and professor at Lebanon Valley College, recommends finding a balance between pressure relief and support so your spine and hips stay aligned regardless of position.
A mattress topper made of memory foam or latex can be a less expensive way to test whether more cushioning helps before committing to a new mattress.
Treatments Beyond Sleep Changes
Physical therapy focused on strengthening the glute muscles is the frontline treatment for most outer hip pain. Stronger glutes stabilize the hip and reduce the load on irritated tendons. A physical therapist can also identify movement patterns during the day, like habitual leg crossing or prolonged standing on one leg, that contribute to compression.
Stretching the hip flexors and the band of tissue running along the outer thigh can relieve some tightness, but aggressive stretching of already irritated tendons can backfire. Gentle, progressive loading exercises tend to produce better long-term results than stretching alone.
For bursitis that doesn’t respond to conservative measures, an injection into the bursa can reduce pain and inflammation for several months to up to a year. According to Cleveland Clinic, some people get permanent symptom relief from a single treatment. These injections work best when combined with physical therapy to address the underlying cause, otherwise the pain tends to return.
Over-the-counter anti-inflammatory medications can help manage flare-ups, particularly when bursitis is the main issue. Ice applied to the outer hip for 15 to 20 minutes before bed can also reduce nighttime discomfort.
Red Flags Worth Taking Seriously
Most nighttime hip pain is mechanical, caused by pressure, positioning, or wear and tear. But certain accompanying symptoms signal something that needs prompt medical evaluation. Be alert if your hip pain comes with fever, unintentional weight loss, night sweats, or loss of appetite, as these can indicate infection or other systemic conditions. Sudden onset of severe pain, inability to bear weight, visible swelling or deformity, and numbness or tingling in the leg also warrant urgent attention. A history of cancer makes any new, persistent bone pain worth investigating quickly.

