Rib Cage (Thoracic Cage): Anatomy, Function, Bones, Joints and Common Problems
Updated: 2 days ago
Medically reviewed by Dr. Baraa Alnahhal, MD · Last reviewed: October 2026
Quick Answer: What is the rib cage?
The rib cage, or thoracic cage, is a flexible framework of 24 ribs, 12 thoracic vertebrae, the sternum, cartilage and joints that surrounds the chest cavity. It protects the heart and lungs, expands during breathing and anchors muscles such as the diaphragm. Problems include fractures and cartilage inflammation, but chest pain should be evaluated by a professional, not self-diagnosed. [1]
What the research says
Musculoskeletal causes account for roughly 1 in 6 emergency-department chest pain visits. A meta-analysis of 9 studies (14,743 participants) found a pooled prevalence of 16% (95% CI 10–22%), with high variation between studies (Mandrekar et al., Scandinavian Journal of Pain, 2021). [2]
In older adults with blunt chest trauma, age and the number of rib fractures track with worse outcomes. A systematic review of 13 cohort studies (79,313 patients) linked age, number of rib fractures and injury severity score to morbidity and mortality, though the studies were too varied to pool (Sawa et al., Canadian Journal of Emergency Medicine, 2018). [3]
Surgical fixation may lower mortality in selected patients with multiple rib fractures. A meta-analysis of 47 studies (1,078,795 patients) found lower all-cause mortality with surgical stabilization than with conservative care, particularly with flail chest and in patients over 60, but no advantage in hospital or ICU stay (Zhao et al., World Journal of Emergency Surgery, 2025). [4]

What is the rib cage?
The rib cage is a cage-like structure that frames the chest cavity. The medical term for it is the thoracic cage. The 24 ribs curve around the torso, with 12 on each side. They connect with the thoracic spine in back and with the sternum, or breastbone, in front. [1]
The rib cage is not a rigid shell. Its cartilage and joints give it enough flexibility to move as you breathe and change position. This balance between protection and movement is central to how the chest works. [1]
Definition: The rib cage is the system of ribs, thoracic vertebrae, sternum, cartilage and connecting joints that surrounds the chest cavity. [1]
What does the rib cage do?
The rib cage has several connected functions. It surrounds the heart and lungs, helping protect these vital organs from external force. It also expands with the lungs during breathing, so the chest can change volume as air moves in and out. [1]
As part of the axial skeleton, the rib cage helps form the trunk of the body. It also provides attachment points for core muscles, including the diaphragm. The joints and cartilage allow the structure to flex rather than behave like a single solid piece. [1]
Function | How the rib cage contributes |
Protection | Surrounds the heart and lungs within the chest cavity. |
Breathing movement | Expands with the lungs as the chest changes size. |
Structural support | Helps form the trunk as part of the axial skeleton. |
Muscle attachment | Provides attachment points for muscles such as the diaphragm. |
Movement | Uses cartilage and joints to remain flexible during breathing and body movement. |
Rib cage anatomy at a glance
The rib cage contains bones, cartilage and several kinds of joints. Together, these parts create a framework that is strong enough to protect the chest but flexible enough to move. [1]

