Quick Answer: Sleep on your back with a pillow under your knees and your upper body elevated 15-30 degrees. This keeps weight off the inflamed cartilage where your ribs meet the sternum. Avoid stomach sleeping entirely, as it compresses the front of your ribcage and twists your thoracic spine. A medium-firm mattress (5-7 on a 10-point scale) supports alignment without creating pressure points on tender costochondral joints.
In This Guide
- What Is Costochondritis and Why Does It Hurt at Night
- The Three Positions That Help
- The Position That Makes It Worse
- Pillow Setup for Each Position
- What Mattress Firmness Actually Works
- A 20-Minute Bedtime Routine for Costochondritis
- When to See a Doctor Instead of Adjusting Pillows
- FAQs
- Visit Our Brantford Showroom
Reading Time: 9 minutes
Costochondritis is one of those conditions where the daytime pain is manageable, but bedtime turns it into something else. You lie down, shift to find a comfortable position, and feel a sharp pull right where your ribs connect to the breastbone. Then you spend the next two hours trying not to move.
We hear about this at the showroom more often than you might expect. Someone comes in looking for a new mattress, and when we ask what is keeping them up at night, the answer is not back pain or a sagging mattress. It is chest wall pain that flares every time they roll over.
This guide covers what actually helps. Not theories. Positions, pillow configurations, and mattress choices based on what we know about costochondritis mechanics and what our customers with this condition have told us works.
What Is Costochondritis and Why Does It Hurt More at Night
Costochondritis is inflammation of the cartilage that connects your ribs to your sternum (breastbone). The joints involved are called costochondral junctions, and there are seven pairs of them. When one or more become inflamed, you get a sharp or aching pain in the front of your chest that worsens with pressure, movement, or deep breathing.
According to a rapid evidence review published in American Family Physician (2021), costochondritis accounts for 13-36% of emergency department visits for chest pain. It is not dangerous, but it is genuinely painful, and most patients see resolution within three weeks of conservative treatment.
Night makes it worse for three reasons:
- Gravity changes. When you stand, your ribcage hangs naturally. When you lie down, your body weight compresses the rib joints differently. Side sleeping concentrates force on the ribs closest to the mattress.
- Reduced distraction. During the day, your brain processes competing signals. At night, with fewer sensory inputs, pain perception increases. This is well-documented in chronic pain research.
- Inflammatory cycles. Cortisol (your body's natural anti-inflammatory) dips to its lowest levels between midnight and 4 a.m. If you have costochondritis, this is often when flares peak.
Medical Context
Costochondritis is classified as a benign, self-limiting condition by the Mayo Clinic and Cleveland Clinic. Standard treatment includes NSAIDs, rest, heat or ice, and physical therapy. Sleep positioning is considered a supportive measure, not a replacement for medical treatment. If your chest pain is new, severe, or accompanied by shortness of breath, seek emergency medical care to rule out cardiac causes. This article is not medical advice.
8 min read
The Three Positions That Help
1. Back Sleeping with Elevated Upper Body (Best Option)
This is the gold standard. Lying on your back distributes your body weight evenly and keeps direct pressure off the costochondral junctions. Elevating your upper body 15-30 degrees reduces the gravitational compression on your ribcage and opens up your breathing.
You can achieve this with:
- A adjustable bed base set to a slight incline (the easiest long-term solution)
- A foam wedge pillow placed under your regular pillow
- Two firm pillows stacked (less ideal, tends to shift overnight)
Place a pillow under your knees as well. This flattens the lumbar curve and prevents your lower back from arching, which can indirectly pull on the thoracic rib attachments.
2. Side Sleeping on the Pain-Free Side
If you cannot sleep on your back (and many people genuinely cannot), lie on whichever side has less inflammation. Most costochondritis presents on the left side, so right-side sleeping is usually more comfortable.
The critical addition: hug a pillow. Hold a medium-firm pillow against your chest with both arms. This prevents your top arm from pulling across your body and stressing the inflamed joints. It also keeps your chest slightly open rather than collapsing inward.
3. Reclined Position (Temporary Relief)
During acute flares, some people find sleeping in a recliner or fully propped up in bed (45-60 degrees) more tolerable than lying flat. This is not a long-term solution because it compromises spinal alignment, but for a bad night, it works.
Dorothy, Sleep Specialist: "When a customer tells me they have costochondritis, the first thing I ask is whether they have tried an adjustable base. Being able to raise the head of the bed 15-20 degrees without stacking pillows makes a real difference. The pillow stacking approach always shifts during the night, and then they wake up flat on their back with the pain right back."
The Position That Makes It Worse
Stomach sleeping. Full stop.
When you sleep face-down, your entire body weight presses through the front of your ribcage directly onto the inflamed costochondral joints. Your thoracic spine hyperextends, your neck rotates 90 degrees to breathe, and the twisting force ripples through every rib attachment.
If you are a lifelong stomach sleeper with costochondritis, transitioning away from it will be uncomfortable for a week or two. But the trade-off is worth it. A body pillow placed along your side can help prevent you from rolling onto your stomach during the night.
Pillow Setup for Each Position
Getting the position right matters less if your pillows are wrong. Here is what we recommend for each approach:
| Position | Head Pillow | Body Support | Purpose |
|---|---|---|---|
| Back (elevated) | Medium loft, supportive | Wedge under torso + pillow under knees | Opens ribcage, reduces joint compression |
| Side (pain-free side) | High loft to fill shoulder gap | Hug pillow + pillow between knees | Prevents arm pulling across chest |
| Reclined (acute flare) | As needed for neck | Bolster under knees, pillows at sides | Takes pressure off chest entirely |
The hug pillow for side sleeping is the single most underrated adjustment. Dorothy started recommending it after a physiotherapist in Brantford mentioned it was the first thing she tells costochondritis patients, and the feedback from customers who tried it has been consistently positive.
What Mattress Firmness Actually Works
Costochondritis creates a specific mattress challenge. You need enough support to keep your spine aligned (so the rib joints are not being pulled in odd directions), but enough cushion that the mattress does not push back against tender cartilage when you lie on your side.
The answer for most people is medium to medium-firm (5-7 on a 10-point scale).
- Too soft (below 4): Your torso sinks, creating spinal misalignment that puts asymmetric stress on rib joints. The hammock effect is particularly bad for costochondritis because it lets one side of the ribcage drop lower than the other.
- Too firm (above 8): Creates pressure points on the sternum and ribs, especially for side sleepers. A rock-hard mattress with costochondritis is like lying on a board with a bruised chest.
- Medium-firm (5-7): Supports the heavier parts of your body (hips, shoulders) while contouring enough to distribute pressure across the ribcage rather than concentrating it.
Hybrid mattresses with individually pocketed coils tend to perform well for this condition. The coils provide core support while the foam comfort layer handles pressure relief. The Restonic ComfortCare with 1,222 pocketed coils in queen is a common recommendation from our team for conditions involving rib or chest wall pain.
Quick Test You Can Do at Home
Lie on your current mattress in your usual sleep position. Have someone look at your spine from behind. If your spine curves visibly toward the mattress (sagging) or your hips are pushed upward (too firm), the mattress is working against your costochondritis. Your spine should look roughly straight from shoulders to hips.
A 20-Minute Bedtime Routine for Costochondritis
This is not a generic "sleep hygiene" list. These are steps specifically targeted at reducing costochondritis pain before you get into bed.
20 minutes before bed: Apply a warm compress or heating pad to the front of your chest for 10-15 minutes. Heat increases blood flow to the inflamed cartilage and reduces muscle guarding around the rib joints. Some people prefer ice instead. Try both and use whichever gives you more relief.
10 minutes before bed: Do gentle chest opening stretches. Stand in a doorway, place your forearms on either side of the frame at shoulder height, and lean forward gently until you feel a mild stretch across your chest. Hold for 20-30 seconds. Repeat three times. Do not push into pain.
5 minutes before bed: Take your prescribed NSAID (if applicable) with a small snack. Timing anti-inflammatories for peak absorption during sleep can help manage the cortisol dip that worsens inflammation in the early morning hours.
In bed: Get into position first, then arrange your pillows. Do not try to arrange everything and then slide into place. Set the wedge or adjust the base, lie down, place the knee pillow, and then settle in. Moving less once positioned means less irritation to the joints.
Brad, Owner, 40+ years of experience: "I went through a bout of costochondritis myself about ten years ago. Thought I was having a heart attack, went to the ER, and they told me it was inflamed cartilage. What actually helped me sleep was raising the head of the bed with an adjustable base and using a heating pad before bed. Took about two weeks before I stopped dreading nighttime."
When to See a Doctor Instead of Adjusting Pillows
Sleep positioning helps manage costochondritis symptoms, but it does not treat the underlying inflammation. See your doctor or visit a walk-in clinic if:
- Your chest pain is new and you have not been diagnosed with costochondritis
- Pain is accompanied by shortness of breath, dizziness, or pain radiating to your arm or jaw
- Symptoms have not improved after 3-4 weeks of conservative treatment
- You have a fever alongside the chest pain
- Pain is severe enough to prevent you from sleeping more than 3-4 hours per night
In Ontario, you can also ask your family physician for a referral to a physiotherapist who specializes in thoracic conditions. Physiotherapy is covered by many employer health benefits in Canada, and manual therapy techniques can help resolve costochondritis faster than rest alone.
Sources
- Schumann, J.A. et al. (2024). "Costochondritis." StatPearls [Internet]. National Center for Biotechnology Information. NCBI Bookshelf.
- "Costochondritis: Rapid Evidence Review." American Family Physician, 104(1), July 2021, pp. 73-78.
- Mayo Clinic. "Costochondritis: Symptoms and Causes." mayoclinic.org.
- Cleveland Clinic. "Costochondritis: What It Is, Causes, FAQs and Treatment." clevelandclinic.org.
- GoodRx Health. "6 Costochondritis Exercises to Relieve Chest Pain." goodrx.com.
Shop This Topic at Mattress Miracle
Popular picks at Mattress Miracle:
Or see all our mattresses in our Brantford showroom.
Find Your Perfect Mattress at Mattress Miracle
We are a family-owned mattress store in Brantford, helping our community sleep better since 1997. Come try mattresses in person and get honest, no-pressure advice.
441 1/2 West Street, Brantford, Ontario
Call 519-770-0001Frequently Asked Questions
How long does costochondritis usually last?
Most cases resolve within 1-3 weeks with conservative treatment (NSAIDs, rest, heat therapy). Some cases persist for several months, particularly if the underlying cause (repetitive strain, heavy lifting, persistent cough) continues. A study in American Family Physician found that 91% of patients with new-onset costochondritis had pain resolution within three weeks.
Should I use heat or ice for costochondritis before bed?
Both can work. Heat is generally preferred because it relaxes the intercostal muscles around the inflamed cartilage and increases blood flow. Apply a heating pad for 10-15 minutes, not directly on skin. Ice is better if you have acute swelling or if the area feels hot and puffy. Some people alternate: 10 minutes heat, 5 minutes ice, 10 minutes heat.
Can an adjustable bed help with costochondritis?
Yes, and it is one of the most practical long-term solutions. Raising the head of the bed 15-30 degrees reduces compression on the costochondral joints without the instability of stacked pillows. An adjustable base also lets you fine-tune the angle as your condition improves. We carry adjustable bases starting at several price points.
Is a firm or soft mattress better for costochondritis?
Neither extreme. A medium to medium-firm mattress (5-7 on a 10-point scale) works best. Too soft allows spinal misalignment that stresses rib joints asymmetrically. Too firm creates pressure points on the sternum and ribs. A hybrid mattress with pocketed coils and a foam comfort layer balances support and pressure relief.
Why does costochondritis get worse when I lie down?
Three factors converge at night. First, lying down changes how gravity loads your ribcage, redistributing force through the inflamed joints. Second, your body's natural anti-inflammatory hormone (cortisol) drops to its lowest level between midnight and 4 a.m. Third, reduced sensory input at night amplifies pain perception. Elevating your upper body and using proper pillow support addresses the first factor directly.
Related Reading
- Mattress Guide for Rare Conditions: EDS, Marfan, Ankylosing Spondylitis
- Best Sleeping Positions When You're Pregnant
- Adjustable Beds at Mattress Miracle
- Mattress Firmness Guide 2026
- Trigeminal Neuralgia Sleep Position: How to Rest Without Triggering Face Pain
- Gamer Back Pain and Posture: The Mattress and Sleep Position Solution
- Neck Pain and Sleep: Mattress, Pillow, and Position Guide
- Best Mattress by Sleep Position and Pain Condition: Complete Material Guide Canada
- Best Pillow for Neck Pain Canada: Research-Backed Guide by Sleep Position
Visit Our Brantford Showroom
We are located at 441½ West Street in downtown Brantford. Free parking available. Our team does not work on commission, so you get honest advice based on your needs.
Mattress Miracle — 441½ West Street, Brantford, ON — (519) 770-0001
Hours: Monday-Wednesday 10am-6pm, Thursday-Friday 10am-7pm, Saturday 10am-5pm, Sunday 12pm-4pm.
If chest wall pain is disrupting your sleep, come in and test mattresses in the firmness range that works for costochondritis. We can also show you adjustable bases and pillow options. Call Talia at (519) 770-0001 to let us know you are coming so we can have the right options ready.