Thoracic wall, diaphragm & intercostal anatomy: ribs, sternal angle, intercostal neurovascular bundle, diaphragmatic apertures, phrenic nerve and safe chest procedures
The thoracic wall has 12 rib pairs (true 1–7, false 8–10, floating 11–12) and three intercostal muscle layers. The vein–artery–nerve bundle runs in the costal groove under each rib, so needles go over the top of the lower rib. The diaphragm (phrenic C3–C5) has openings for the IVC at T8, the esophagus at T10 and the aorta at T12. It forms from the septum transversum and pleuroperitoneal membranes, which explains Bochdalek hernia, referred shoulder pain and the landmarks for thoracentesis and chest tubes.
Overview: bony thorax and landmarks
- Ribs: 1–7 are true (attached to the sternum by their own costal cartilage). 8–10 are false (joined to the cartilage above, forming the costal margin). 11–12 are floating. A typical rib has a head with two facets (one for its own vertebra and one for the vertebra above), a neck, a tubercle, an angle, and a costal groove on its inferior inner surface.
- First rib: short, broad and flat. The scalene tubercle (anterior scalene insertion) separates the subclavian vein in front from the subclavian artery and lower trunk of the brachial plexus behind. A fractured first rib is a marker of high-energy trauma, so look for great vessel or plexus injury.
- Sternum: manubrium (about T3–T4), body (about T5–T9) and xiphoid process (xiphisternal joint at about T9).
- Sternal angle (of Louis), at the T4–T5 disc: the 2nd costal cartilage joins here, so count ribs from it. It marks the boundary between the superior and inferior mediastinum, the start and end of the aortic arch, the tracheal bifurcation (carina), the azygos vein entering the SVC, and the pulmonary trunk dividing.
- Dermatomes: T4 is at the nipple, T6 at the xiphoid and T10 at the umbilicus. Herpes zoster follows one intercostal band.
Intercostal spaces: muscles, vessels and nerves
| Layer | Fiber direction | Main role |
|---|---|---|
| External intercostal | Down and forward ('hands in pockets'); replaced in front by the external intercostal membrane | Raises the ribs (inspiration) |
| Internal intercostal | Down and backward, at right angles to the external; replaced at the back by a membrane | Pulls the ribs down (forced expiration); the parasternal part helps inspiration |
| Innermost intercostal | Same as internal; lined by endothoracic fascia and parietal pleura | Same as internal |
The neurovascular bundle lies between the internal and innermost layers in the costal groove, ordered from top to bottom as Vein, Artery, Nerve (VAN). The nerve is the least protected. Needles and chest tubes go just above the upper border of the lower rib. Small collateral branches run along the upper border of the lower rib, so stay in the middle to upper part of the space next to the rib edge.
- Posterior intercostal arteries: spaces 1–2 are fed by the supreme (superior) intercostal artery from the costocervical trunk (subclavian). Spaces 3–11 and the subcostal artery come straight off the descending thoracic aorta.
- Anterior intercostal arteries: spaces 1–6 come from the internal thoracic artery, and spaces 7–9 from its musculophrenic branch. The internal thoracic artery runs about 1 cm lateral to the sternal edge, ends as the superior epigastric artery, and is the preferred CABG conduit (LIMA to LAD). Parasternal stab wounds can cut it and cause hemothorax.
- Veins: posterior intercostal veins drain to the azygos and hemiazygos veins; anterior veins drain to the internal thoracic veins.
- Nerves: intercostal nerves T1–T11 are the anterior rami; T12 is the subcostal nerve. T1 also supplies the brachial plexus. The lower intercostal nerves (T7–T11) continue into the abdominal wall, so lower chest disease such as lower-lobe pneumonia can present as abdominal pain.
- Coarctation of the aorta: enlarged posterior intercostal collaterals erode the undersurface of ribs 3–8, producing rib notching. Ribs 1–2 are spared because their arteries come from the subclavian branches above the coarctation.
Diaphragm: structure, openings and blood supply
The diaphragm is a dome of muscle with a central tendon. Its muscle arises from the xiphoid (sternal part), the lower six costal cartilages (costal part), and the lumbar vertebrae through the crura and the arcuate ligaments. The right crus arises from L1–L3 and the left crus from L1–L2. The medial edges of the crura join in front of the aorta as the median arcuate ligament, which can compress the celiac trunk (MALS). The medial and lateral arcuate ligaments arch over psoas and quadratus lumborum.
| Opening | Level | Structures |
|---|---|---|
| Caval foramen (in the central tendon) | T8 | IVC and branches of the right phrenic nerve. It widens on inspiration, helping venous return. |
| Esophageal hiatus (a sling formed by the right crus) | T10 | Esophagus, anterior and posterior vagal trunks, and esophageal branches of the left gastric vessels. The crus acts as an external lower esophageal sphincter. |
| Aortic hiatus (behind the median arcuate ligament, not truly through the diaphragm) | T12 | Aorta, thoracic duct, azygos vein. It does not narrow during inspiration. |
| Crura (small openings) | — | Greater, lesser and least splanchnic nerves; hemiazygos vein on the left |
| Sternocostal triangle (Larrey or Morgagni) | — | Superior epigastric vessels; site of Morgagni hernia |
Mnemonic: 'I 8 10 Eggs At 12': IVC at T8, (10) Esophagus at T10, Aorta at T12. Another version: 'Vena cava 8 letters, oesophagus 10, aortic hiatus 12'.
Blood supply: superior phrenic arteries (from the aorta), pericardiacophrenic and musculophrenic arteries (from the internal thoracic), lower intercostal arteries, and the inferior phrenic arteries (from the abdominal aorta, the largest supply).
Phrenic nerve and diaphragmatic embryology
- Phrenic nerve, C3–C5 ('C3, 4, 5 keeps the diaphragm alive'). It runs down on anterior scalene and passes in front of the lung root with the pericardiacophrenic vessels between the fibrous pericardium and the mediastinal pleura. It is the only motor nerve to the diaphragm and carries sensation from the central diaphragmatic pleura and peritoneum and from the pericardium. The periphery of the diaphragm gets its sensation from the lower intercostal nerves (lower chest or abdominal wall pain).
- Referred shoulder-tip pain (C4 dermatome): irritation under the diaphragm from blood (ruptured spleen, Kehr sign; ruptured ectopic pregnancy), a subphrenic abscess, cholecystitis, or CO2 after laparoscopy.
- Unilateral phrenic palsy (tumor in the mediastinum, cardiac surgery with cold injury, an interscalene brachial plexus block that almost always involves the phrenic nerve, or C3–C5 cord injury) causes an elevated hemidiaphragm that moves paradoxically upward on a fluoroscopic sniff test. It often causes no symptoms at rest. Bilateral palsy causes orthopnea, paradoxical inward movement of the abdomen when supine, and a large fall in vital capacity when supine.
- Hiccups are a reflex involving the phrenic and vagus nerves. Persistent hiccups can signal phrenic or vagal irritation (mediastinal tumors, subphrenic processes, uremia, CNS lesions).
- Embryology (four sources): septum transversum (central tendon), pleuroperitoneal membranes, dorsal mesentery of the esophagus (crura), and body wall muscle (periphery). The diaphragm begins in the neck (C3–C5 region) and descends, taking its nerve along. That is why its nerve comes from the neck.
- Bochdalek hernia: a posterolateral defect, usually left-sided (about 85%), from failed closure of the pleuroperitoneal canal. It is the most common congenital diaphragmatic hernia. Bowel in the chest causes pulmonary hypoplasia and pulmonary hypertension, with a scaphoid abdomen and respiratory distress at birth. Intubate rather than bag-mask ventilate, decompress the stomach, stabilize, then repair surgically.
- Morgagni hernia: an anterior retrosternal defect, usually right-sided, often found later or by chance.
Procedures: where to put the needle
| Procedure | Site | Anatomic rationale and risk |
|---|---|---|
| Thoracentesis | Patient sitting: posterior, midscapular or posterior axillary line, 1–2 interspaces below the top of the effusion (usually about rib 7–9), not below rib 9. Supine: midaxillary line. Use ultrasound guidance. | Go over the upper border of the lower rib. Too low risks the liver or spleen, because the diaphragm rises on expiration. |
| Chest tube (tube thoracostomy) | 'Triangle of safety': the lateral border of pectoralis major, the anterior border of latissimus dorsi, and a line at the level of the nipple (4th–5th intercostal space), with the apex below the axilla | Stays away from the long thoracic nerve, the internal thoracic artery and the diaphragm. Going over the rib protects the neurovascular bundle. |
| Needle decompression of tension pneumothorax | Adults: 4th–5th intercostal space at the anterior or midaxillary line (ATLS 10th edition). Children and some protocols: 2nd intercostal space, midclavicular line. | The chest wall is thinner laterally, so a standard needle reaches the pleura more often. Follow with a chest tube. |
| Pericardiocentesis | Subxiphoid, aiming at the left shoulder, ideally with echo guidance; or apical / parasternal 5th intercostal space | Risks are puncturing the RV or LV, a coronary artery or the liver, or causing pneumothorax. |
| Intercostal nerve block | Inferior edge of the rib at the angle, posteriorly | Targets the nerve in the costal groove. Risk of pneumothorax and rapid absorption of local anesthetic. |
Clinical correlations: trauma and wall disorders
- Flail chest: two or more adjacent ribs each broken in two or more places, producing a segment that moves paradoxically inward on inspiration. The main danger is the underlying pulmonary contusion. Treat with analgesia (including regional blocks), pulmonary toilet, positive-pressure ventilation if respiratory failure develops, and surgical rib fixation in selected cases.
- Lower rib fractures (9–12) suggest liver or spleen injury (and kidney injury posteriorly). Upper rib fractures (1–3) suggest high-energy trauma with possible aortic, subclavian or brachial plexus injury.
- Rib fractures in older adults: each additional fracture raises the risk of pneumonia and death. Give multimodal analgesia and a low threshold for admission.
- Cervical rib (from C7): a cause of thoracic outlet syndrome, compressing the lower trunk (C8–T1; hand weakness, ulnar-side numbness) or the subclavian artery (Raynaud, emboli).
- Pectus excavatum is the most common chest wall deformity. It is associated with Marfan and Ehlers–Danlos syndromes. Repair (Nuss procedure) is for cardiopulmonary compromise or cosmesis.
- Traumatic diaphragmatic rupture is more common on the left, because the liver protects the right. Clues are bowel or an NG tube seen in the chest. Penetrating wounds below the nipple line can cross the diaphragm. It needs surgical repair.
- Hiatal hernia: type I sliding (about 95%; GE junction moves up; GERD) versus type II paraesophageal (GE junction stays in place; the fundus rolls up; risk of volvulus and strangulation; elective repair if symptomatic).
🩺 Next best step: classic exam scenarios
- Trauma patient with absent breath sounds on the right, hypotension, distended neck veins and tracheal deviation to the left: tension pneumothorax. Do immediate needle or finger decompression (4th–5th intercostal space, anterior or midaxillary line), then a chest tube. Do not wait for imaging.
- Newborn with respiratory distress, a scaphoid abdomen, bowel sounds in the left chest and heart sounds on the right: Bochdalek CDH. Intubate (avoid bag-mask ventilation), place an orogastric tube, stabilize, then do surgical repair.
- After CABG, an elevated left hemidiaphragm on X-ray and paradoxical upward movement on a sniff test: left phrenic nerve injury from cold cardioplegia. Usually observe; plication if symptoms are severe.
- Pleural effusion to the 7th rib posteriorly needing diagnostic tap: perform ultrasound-guided thoracentesis posteriorly one to two spaces below the fluid level, just above a rib.
- Teen with hypertension in the arms, weak delayed femoral pulses, and notching of the lower edges of ribs 3–8: coarctation of the aorta. Get echo or CT/MR angiography.
- Left shoulder pain and hypotension after a bicycle fall onto the left lower ribs: splenic rupture with Kehr sign. If unstable, FAST then laparotomy. If stable, CT and possibly angioembolization.
🔥 Exam pearls
- Intercostal bundle: Vein, Artery, Nerve in the costal groove under each rib. Insert needles over the top of the lower rib.
- Sternal angle at T4–T5 marks the 2nd rib, the carina, the start and end of the aortic arch, and where the azygos vein enters the SVC.
- Diaphragm openings: IVC T8 (with the right phrenic nerve), esophagus T10 (vagal trunks), aorta T12 (thoracic duct, azygos).
- Phrenic nerve C3–C5 supplies motor and central sensory fibers; diaphragmatic irritation refers pain to the shoulder.
- Bochdalek hernia is posterolateral and left-sided (pulmonary hypoplasia). Morgagni hernia is anterior and retrosternal.
- Posterior intercostal arteries 1–2 come from the costocervical trunk; 3–11 come from the aorta. Coarctation notches ribs 3–8.
- Chest tube: triangle of safety at the 4th–5th intercostal space, anterior to the midaxillary line.
- Flail chest: two or more adjacent ribs broken in two or more places; the pulmonary contusion is the real problem.
Sources: Anatomy, Thorax, Wall (StatPearls) · Anatomy, Thorax: Diaphragm (StatPearls)