The bones of the rib cage
The main bones are the 24 ribs, 12 thoracic vertebrae and the sternum. [1]
Bone or group | Count | Main relationship |
Ribs | 24 | Curve around the torso and connect the sternum in front with the thoracic spine behind. |
Thoracic vertebrae | 12 | Form the portion of the spinal column behind the chest, labeled T1 through T12. |
Sternum | 1 | A vertical bone that runs down the front of the chest. |
The ribs are curved, horizontal bones. Each rib meets the thoracic spine in back. The front ends of the upper ribs connect to the sternum through costal cartilage, while lower ribs have different front attachments. [1]
The joints and cartilage
The rib cage includes several joint groups. Costal cartilage extends from the ends of the first 10 ribs on each side and connects those ribs toward the sternum. Costochondral joints connect each rib with its corresponding costal cartilage. [1]
Interchondral joints connect the cartilage of ribs 6 through 10 to the cartilage above or below. Costovertebral joints connect the heads of the ribs to the corresponding vertebrae. Costotransverse joints create a second connection between the ribs and the transverse processes of the vertebrae. [1]
Structure | Count | What it connects |
Costal cartilages | 20 | The front ends of the first 10 ribs toward the sternum. |
Costochondral joints | 20 | Each rib to its costal cartilage. |
Interchondral joints | 10 | The costal cartilage of ribs 6 through 10 to neighboring cartilage. |
Costovertebral joints | 24 | The head of each rib to its corresponding vertebra. |
Costotransverse joints | 24 | Each rib to a transverse process of a vertebra. |
The many connections explain why the rib cage can be both stable and mobile. They also explain why an injury or inflamed joint can make breathing and movement uncomfortable.
What are true, false and floating ribs?
Healthcare professionals use these terms to describe how ribs connect at the front of the body.
Rib group | Ribs | Front attachment |
True ribs, or vertebrosternal ribs | 1–7 on each side | Attach directly to the sternum through their own costal cartilage. |
False ribs, or vertebrochondral ribs | 8–10 on each side | Reach the front of the rib cage through interchondral joints and the cartilage of the rib above. |
Floating ribs, or vertebral/free ribs | 11–12 on each side | Do not connect to the front of the rib cage; they end within the abdominal muscles. |
This classification describes attachment patterns, not whether one group is more important than another. Every rib contributes to the overall shape and movement of the thoracic cage.
Typical and atypical ribs
Ribs 3 through 9 are called typical ribs because they share a predictable structure. A typical rib has a wedge-shaped head, a neck with a bony tubercle and a curved body. [1]
Ribs 1 and 2 and ribs 10 through 12 are called atypical because their structures vary from the typical pattern. A cervical rib is different again: it is an extra bone that develops in the neck and is not part of the normal rib cage. [1]
How does the rib cage move during breathing?
When the lungs expand, the rib cage expands with them. Costal cartilage and the joints between the ribs and spine help the chest wall adapt to this movement. The diaphragm also attaches to the rib cage and contributes to breathing. [1]
This movement is why rib-cage discomfort may become more noticeable during a deep breath, a cough or other motion that expands the chest. Movement-related pain can occur with musculoskeletal conditions, but the pattern alone cannot establish a diagnosis.
What conditions can affect the rib cage?
Many conditions can affect the bones, joints, cartilage or shape of the rib cage. Some begin with an injury. Others involve inflammation, arthritis, bone strength, development or the chest wall. [1]
Category | Examples |
Injuries | Rib fractures, rib contusions and flail chest. |
Joint or cartilage conditions | Costochondritis, Tietze syndrome and slipping rib syndrome. |
Bone or inflammatory conditions | Osteoporosis, ankylosing spondylitis and rheumatoid arthritis. |
Chest-wall shape | Pectus excavatum and pectus carinatum. |
Other chest-wall conditions | Chest-wall tumors and changes related to birth defects. |
A condition affecting the rib cage does not automatically mean that the heart or lungs are involved. However, chest symptoms can overlap, so it is important to have symptoms assessed rather than assuming their cause.
What symptoms may suggest a rib-cage problem?
Symptoms vary with the specific condition. A rib-cage problem may cause musculoskeletal chest pain or a visible change in the shape of the chest. [1]
Musculoskeletal chest pain may feel different from cardiac chest pain or angina. It may become more noticeable when the rib cage moves, such as during coughing or deep breathing. A visible deformity after an injury or because of a developmental difference is a reason to arrange a healthcare evaluation.
A practical symptom guide
Finding | What it may mean |
Pain with movement, coughing or deep breathing | May reflect a moving chest wall or musculoskeletal structure, but does not identify the cause by itself. |
Local soreness, stiffness or swelling | May occur with an irritated joint, cartilage or surrounding tissue. |
Visible change in chest shape | May follow an injury or relate to a structural or developmental condition. |
Chest pain with an unfamiliar or concerning pattern | Should be assessed rather than labeled as rib pain without an examination. |
New, severe or unexplained chest pain should not be self-diagnosed. Call emergency services (911 in the US) for chest pain that is intense, rapidly worsening, comes with breathing difficulty, sweating, nausea or lightheadedness, or spreads to the arm, neck, jaw or back, because these can be signs of a heart attack.
How are rib-cage problems evaluated?
Evaluation begins with the symptoms, the history of an injury or illness and a physical examination. A healthcare professional may assess where the pain is located, whether it changes with movement and whether there is visible swelling or deformity. [1]
Imaging is selected according to the question being asked. A chest X-ray may help examine bones and the chest. Ultrasound, CT and MRI provide different views of the chest wall and nearby structures. A DXA scan evaluates bone density when bone strength is part of the concern. [1]

