Your primary care doctor is almost always the right first stop for rib cage pain, because the cause determines which specialist you need, and figuring out the cause is what primary care physicians are trained to do. Most rib cage pain turns out to be musculoskeletal, but the list of possible causes is long enough that jumping straight to a specialist without a preliminary evaluation can send you to the wrong one. Depending on what your doctor finds, you could end up with an orthopedist, a rheumatologist, a pulmonologist, a pain management specialist, or even a thoracic surgeon.
Why Primary Care Comes First
Rib cage pain is frustratingly nonspecific. The same general area can hurt because of a cracked rib, inflamed cartilage, a pinched nerve, pleurisy, a kidney stone, or anxiety-driven hyperventilation. A primary care provider’s job in this situation is to take a careful history, examine you, and narrow the possibilities before sending you somewhere more specialized. In a cross-sectional study of chest pain presentations in primary care, physicians used standardized histories and physical exams with pictograms mapping the exact location and radiation of pain to guide their diagnostic thinking.1PubMed Central. Chest pain in primary care: is the localization of pain diagnostically helpful in the critical evaluation of patients? – A cross sectional study That kind of structured approach matters because where the pain is, how it behaves when you move or breathe, and what else is going on in your body all point toward very different referral paths.
If you are experiencing sudden, severe rib cage pain with shortness of breath, dizziness, or pain radiating to the arm or jaw, skip the scheduled appointment and go to an emergency department. Those symptoms can signal a heart attack, pulmonary embolism, or pneumothorax, all of which need immediate workup. But for pain that has been building over days or weeks, or that you can reproduce by pressing on your chest wall, a primary care visit is the efficient starting point.
Orthopedics for Musculoskeletal Pain
The single most common category of rib cage pain is musculoskeletal. This includes costochondritis (inflammation where the ribs attach to the breastbone), muscle strains in the chest wall, and rib fractures from injury or repetitive stress. If your doctor suspects one of these, an orthopedic surgeon or sports medicine physician is the typical referral.
Costochondritis is worth special mention because it is so common and so often misidentified by patients as something cardiac. The pain is sharp, localized to one or more spots along the breastbone, and gets worse when you press on it or twist your torso. It generally resolves on its own with rest and anti-inflammatory medication. Tietze syndrome is a related but less common condition where the cartilage actually swells visibly. Neither requires surgery, and most cases are managed without a specialist at all. But when costochondritis recurs or does not respond to standard treatment, an orthopedist or rheumatologist can investigate further.
Rib fractures from trauma are straightforward: you know you got hit or fell, the X-ray shows a break, and the orthopedist manages healing. What trips people up are stress fractures, hairline cracks that develop gradually from repetitive loading. These are common in rowers, golfers, and athletes who do heavy overhead lifting. A collegiate rower with recurrent anterior rib stress fractures that did not heal with conservative care ultimately required rib plating and chest wall reconstruction, with complete pain resolution four weeks after surgery.2PubMed Central. Rib Plating of Recurrent, Nonunion Rib Stress Fractures in an Elite Athlete That is an extreme case, but it illustrates why persistent rib pain in athletes deserves specialist attention rather than just “rest and wait.”
Rheumatology When Inflammation Is Driving the Pain
If your rib cage pain is accompanied by morning stiffness, pain that improves with movement rather than rest, or a known inflammatory condition like ankylosing spondylitis, a rheumatologist should be on your radar. Ankylosing spondylitis can attack the costovertebral joints, the small joints where the ribs connect to the spine. CT scans of patients with ankylosing spondylitis and lower thoracic pain found abnormal costovertebral joints in about 82% of cases, showing erosion, sclerosis, and joint widening that explain the pain.3PubMed. Costovertebral joint changes in ankylosing spondylitis with thoracic pain In more advanced disease, these joints can fuse entirely, which limits chest expansion and changes how you breathe.
Even more dramatic cases have been documented. One patient with ankylosing spondylitis developed severe thoracic pain traced to a destructive arthropathy of a costovertebral joint, with CT revealing significant bone loss at the head of the eleventh rib.4PubMed. Costovertebral joint erosion in ankylosing spondylitis Erosive costovertebral joint arthritis is considered an uncommon manifestation of the disease, but it underscores why thoracic pain in someone with known or suspected spondyloarthritis warrants rheumatology involvement.5PubMed. Erosive Costovertebral Joint Arthritis-An Uncommon Manifestation of Ankylosing Spondylitis
Other inflammatory and autoimmune conditions can also cause rib cage pain, including rheumatoid arthritis affecting the sternoclavicular joints and fibromyalgia producing widespread chest wall tenderness. A rheumatologist is the specialist who can sort through these overlapping possibilities and adjust treatment accordingly.
Slipping Rib Syndrome and Who Manages It
Slipping rib syndrome is one of the more underdiagnosed causes of rib cage pain, and patients often bounce between specialists for months or years before someone identifies it. The condition occurs when one or more of the lower ribs (typically the eighth through tenth) become abnormally mobile, slipping over each other or hooking under the rib above. The result is a clicking or popping sensation along the lower rib margin, sometimes with sharp, stabbing pain.6PubMed Central. A Review of Slipping Rib Syndrome: Diagnostic and Treatment Updates to a Rare and Challenging Problem
Diagnosis is primarily clinical, often confirmed by the “hooking maneuver,” where a doctor curls their fingers under the lower rib margin and pulls outward. If this reproduces your pain and produces a click, the diagnosis is strongly suspected. Dynamic ultrasound, where the rib is watched in real time as you move, can add further confirmation. Pain relief from a targeted nerve block is considered definitive evidence.7PubMed Central. A Comprehensive Review of Slipping Rib Syndrome: Treatment and Management
The question of which specialist handles slipping rib syndrome depends on the stage of treatment. Initial management with rest, ice, and anti-inflammatory drugs can be handled by your primary care doctor. If that fails, a pain management specialist can try nerve blocks and steroid injections for both diagnostic confirmation and symptom relief. When conservative measures are exhausted, a thoracic surgeon is usually the one who performs surgical correction. The most common surgical approach has been cartilage rib excision, though newer techniques including minimally invasive rib fixation and vertical rib plating are gaining ground due to lower recurrence rates.6PubMed Central. A Review of Slipping Rib Syndrome: Diagnostic and Treatment Updates to a Rare and Challenging Problem
Interventional Pain Management for Chronic Rib Pain
When rib cage pain becomes chronic and does not respond to standard medications or physical therapy, a pain management specialist can offer procedures that go beyond what a primary care doctor or orthopedist typically provides. Intercostal nerve blocks, where a local anesthetic and steroid are injected near the nerve that runs along the underside of the affected rib, are the most common intervention. These serve a dual purpose: they confirm that the nerve is the pain source, and they provide relief lasting weeks to months.
For patients who get temporary relief from nerve blocks but keep having pain return, radiofrequency ablation offers a longer-term option. This technique uses heat to disrupt the nerve’s ability to transmit pain signals. In a case of intercostal neuralgia resistant to other treatments, diagnostic nerve blocks first provided relief lasting three to five weeks, followed by radiofrequency ablation that resolved pain for more than a year.8PubMed Central. Radiofrequency Ablation for Treating Resistant Intercostal Neuralgia Radiofrequency ablation has also been applied as a bridge treatment for slipping rib syndrome, particularly in patients who are poor surgical candidates. A 25-year-old woman with hypermobile Ehlers-Danlos syndrome and recurrent rib fractures from slipping rib syndrome achieved complete pain resolution and was able to taper off opioids after bilateral intercostal nerve radiofrequency ablation.9PubMed Central. Intercostal nerve radiofrequency ablation for slipping rib syndrome: a case report
For rib fracture pain specifically, a randomized trial comparing two ultrasound-guided nerve block techniques found that a superficial serratus anterior plane block provided significantly longer-lasting pain relief than a traditional intercostal nerve block, with greater pain reduction after eight hours and no patients requiring additional pain medication, compared to over 40% in the intercostal block group.10PubMed Central. Comparison of the analgesic efficacy of ultrasound-guided superficial serratus anterior plane block and intercostal nerve block for rib fractures: a randomized controlled trial This matters if you are deciding between a pain clinic and managing rib fracture pain on your own with oral painkillers. A specialist can offer regional techniques that work substantially better.
Pulmonology and When to Think Beyond the Chest Wall
Not all rib cage pain originates in the ribs, muscles, or cartilage. The lungs and their lining (the pleura) sit directly behind the rib cage, and conditions like pleurisy, pneumonia, or pulmonary embolism can produce pain that feels like it is coming from the ribs themselves. The key clue is usually that the pain gets significantly worse with breathing, particularly deep inhalation, and is not reproducible by pressing on the chest wall.
A pulmonologist is the right specialist when your primary care doctor suspects a lung-related cause. Pleurisy, inflammation of the membrane surrounding the lungs, produces a distinctive sharp, stabbing pain that worsens with each breath. Pneumothorax (a collapsed lung) causes sudden onset pain along with shortness of breath. And pulmonary embolism, a blood clot in the lung, can mimic pleurisy or produce more diffuse chest discomfort along with difficulty breathing and rapid heart rate. These conditions are typically diagnosed with imaging and blood tests before you ever reach the pulmonologist, but ongoing management often falls to them.
The Imaging Question
One reason rib cage pain can be so frustrating is that standard imaging sometimes misses the problem. Plain chest X-rays are the first test most doctors order, but they are surprisingly bad at detecting rib fractures. Compared to CT, X-ray sensitivity for rib fractures ranges from about 40% to 49%, meaning more than half of fractures can be invisible on a standard film.11BCMJ. Beyond Medicine: Ultrasound in rib fracture diagnosis
Ultrasound is emerging as a surprisingly effective alternative. Studies comparing ultrasound to CT for rib fractures have found ultrasound sensitivity ranging from 67% to 100%, substantially better than X-ray. And ultrasound can detect cartilaginous rib fractures that even CT misses. In one study, researchers identified 64 cartilage rib fractures in patients whose CT and X-ray were both negative.11BCMJ. Beyond Medicine: Ultrasound in rib fracture diagnosis A retrospective study of patients with post-COVID chest wall pain reinforced this pattern: ultrasound detected rib lesions in all positive cases, while CT picked up changes in only about 20%.12PubMed Central. Ultrasound superiority in detecting micro rib lesions for post-coronavirus disease 2019 chest wall pain: a comparative retrospective study
This has practical implications for your specialist choice. If you have been told your imaging is “normal” but your rib pain persists, ask about ultrasound evaluation, particularly with a musculoskeletal specialist, sports medicine doctor, or radiologist experienced in dynamic musculoskeletal imaging. A normal X-ray does not rule out a fracture or cartilage injury.
Thoracic Surgery for Structural Problems
Thoracic surgeons handle the more complex structural causes of rib cage pain, beyond what an orthopedist typically manages. These include thoracic outlet syndrome, where the space between the collarbone and first rib narrows and compresses nerves or blood vessels. Symptoms include pain radiating along the rib cage and into the arm, numbness, and sometimes visible swelling. Surgical decompression involving first rib resection and scalenectomy has been performed extensively, with one surgical group reporting more than 750 such procedures over a 20-year period using a combined approach that they found produced better symptom improvement and lower recurrence than single-technique surgery.13PubMed Central. A hand surgeon’s further experience with thoracic outlet compression syndrome
Thoracic surgeons also manage the surgical side of slipping rib syndrome (as discussed above), rib tumors, and chest wall reconstruction after trauma. If your rib cage pain involves deformity, a palpable mass, or symptoms suggesting nerve or vascular compression, your primary care doctor will likely refer you to this specialty.
Rib Cage Pain in Children and Adolescents
Parents understandably worry when a child complains of chest or rib pain, but the cause is musculoskeletal in the large majority of cases. Costochondritis is by far the most common identifiable source of chest pain in children and adolescents.14PubMed. Musculoskeletal causes of pediatric chest pain Irritation of any layer of the chest wall, from skin and muscle to cartilage and bone, can produce pain. Rarer but important causes include precordial catch syndrome (a benign condition causing brief, sharp stabs of chest pain) and chronic recurrent multifocal osteomyelitis, an inflammatory bone condition that can involve the ribs.
A pediatrician is the appropriate first contact. If the pain is clearly reproducible with palpation, worsens with movement, and the child is otherwise well, the pediatrician can usually manage it without referral. Persistent or worrisome cases may go to a pediatric cardiologist (mainly to rule out heart causes and reassure the family), a pediatric orthopedist, or a pediatric rheumatologist depending on the clinical picture.
When Anxiety Produces Real Rib Cage Pain
This is one of the most commonly overlooked causes of rib cage pain, and patients are sometimes offended when a doctor raises it, because the pain is genuinely real. Panic anxiety and hyperventilation can produce chest wall pain, tightness, and tenderness that is physically indistinguishable from musculoskeletal pain on first impression. In a controlled study of patients referred for chest pain evaluation, about 21% showed exercise-induced hyperventilation (their blood COâ‚‚ levels did not rise normally during exertion), and these patients had significantly higher anxiety scores than those with normal breathing patterns. Among the hyperventilators, 42% reported recent panic attacks compared to 13% of those breathing normally.15Oxford Academic (QJM). Panic Anxiety and Hyperventilation in Patients with Chest Pain: A Controlled Study
Hyperventilation causes the muscles between the ribs (the intercostals) to overwork, which produces genuine soreness and cramping. Chronic hyperventilators often develop tender spots along the rib cage that mimic costochondritis. The appropriate specialist here is a psychiatrist or psychologist experienced in panic disorder, though a pulmonologist may be involved initially to rule out lung disease. Cognitive behavioral therapy and breathing retraining are the first-line treatments, and they tend to resolve the rib pain along with the panic symptoms. If you have recurrent rib cage pain that comes with episodes of breathlessness, tingling in the hands, or a sense of doom, and cardiac and pulmonary workups have been normal, this is worth discussing with your doctor rather than pursuing yet another musculoskeletal evaluation.
A Quick-Reference Guide by Symptom Pattern
Because the specialist depends on the cause, here is a practical breakdown by what your pain looks and feels like:
- Tender to touch, worse with movement: Primary care first, then orthopedics or sports medicine if it does not resolve. Costochondritis, muscle strain, and rib fractures fall here.
- Clicking or popping along the lower ribs: Ask about slipping rib syndrome. A pain management specialist or thoracic surgeon may be needed.
- Morning stiffness, improves with activity: Rheumatology, especially if you have a family history of inflammatory arthritis or back pain before age 40.
- Worse with deep breathing, not reproducible by pressing: Pulmonology. Pleurisy, pneumonia, and pulmonary embolism need to be considered.
- Chronic, burning, or shooting pain in a band-like pattern: Pain management for possible intercostal neuralgia. Nerve blocks and radiofrequency ablation are options.
- Numbness or tingling into the arm, worsened by overhead positions: Thoracic surgery for possible thoracic outlet syndrome evaluation.
- Rib pain with episodes of breathlessness and tingling hands: After cardiac and pulmonary workup, psychiatry or psychology for panic and hyperventilation assessment.
- Child or teenager with chest wall pain: Pediatrician first. Musculoskeletal causes dominate in this age group.
Persistent rib cage pain that has gone undiagnosed after one or two specialist visits is worth re-evaluating with your primary care doctor. Sometimes the answer is a specialist you have not yet seen, sometimes it is better imaging, and sometimes it is reconsidering causes that were dismissed too quickly. The path is rarely straight, but starting with primary care and letting the clinical findings guide the referral gives you the best odds of landing in the right office.