Sleeping with rib pain during pregnancy is one of the most frustrating third-trimester challenges, but the right combination of positioning, pillow support, and daytime habits can make a real difference. Rib pain typically starts between weeks 28 and 40, when your growing uterus pushes upward against the rib cage and the ribcage itself widens to accommodate the baby. The good news: it almost always resolves after delivery.
Why Your Ribs Hurt More at Night
During the day, you can shift positions, stand up, or stretch whenever the pressure builds. At night, you’re stuck in a limited range of positions for hours. Lying down compresses the space between your ribs and your uterus even further, and the weight of the baby settles differently than when you’re upright. If you tend to sleep on the side where the baby’s feet are positioned, kicks to the ribs add another layer of discomfort.
The pain itself can feel like a dull ache along the lower ribs, sharp stabs when you breathe deeply, or a burning soreness in the cartilage connecting your ribs to your breastbone. All of these get worse when you can’t move freely, which is exactly the situation sleep puts you in.
The Best Sleeping Position for Rib Pain
Left-side sleeping is the strongest starting point. It reduces pressure on the rib cage and improves blood flow to both you and the baby. If your rib pain is worse on one side (often the right, where the baby’s feet tend to land), sleeping on the opposite side keeps direct pressure off the sorest area.
The key is not just which side you choose but how you prop yourself. A slight recline can take significant pressure off the ribs compared to lying flat. If you have an adjustable bed or a wedge pillow, elevating your upper body by 15 to 30 degrees opens up space between the uterus and the rib cage. Some people find that a recliner is actually more comfortable than a bed during the worst weeks.
How to Use Pillows for Rib Support
Pillows are your most important tool, and you’ll likely need more than one. A C-shaped or U-shaped body pillow wraps around you and provides support in multiple places at once, but you can also build a similar setup with regular pillows. Here’s where to place them:
- Between your knees: This aligns your hips and spine, which reduces the pull on your lower ribs. Without it, your top leg drops forward and twists your torso, adding strain to the rib area.
- Under your belly: A pillow tucked beneath your upper abdomen lifts some of the uterus’s weight before it presses into the ribs. This is the placement that makes the most direct difference for rib pain specifically.
- Behind your back: A firm pillow along your spine keeps you from rolling onto your back during the night, which both worsens rib compression and reduces blood flow.
- Under your upper body: A wedge pillow or folded pillow beneath your torso creates a slight incline that shifts the baby’s weight downward, away from the ribs.
Experiment with the combination. The belly pillow and the incline together often provide more relief than either one alone.
Stretches That Ease Rib Pressure Before Bed
A short stretching routine before you lie down can loosen the muscles between and around your ribs, making the first hour of sleep significantly more comfortable.
The torso rotation is one of the most effective options. Sit on the floor with your legs crossed, hold your right foot with your left hand, place your right hand behind you, and slowly twist your upper body to the right. Hold for several seconds, then repeat on the other side. This opens the intercostal muscles (the small muscles between your ribs) and relieves tightness along the side of your torso.
The cat stretch also helps. Start on your hands and knees with your head in line with your back. Pull your stomach in gently, rounding your back upward. Hold for a few seconds, then relax back to a flat position. This mobilizes the upper back and takes tension off the area where the ribs attach to the spine. The backward stretch, where you curl from hands-and-knees back toward your heels with arms extended, targets the back, pelvis, and rib area together. Hold for several seconds and return to the starting position.
Even five minutes of these stretches can reduce the muscle guarding that makes rib pain feel sharper when you first lie down.
Breathing Exercises for Rib Flexibility
Diaphragmatic breathing helps maintain rib flexibility and directly decreases pain, according to NHS guidance on pregnancy rib pain. The technique is simple: place one hand on your chest and one on your belly, then breathe in slowly through your nose so that your belly rises while your chest stays relatively still. Exhale slowly through your mouth.
This matters for rib pain because shallow, chest-driven breathing (which is common in late pregnancy when space is tight) keeps the intercostal muscles tense and the ribs locked in a compressed position. Training your diaphragm to do more of the work gives the rib cage room to expand and contract naturally. Practicing this for a few minutes once you’re in bed can also help you relax enough to fall asleep despite residual discomfort.
Heat, Ice, and Other Quick Relief
A heating pad on low, wrapped in a thin towel, can relax tight muscles around the ribs before sleep. Keep it to 20 minutes or less, use the lowest effective setting, and don’t fall asleep with it on. One important note: avoid placing a heating pad directly on your abdomen during pregnancy. For rib pain specifically, positioning the heat on your side or upper back is both safer and more effective at reaching the muscles that are actually causing the discomfort.
Ice works better if the pain feels sharp or inflamed rather than achy. Wrap an ice pack in a cloth and apply it for 10 to 15 minutes. Some people alternate between heat and ice in the hour before bed and find the combination more effective than either one alone.
A warm bath before bed is another option. The buoyancy of the water temporarily lifts the weight of the uterus off your rib cage, and the warmth relaxes the surrounding muscles. Even 15 minutes can provide enough relief to help you fall asleep more easily.
What You Do During the Day Matters
Rib pain that builds throughout the day becomes harder to manage at night. Sitting hunched at a desk or slouching on a couch pushes your ribs closer to your uterus for hours, so by bedtime the muscles are already sore and inflamed. Sitting upright with your shoulders back and your chest open gives the ribs more room. If you work at a desk, standing periodically or using a chair with good lumbar support can prevent the worst of the daytime compression.
Maternity support bands may also help during the day. These garments lift the weight of the abdomen from below, which reduces how much upward pressure reaches the rib cage. Research on maternity support garments found that women who wore them had significantly less pain interfering with sleep compared to those who didn’t. The bands work by compressing and stabilizing the pelvic area while elevating the uterus slightly, redistributing the load away from the upper torso. Wearing one during active hours won’t directly help at night, but it can reduce the cumulative rib strain that makes nighttime pain worse.
Similarly, a well-fitted maternity bra with wide, supportive bands can reduce the pull on your rib cage. An underwire that digs into already-sore ribs will make things worse, so a wireless style with a broad underbust band is a better choice during the third trimester.
When Rib Pain Signals Something Serious
Most pregnancy rib pain is musculoskeletal and harmless. But pain specifically under the ribs on the right side deserves attention, because it can be a sign of preeclampsia or a related condition called HELLP syndrome. Preeclampsia causes high blood pressure and organ stress, and the liver swelling it produces creates pain in the upper right abdomen that can feel like rib pain.
If your right-sided rib pain comes with a severe headache, vision changes, sudden swelling in your face or hands, pain radiating to your right shoulder, or nausea and vomiting in the second half of pregnancy, these are warning signs that need immediate medical evaluation. The distinction matters because preeclampsia can progress quickly and requires treatment that goes well beyond positioning and pillows.
Costochondritis, an inflammation of the cartilage connecting the ribs to the breastbone, is another possibility. It produces a sharp, localized tenderness right at the front of the chest that worsens when you press on it or take a deep breath. It’s not dangerous, but it responds better to ice and gentle stretching than to the positional changes that help with general pregnancy rib pressure.