Test or procedure | What it may help examine |
Chest X-ray | The chest and many bony structures, including possible rib or lung findings. |
Ultrasound | Selected soft-tissue or chest-wall findings, depending on the clinical question. |
CT scan | Detailed cross-sectional views of bones and nearby chest structures. |
MRI | Detailed views of soft tissues and selected chest-wall structures. |
DXA scan | Bone mineral density when osteoporosis or bone strength is being evaluated. |
The most appropriate test depends on the symptoms, history and examination. A scan is one part of an evaluation and does not, on its own, explain every type of chest pain.
How are rib-cage conditions treated?
Treatment depends on the type and cause of the problem. Many rib injuries improve with time, rest and pain relievers. A visible deformity may require surgery. Arthritis-related conditions may be treated with medications, therapeutic injections or physical therapy, and some severe cases may also require surgery. [1]
A treatment plan should match the specific diagnosis and the person’s overall health. Avoid assuming that a supplement, exercise or procedure is appropriate without professional guidance, especially after an injury or when chest pain is present.
Situation | Possible care approach |
Many uncomplicated injuries | Time, rest and pain relief may be part of recovery. |
Arthritis-related pain or stiffness | Medication, therapeutic injections or physical therapy may be considered. |
Visible deformity or severe structural problem | A healthcare professional may discuss surgery. |
Unclear chest symptoms | Evaluation comes before choosing rib-focused treatment. |
How is rib cage pain different from other chest pain?
The rib cage can cause musculoskeletal chest pain, particularly when the chest wall moves. But chest pain can also arise from the heart, lungs or other structures. Similar locations do not guarantee similar causes.
For that reason, it is safer to describe the timing, location, triggers and quality of pain to a healthcare professional than to decide that the pain is “just a rib.” A clinician may recommend an examination, testing or imaging based on the full picture.
How can you get the most from a healthcare visit about the rib cage?
Before an appointment, note when the symptom began, whether an injury occurred and whether movement, coughing or deep breathing changes it. Write down any visible swelling or change in shape, what makes the symptom better or worse and whether it is affecting daily activities.
Bring a list of medicines and relevant medical conditions. If you already have an imaging report, bring the report or ask how the findings relate to your symptoms. A clear timeline often helps a professional decide what needs to be examined first.
What questions should you ask a healthcare professional about the rib cage?
Useful rib cage questions cover whether pain suggests a chest-wall cause, which part is involved, whether imaging is needed and which symptoms need urgent evaluation.
Does the pattern of pain suggest a chest-wall or musculoskeletal cause, or should other causes be considered?
What part of the rib cage appears to be involved?
Do I need imaging, and what question would the test answer?
If an injury is present, what activities should I limit while it heals?
What symptoms should prompt an earlier or urgent evaluation?
When should I expect follow-up if pain or movement difficulty continues?
Conclusion: A flexible, protective framework
The rib cage is a flexible protective framework made from ribs, thoracic vertebrae, the sternum, cartilage and several joint groups. It protects the heart and lungs, moves with breathing, supports the trunk and anchors muscles such as the diaphragm. [1]
Rib fractures, contusions, cartilage and joint problems, arthritis, changes in chest shape and other chest-wall conditions can all affect comfort and movement. Because chest symptoms can have more than one cause, a professional evaluation is the safest way to connect symptoms with the right examination, imaging and care plan. [1]
Frequently Asked Questions
How many ribs are in the rib cage?
There are 24 ribs in the rib cage: 12 on the left and 12 on the right.
What bones make up the rib cage?
The rib cage includes 24 ribs, 12 thoracic vertebrae and the sternum. Cartilage and joints connect these bones into a flexible structure.
What do the ribs protect?
The rib cage surrounds and helps protect the heart and lungs inside the chest cavity.
What are true ribs?
True ribs are ribs 1 through 7 on each side. Each attaches directly to the sternum through its own costal cartilage.
What are false ribs?
False ribs are ribs 8 through 10 on each side. They do not attach directly to the sternum; instead, their front connection is formed through interchondral joints and the cartilage of the rib above.
What are floating ribs?
Floating ribs are ribs 11 and 12 on each side. They do not connect to the front of the rib cage and end within the abdominal muscles.
Why can rib-cage pain hurt more when I breathe deeply?
Deep breathing expands the rib cage. If a rib, joint, cartilage or nearby chest-wall structure is irritated, that movement may make pain more noticeable. This pattern does not identify the cause by itself.
What imaging tests can examine the rib cage?
Possible tests include a chest X-ray, ultrasound, CT scan, MRI or DXA scan. The best choice depends on the symptom, history and clinical question.
Can a rib-cage problem affect breathing?
Pain, stiffness or swelling in the chest wall can make movement and breathing uncomfortable. Significant breathing difficulty or new severe chest pain needs urgent medical attention rather than self-diagnosis.
How are rib-cage conditions treated?
Treatment depends on the condition and cause. Options may include time, rest, pain relievers, medications, therapeutic injections, physical therapy or surgery.
Related Reading
Rib Fracture: Symptoms, Causes, and Recovery Guide explains broken ribs, their warning signs and how they heal.
Costochondritis: What It Is, Why It Hurts, and How Long It Lasts covers inflamed rib cartilage that causes chest wall pain.
The Sternum (Breastbone): Anatomy, Function, and Common Conditions describes the breastbone at the front of the rib cage.
Intercostal Muscles: Anatomy, Function, and Common Conditions explains the muscles between the ribs that help you breathe.
References
Cleveland Clinic. Rib Cage (Thoracic Cage): What It Is, Anatomy & Function. Cleveland Clinic. Last updated October 29, 2024. https://my.clevelandclinic.org/health/body/rib-cage
Mandrekar S, Venkatesan P, Nagaraja R. Prevalence of musculoskeletal chest pain in the emergency department: a systematic review and meta-analysis. Scand J Pain. 2021;21(3):434-444. PMID 33838099. https://doi.org/10.1515/sjpain-2020-0168
Sawa J, Green RS, Thoma B, et al. Risk factors for adverse outcomes in older adults with blunt chest trauma: a systematic review. CJEM. 2018;20(4):614-622. PMID 28797311. https://doi.org/10.1017/cem.2017.377
Zhao P, Ge Q, Zheng H, et al. Clinical outcome analysis for surgical fixation versus conservative treatment on rib fractures: a systematic evaluation and meta-analysis. World J Emerg Surg. 2025;20(1):10. PMID 39910551. https://doi.org/10.1186/s13017-025-00581-y
Disclaimer
This article is for general educational purposes and is not a substitute for professional medical advice, diagnosis or treatment. Always seek the advice of a qualified health provider with any questions you may have regarding a medical condition.
It explains rib-cage anatomy, function, common conditions, symptoms and evaluation in clear language. It does not determine the cause of an individual’s chest pain, replace a professional examination or provide individualized treatment instructions.




Comments