Sleeping with broken ribs is one of the hardest parts of recovery, and it starts the very first night. The key is sleeping in an elevated position, either propped up with pillows or in a recliner, to take weight off your rib cage and make breathing easier. Most people need at least a month to recover from a rib fracture, and sleep will gradually improve over that time as pain decreases. But the first two weeks are the toughest, and how you position yourself, manage pain, and get in and out of bed all make a real difference.
Best Sleeping Positions
A semi-upright position is the single most effective change you can make. Lying flat puts pressure on the rib cage and makes it harder for your lungs to fully expand, which increases both pain and the risk of complications. Elevating your upper body to roughly 30 to 45 degrees reduces that pressure significantly.
You have a few options for achieving this. A wedge pillow placed behind your back and head is the most stable choice, because it won’t shift during the night the way stacked pillows can. A recliner works just as well, and some people find it easier for the first few days since it also limits how much you can roll around. If you’re using regular pillows, stack them firmly so they support you from the lower back up, not just under your head.
If you’re a back sleeper, place a pillow under your knees as well. This helps maintain a natural spinal curve and reduces strain across the rib cage. If you strongly prefer sleeping on your side, lie on your uninjured side with a pillow between your knees to keep your spine aligned. You can also hug a body pillow or place a regular pillow across your chest and rest your arms on it. This reduces tension on the muscles between your ribs and prevents your top arm from pulling on the injured area.
Avoid sleeping on your stomach entirely. It forces your ribs into the mattress and twists your spine, which will increase pain and could slow healing.
Getting In and Out of Bed
The moments of getting into and out of bed can be more painful than lying there, so it’s worth learning a simple technique called the log roll. The goal is to move your torso as a single unit, without bending or twisting.
To get into bed, start by standing with the backs of your legs touching the side of the mattress. Reach your hands back and use your arms to lower yourself into a seated position on the edge. From there, keep your trunk straight, like a plank of wood that doesn’t bend. Use your arms to slowly lower your upper body onto your side while letting your legs rise onto the bed at the same time. The idea is that your torso stays in one stable position throughout the movement. Once you’re lying on your side, you can carefully roll onto your back if that’s where you sleep.
To get out of bed, reverse the process. Roll onto your side facing the edge. Use your arms to push your upper body up while lowering your legs to the floor. Keep your trunk straight the entire time, then sit upright on the edge before standing. Move slowly and deliberately. Rushing is when you’re most likely to twist and trigger a sharp pain spike.
Timing Pain Relief Before Bed
Taking pain medication before bed, rather than waiting until pain wakes you up, is one of the simplest ways to improve your sleep. Over-the-counter options like ibuprofen, naproxen, or acetaminophen can be enough for mild to moderate fractures. Take your dose about 30 minutes before you plan to lie down so it has time to take effect.
For the first few days, your doctor may prescribe stronger pain medication. If so, follow the prescribed schedule rather than skipping doses and trying to tough it out. Undertreated rib pain doesn’t just cost you sleep. It causes you to take shallow breaths, which can lead to serious lung complications (more on that below).
Icing also helps, particularly in the first 48 hours. Apply an ice pack for 20 minutes of every waking hour during the first two days, then 10 to 20 minutes three times daily after that. An icing session shortly before bed can reduce swelling and take the edge off enough to help you fall asleep.
Breathing Exercises Before Sleep
This is the part most people skip, and it matters more than you’d expect. When your ribs hurt, your body instinctively takes small, shallow breaths to avoid triggering pain. Over hours of sleep, that shallow breathing can cause parts of your lungs to partially collapse (a condition called atelectasis) or allow secretions to build up, raising your risk of pneumonia.
A meta-analysis of six studies found that guided breathing exercises reduced the incidence of atelectasis by roughly 77% in rib fracture patients. The exercises aren’t complicated. Every two hours while you’re awake, and once right before bed, take slow, deep breaths. Breathe in through your nose, letting your belly expand rather than just your chest. Hold for two to three seconds, then exhale slowly. Follow this with a gentle cough to clear any mucus. It will hurt, and that’s why taking pain medication first helps. Hugging a pillow against your injured side while you breathe and cough can brace the ribs and reduce the sting.
If your doctor provides an incentive spirometer (the clear plastic device with a floating ball), use it as directed. It gives you a visual target for how deeply you’re breathing and helps track your progress over days.
What to Expect Week by Week
The first one to two weeks are the worst for sleep. Pain peaks in the first few days, and any position change can wake you. Many people find they sleep in short stretches of two to three hours rather than a full night. This is normal and temporary.
By weeks two to three, symptoms typically improve enough that you can start sleeping in a less elevated position if it feels comfortable. You may still wake when rolling over, but falling back to sleep gets easier. By four to six weeks, most people are sleeping relatively normally again, though deep breaths and certain movements might still cause mild discomfort.
Throughout recovery, resist the urge to bind or wrap your ribs tightly. It might seem like it would help stabilize the fracture while you sleep, but binding restricts your breathing and significantly increases the risk of pneumonia. Doctors stopped recommending rib wrapping decades ago for this reason.
Warning Signs During the Night
Some symptoms during the night signal a complication that needs immediate attention. If you experience increasing shortness of breath that doesn’t improve when you sit up, a feeling of pressure or tightness in your chest beyond the fracture site, coughing up blood, or a fever developing days after the injury, these warrant emergency care. Difficulty breathing that gets worse over time, rather than gradually better, is the most important red flag. A broken rib can occasionally puncture the lung lining, and this can worsen during sleep when you’re less aware of changes in your breathing.

