Our Services
Medical Information
Helpful Resources
Published on: 10/26/2026
Waking with rib pain after sleeping on your side often points to one of two causes: slipping rib syndrome, which involves clicking, popping, or a sliding sensation in the lower ribs from loose costal cartilage, or intercostal neuralgia, which causes sharp, burning, or electric nerve pain that wraps along a rib toward the chest or back. Position, pressure, and sleep posture can aggravate both, but the distinguishing details matter, including where the pain sits, whether movement reproduces it, and which red flags signal something more serious such as a fracture, shingles, or heart or lung involvement. There are several important factors to consider, so see below for the full comparison, self-check clues, and next steps.
Because these two conditions feel similar yet call for very different care, guessing can delay relief or allow a treatable problem to worsen. A free, instant, online symptom check takes only minutes, helps you organize what you are feeling into clear possibilities, and shows you whether to try conservative measures at home or get evaluated by a clinician now.
Last reviewed for medical accuracy: 10/26/2026
If your ribs hurt waking up on your side, the cause may be as simple as pressure from your sleeping position or a strained muscle. However, recurring or sharp rib pain can sometimes involve the joints, cartilage, or nerves between the ribs.
Two conditions that may cause this type of discomfort are slipping rib syndrome and intercostal neuralgia. They can feel similar, but their symptoms and treatment are somewhat different. Other problems—including chest wall strain, costochondritis, reflux, lung conditions, or heart-related pain—can also cause pain around the ribs. A healthcare professional can help determine the cause.
Slipping rib syndrome occurs when one of the lower “false ribs,” usually ribs 8 through 10, moves more than it should. These ribs are connected to each other by flexible cartilage rather than directly to the breastbone. If the supporting tissue becomes loose or irritated, the rib may shift and irritate nearby tissues or nerves.
The pain is often felt in the lower chest or upper abdomen, commonly on one side. Some people describe:
Sleeping on your side may place pressure on the lower ribs and make the symptoms more noticeable when you wake. The pain may also occur after exercise, a forceful cough, a minor injury, or repetitive twisting. In some cases, there is no obvious trigger.
Slipping rib syndrome is usually diagnosed from the symptom pattern and a physical examination. Standard X-rays may not show the problem because the rib movement can happen only during certain positions. A clinician may use specific examination maneuvers or dynamic ultrasound to observe movement while you reproduce the symptoms.
Intercostal neuralgia is pain caused by irritation, compression, or injury of an intercostal nerve. These nerves run between the ribs and help supply sensation to the chest wall and upper abdomen.
The pain may feel like:
Intercostal neuralgia can follow a rib injury, surgery, shingles, inflammation, or prolonged pressure. Occasionally, no clear cause is found. Sleeping in one position for a long time may aggravate an already irritated nerve, but simply waking with rib pain does not prove that neuralgia is present.
If a painful rash or clusters of blisters appear in the same area, shingles is a possibility. Shingles treatment works best when started promptly, so speak to a doctor as soon as possible rather than waiting for the rash to improve.
The two conditions can overlap because a moving rib may irritate an intercostal nerve. Still, the following differences can offer useful clues:
| Feature | Slipping rib syndrome | Intercostal neuralgia |
|---|---|---|
| Typical sensation | Catching, sharp, aching, or “slipping” pain | Burning, shooting, electric, or tingling pain |
| Common location | Lower ribs or upper abdomen | A narrow band along the chest or back |
| Movement | Often worse with twisting, bending, or rolling over | Often triggered by movement, touch, coughing, or deep breaths |
| Other clues | Clicking, popping, or a sense that a rib moves | Numbness, pins and needles, or sensitive skin |
| Possible triggers | Loose cartilage, injury, coughing, repetitive movement | Nerve injury, shingles, surgery, inflammation, or compression |
These descriptions are not a substitute for an examination. Chest wall pain can be difficult to identify by symptoms alone.
Side sleeping can compress the ribs, chest wall muscles, and shoulder. Your spine and pelvis may also rotate if your mattress or pillow does not support you well. This can strain the intercostal muscles or irritate a rib joint.
Other common explanations include:
Pain that is clearly linked to pressing on one spot, changing position, or moving the upper body is more suggestive of chest wall pain. Even so, this does not completely rule out other causes.
If the pain is mild, began recently, and you otherwise feel well, try reducing pressure on the painful side for several nights. Sleeping on your back or the opposite side may help. A pillow between your knees can reduce twisting, while a supportive pillow under the upper arm may prevent the shoulder and chest from rolling forward.
You can also consider:
Ask a pharmacist or doctor before using anti-inflammatory medicines if you have kidney disease, stomach ulcers, are taking blood thinners, are pregnant, or have other medical conditions. Do not tightly wrap or bind your chest, because this can restrict breathing and increase the risk of complications.
If symptoms keep returning, a clinician may recommend physical therapy, targeted exercises, prescription medication for nerve pain, or—when appropriate—a local anesthetic injection. Procedures are sometimes used for confirmed slipping rib syndrome or persistent nerve pain, but treatment depends on the diagnosis.
You might also consider a free, online symptom check, using the doctor-approved Ubie Symptom Checker to organize your symptoms before speaking with a healthcare professional. It cannot diagnose you or replace medical care, but it may help you decide what information to share.
Make an appointment if rib pain:
A doctor may examine your ribs, spine, lungs, and abdomen. Depending on your symptoms, they may order imaging or other tests. It is useful to note which side hurts, whether the pain is burning or mechanical, what movements trigger it, and whether you notice clicking, numbness, a rash, shortness of breath, or fever.
Do not assume new chest pain is caused by sleeping position. Speak to a doctor urgently or seek emergency care if the pain is severe, sudden, crushing, or pressure-like, or if it spreads to the arm, jaw, shoulder, or back. Emergency assessment is also important if rib or chest pain occurs with:
These symptoms can indicate a heart, lung, or other urgent problem. Even when the pain eventually turns out to be muscular or nerve-related, it is safer to be evaluated promptly when warning signs are present.
In short, pain when you wake after sleeping on your side may result from pressure or a strained chest wall, but recurring sharp or unusual pain can also fit slipping rib syndrome or intercostal neuralgia. A proper medical assessment is the best way to distinguish them and make sure a more serious cause is not missed.
(References)
* Udermann BE, Cavanaugh DG, Gibson MH, Doberstein ST, Mayer JM, Murray SR. Slipping Rib Syndrome in a Collegiate Swimmer: A Case Report. J Athl Train. 2005 Jun;40(2):120-122. PMID: 15970959; PMCID: PMC1150226.
* Ayloo A, Cvengros T, Marella S. Evaluation and treatment of musculoskeletal chest pain. Prim Care. 2013 Dec;40(4):863-87, viii. doi: 10.1016/j.pop.2013.08.007. PMID: 24209723.
* McMahon LE. Slipping Rib Syndrome: A review of evaluation, diagnosis and treatment. Semin Pediatr Surg. 2018 Jun;27(3):183-188. doi: 10.1053/j.sempedsurg.2018.05.009. Epub 2018 May 27. PMID: 30078490.
* Van Tassel D, McMahon LE, Riemann M, Wong K, Barnes CE. Dynamic ultrasound in the evaluation of patients with suspected slipping rib syndrome. Skeletal Radiol. 2019 May;48(5):741-751. doi: 10.1007/s00256-018-3133-z. Epub 2019 Jan 5. PMID: 30612161.
* McMahon LE. Recurrent Slipping Rib Syndrome: Initial Experience with Vertical Rib Stabilization Using Bioabsorbable Plating. J Laparoendosc Adv Surg Tech A. 2020 Mar;30(3):334-337. doi: 10.1089/lap.2019.0519. Epub 2019 Dec 31. PMID: 31895629.
* Fraser JA, Briggs KB, Svetanoff WJ, St Peter SD. Long-term outcomes and satisfaction rates after costal cartilage resection for slipping rib syndrome. J Pediatr Surg. 2021 Dec;56(12):2258-2262. doi: 10.1016/j.jpedsurg.2021.01.034. Epub 2021 Jan 27. PMID: 33546899.
* Patel N, John JK, Pakeerappa P, Aiyer R, Zador LN. Slipping rib syndrome: case report of an iatrogenic result following video-assisted thoracic surgery and chest tube placement. Pain Manag. 2021 Sep;11(5):555-559. doi: 10.2217/pmt-2020-0028. Epub 2021 May 13. PMID: 33980032.
* Girbau A, Álvarez-Rey G, Cano-Herrera CL, Balius R. Slipping rib syndrome: A clinical and dynamic-sonographic entity. A serial cases report. J Back Musculoskelet Rehabil. 2022;35(2):253-259. doi: 10.3233/BMR-200273. PMID: 34334374.
* Madeka I, Alaparthi S, Moreta M, Peterson S, Mojica JJ, Roedl J, Okusanya O. A Review of Slipping Rib Syndrome: Diagnostic and Treatment Updates to a Rare and Challenging Problem. J Clin Med. 2023 Dec 14;12(24). doi: 10.3390/jcm12247671. Epub 2023 Dec 14. PMID: 38137739; PMCID: PMC10743651.
* Hansen AJ, Hayanga JWA, Toker A, Badhwar V. Healthcare economic burden of unresolved slipping rib syndrome. JTCVS Open. 2024 Dec;22:485-490. doi: 10.1016/j.xjon.2024.09.022. Epub 2024 Sep 26. PMID: 39780787; PMCID: PMC11704521.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.