Sleeping with quadratus lumborum pain comes down to keeping your spine neutral and taking pressure off the muscle before you get into bed. The QL runs deep in your lower back, connecting your pelvis to your lowest rib and the upper lumbar spine. It stabilizes your trunk and helps you bend sideways, which means it’s under some degree of tension in almost every position. The wrong sleeping posture can keep it compressed or stretched all night, turning a bad day into a worse morning.
Why the QL Hurts More at Night
During the day, you shift positions constantly. At night, you may stay in one posture for hours. If you sleep on your side without support, gravity pulls your top hip downward and your spine sags into a lateral curve. The QL on the upper side gets stretched while the one on the lower side gets compressed. Both scenarios can trigger or sustain a spasm. Sleeping on your stomach is even worse because it forces your lumbar spine into extension and often adds a twist, loading the QL from multiple angles at once.
Best Sleeping Positions for QL Pain
Side Sleeping
Draw your legs up slightly toward your chest and place a firm pillow between your knees. This aligns your spine, pelvis, and hips so neither QL is being pulled or compressed. If you still feel a gap between your waist and the mattress (common if you have wider hips or shoulders), tuck a small rolled towel into that space. That extra support prevents your spine from dipping toward the bed, which is the exact lateral bend that aggravates the QL.
Try to sleep on the side that feels less painful. If your right QL is the problem, lying on your left side keeps the irritated muscle on top where it’s under less compressive load.
Back Sleeping
Place a pillow under your knees. This relaxes the muscles along your lower back and preserves the natural lumbar curve. For more targeted QL support, add a small rolled towel under your waist on the affected side. The combination takes the pull off the QL by letting your pelvis settle into a neutral tilt rather than being tugged forward or sideways by tight hip flexors.
Stomach Sleeping
This is the position most likely to make QL pain worse. If you truly can’t fall asleep any other way, place a thin pillow under your lower abdomen to reduce the arch in your low back. Skip the head pillow entirely, or use an extremely flat one, to minimize spinal rotation. Transitioning away from stomach sleeping is worth the effort if QL flare-ups keep returning.
Choosing the Right Mattress Firmness
A systematic review in the Journal of Orthopaedics and Traumatology found that medium-firm mattresses promote better spinal alignment, more comfort, and less pain in people with chronic low back problems. Too soft and your hips sink, creating that lateral spinal sag. Too firm and your shoulders and hips can’t press in enough, leaving your waist unsupported. If replacing your mattress isn’t an option, a medium-firm mattress topper can change the feel without the cost. You can also test the concept cheaply: if a night on a firmer surface (even a yoga mat on carpet) reduces your morning stiffness, your current mattress is likely too soft.
Pre-Sleep Stretching for the QL
Loosening the QL before bed can reduce the baseline tension you carry into the night. One effective stretch requires nothing but your bed:
- Lie on your back with your knees bent and feet flat on the mattress.
- Cross one leg over the other.
- Gently drop both knees toward the side of the top leg.
- You should feel a stretch in the lower back and buttock area on the opposite side.
- Hold for 20 to 30 seconds, then slowly return your knees to center.
- Repeat on the other side.
Do two or three rounds per side. The goal is a gentle pull, not pain. A standing side bend also works well: stand with feet shoulder-width apart, raise one arm overhead, and lean away from the painful side until you feel a stretch along your flank. Hold for 20 seconds. These stretches calm the QL enough to make the first 30 minutes of lying down more tolerable, which is often the hardest window.
Heat and Ice Before Bed
If your QL is in active spasm, applying heat for 15 to 20 minutes before you lie down can relax the muscle and improve blood flow. A heating pad or warm towel placed against your lower back on the affected side works well. Keep sessions under 20 minutes and avoid falling asleep on a heating pad.
If the pain started recently from a sudden movement or strain, cold therapy may be more useful in the first 48 to 72 hours. Ice for 10 to 15 minutes (never more than 20) to limit inflammation. After the initial inflammatory phase passes, switch to heat to address the stiffness that follows. Some people find alternating between the two most effective in the days after a flare-up.
Getting In and Out of Bed Safely
The moment you’re most likely to re-aggravate the QL is when you sit up in bed. A standard crunch-style sit-up forces the muscle to fire hard, often triggering a sharp spasm. The log roll technique avoids this entirely:
- Bend your knees while still lying down.
- Scoot your body toward the edge of the bed.
- Roll your entire body as one unit onto your side, keeping your spine straight.
- Lower your legs off the edge while pushing up with your arms simultaneously.
- Place your feet on the floor and stand by pressing off the mattress edge.
Reverse the process to get back in. This keeps your trunk from bending or twisting, which is what the QL controls and what causes pain when it’s irritated. It feels awkward at first, but most people notice an immediate difference in their pain levels.
When It Might Not Be the QL
The QL sits in the same neighborhood as your kidneys, and the two can produce similar-feeling pain. There are reliable ways to tell them apart. QL pain is muscular: it worsens with specific movements like bending sideways or twisting, it may feel stiff in the morning and loosen as you move, and it’s usually centered over the spine or just beside it in the lower back. Kidney pain tends to sit higher, under your rib cage on one or both sides, and feels deeper. It often radiates to the groin or abdomen and can come in waves. A constant dull ache in your flank that doesn’t change with movement, especially if accompanied by fever, nausea, or changes in urination, points toward the kidneys rather than the muscle.
Hip pain can also masquerade as QL trouble, but it generally sits lower on the back and is felt more in the buttock or outer hip. If your pain doesn’t respond to positional changes and stretching within a couple of weeks, or if it’s getting progressively worse, it’s worth getting a proper evaluation to rule out something beyond a muscular issue.

