What Is Between Your Ribs? The Anatomy Explained

Between each pair of ribs lies an intercostal space, a layered sandwich of muscle, nerve, and blood vessel tissue that makes breathing possible. Most people have twelve pairs of ribs and therefore eleven intercostal spaces on each side. These spaces are far from empty gaps; they contain three distinct sheets of muscle, a dedicated nerve and artery for each level, veins, lymphatic channels, and a thin membrane that lines the chest cavity. Understanding what lives between your ribs helps explain everything from the mechanics of a deep breath to why a sharp pain along your ribcage can be so alarming.

Three Layers of Muscle

The muscles between your ribs are arranged in three overlapping sheets, somewhat like the layers of plywood, with their fibers running in different directions. The outermost layer is the external intercostal muscle, whose fibers angle downward and forward from the rib above to the rib below. Just beneath it sits the internal intercostal muscle, whose fibers run roughly perpendicular to the external layer, angling downward and backward. Deepest of all is the innermost intercostal muscle, a thinner and sometimes patchy sheet that lines the inside of the chest wall. Between the internal and innermost layers runs a thin plane of loose tissue called the neurovascular plane, and this is where the intercostal nerve, artery, and vein travel, tucked along the lower border of each rib.

A specialized portion of the internal intercostal muscle deserves its own mention: the parasternal intercostal (sometimes called the parasternalis). This strip of muscle sits near the front of the chest, close to the breastbone. Despite being part of the internal intercostal layer, it functions as an inspiratory muscle, helping to lift the ribs during breathing. Its role matters clinically because it is one of the primary drivers of chest expansion during a deep breath, working alongside the external intercostals rather than against them.1PubMed Central. Investigation of inspiratory intercostal muscle activity in patients with spinal cord injury: a pilot study using electromyography, ultrasonography, and respiratory inductance plethysmography

Deeper still, on the inner surface of the chest wall near the breastbone, lies the transversus thoracis muscle (also called the triangularis sterni). This thin, fan-shaped muscle pulls the costal cartilages downward and plays a role in active exhalation. In humans it is relatively quiet when you are lying down but becomes active when standing and deliberately exhaling, such as during exercise or forceful breathing.2PubMed Central. Variety of transversus thoracis muscle in relation to the internal thoracic artery: an autopsy study of 120 subjects

Nerves, Arteries, and Veins

Each intercostal space has its own nerve-artery-vein bundle, and these structures follow a predictable path. They run along the undersurface of the rib above, sheltered in a shallow groove in the bone. The classic teaching is that the order from top to bottom along the rib’s lower edge is vein, artery, nerve (remembered by the mnemonic “VAN”). This arrangement matters a great deal in medicine because anyone inserting a needle or tube into the chest aims for the upper border of a rib to avoid puncturing these structures.

The blood supply has two sources. Toward the back of the chest, the posterior intercostal arteries branch off directly from the aorta (except for the top two spaces, which are fed by a branch off the subclavian artery). Toward the front, the anterior intercostal arteries arise from the internal thoracic artery, which runs vertically just behind the breastbone. These anterior and posterior vessels connect with each other, forming a loop of blood flow around each intercostal space. Near the sternum, small sterno-intercostal branches split in a Y or T shape, with one limb feeding the breastbone and the other supplying the adjacent chest wall and linking up with the posterior intercostal artery.3PubMed. Variations in collateral contributions to the blood supply to the sternum

The intercostal nerves are the ventral branches of the thoracic spinal nerves. Each one carries sensory fibers from the skin and the tissue lining the chest cavity, as well as motor fibers to the intercostal muscles. Because these nerves wrap around the chest from spine to sternum, damage or irritation at any point along the path can produce pain that radiates in a band-like pattern around the trunk. That characteristic wrapping path is why shingles, which reactivates along a single nerve, produces a stripe of blisters that follows the curve of a rib.

How These Structures Power Breathing

The diaphragm does most of the heavy lifting during quiet breathing, but the intercostal muscles are essential partners. The traditional textbook explanation is straightforward: external intercostals lift the ribs to expand the chest during inhalation, while internal intercostals pull the ribs down during exhalation. The real picture, as researchers have found, is more nuanced and depends on how many spaces are activated at once.

When either the external or internal intercostal muscle contracts in just a single space while everything else is relaxed, both layers actually pull the adjacent ribs together, and the net effect is to elevate the ribs.4PubMed. Intercostal muscle action inferred from finite-element analysis That seems to contradict the textbook, but when you zoom out and the muscles activate across all intercostal spaces simultaneously, the expected pattern reappears: the external layer produces an inspiratory (rib-raising) motion and the internal layer produces an expiratory (rib-lowering) motion.4PubMed. Intercostal muscle action inferred from finite-element analysis The parasternal intercostals and the transversus thoracis follow the same logic: the parasternals help with inspiration, and the transversus thoracis helps with expiration.5PubMed. Respiratory action of the intercostal muscles

During quiet breathing, the intercostal muscles do not all fire at once. Electrical recordings of the muscles show that activity begins in the uppermost intercostal spaces near the start of inhalation and then progressively spreads downward through the rib cage as the breath continues. When you breathe harder, such as during exercise, that wave of activation travels farther and faster down the chest wall.6PubMed. Patterns of intercostal muscle activity in humans This top-to-bottom recruitment pattern helps explain why the upper ribs seem to do more of the work during gentle breathing, while the lower ribs become more visibly active during heavy exertion.

Pump Handle, Bucket Handle, and How the Ribs Actually Move

Ribs do not simply swing up and down like a hinged door. Each rib rotates around two axes at once. The “pump-handle” motion tilts the front of the rib upward, pushing the breastbone forward and increasing the front-to-back diameter of the chest. The “bucket-handle” motion swings the middle of the rib outward, widening the chest from side to side.

These two components are not always equal. During a full deep breath, pump-handle motion dominates, averaging about four times greater than bucket-handle motion in healthy adults. But during quiet tidal breathing, the relationship reverses somewhat: bucket-handle movements become slightly larger than pump-handle movements.7PubMed. Movement of the ribs in supine humans for small and large changes in lung volume In practical terms, this means your chest visibly widens side to side during gentle breathing and visibly lifts forward when you take a deep breath. People with chronic obstructive pulmonary disease show smaller pump-handle movements, consistent with their reduced ability to take deep breaths, though when the motion is scaled to how much air they actually move, the proportions are similar to healthy individuals.7PubMed. Movement of the ribs in supine humans for small and large changes in lung volume

When Things Go Wrong in the Intercostal Space

Pain originating between the ribs is surprisingly common, and it can mimic more frightening conditions like a heart attack or a lung problem. Several distinct conditions target the intercostal space.

Intercostal neuralgia is pain caused by damage or irritation of an intercostal nerve. It can result from nerve entrapment, a traumatic nerve injury, persistent irritation, or reactivation of the herpes zoster virus (shingles). The pain tends to follow the path of a single nerve, wrapping in a band around one side of the torso.8Journal of Neurology and Translational Neuroscience. Intercostal Neuralgia: A Review In older adults, osteoporotic fractures in the thoracic spine can narrow the openings through which the intercostal nerves exit the spinal column, and this structural compression increases the likelihood of developing intercostal neuralgia.9PubMed Central. Analysis of factors associated with intercostal neuralgia after osteoporotic thoracic spine fracture and construction of a prediction model

Slipping rib syndrome targets the lower ribs, specifically the eighth through tenth ribs, which are called “false ribs” because they attach to the rib above via cartilage rather than directly to the breastbone. When that cartilaginous connection becomes hypermobile, the rib tip can slip or click beneath the rib above it, pinching the intercostal nerve as it passes underneath. The result is intermittent but often debilitating pain in the lower chest or upper abdomen.10PubMed. Slipping Rib Syndrome: A review of evaluation, diagnosis and treatment Because the pain is in the abdominal region, it is frequently misdiagnosed as a gastrointestinal problem. Slipping rib syndrome is considered under-diagnosed, and many patients go through extensive workups before the actual cause is identified.

Intercostal muscle strains are common among athletes, especially those involved in sports that demand forceful twisting or overhead movements. The injury produces localized tenderness between the ribs and pain with deep breathing, coughing, or trunk rotation.11PubMed. Musculoskeletal problems of the chest wall in athletes These strains are generally self-limiting, but they can take weeks to fully heal because the muscles are in constant use with every breath.

Why Doctors Care About the “Safe Triangle”

Several common medical procedures depend on precise knowledge of the intercostal space. Chest tubes, needle thoracentesis (draining fluid from around the lung), and biopsies all require entering the chest between ribs. The standard approach teaches inserting needles or tubes just above the upper border of a rib to avoid the neurovascular bundle that runs along the lower border of the rib above.

A practical challenge is identifying the correct intercostal space on a living person, since you cannot see the ribs directly. One method, the mid-arm point (MAP), uses a simple surface landmark: the midpoint of the upper arm. In a study of 120 measurements, this method reliably identified the fourth to sixth intercostal spaces, with the fifth space identified in the vast majority of cases regardless of the patient’s age, sex, height, or weight.12Journal of Emergency Medicine, Trauma and Acute Care. Identifying a safe site for intercostal catheter insertion using the mid-arm point (MAP) The fifth intercostal space in the mid-axillary line (roughly the side of the chest at armpit level) is the classic target for emergency chest tube insertion, so having a quick way to find it matters in time-sensitive situations.

Ultrasound-guided nerve blocks that target the fascial planes between intercostal muscle layers have also become an increasingly important tool for pain management. By injecting local anesthetic into the tissue plane between the internal and innermost intercostal muscles, clinicians can numb a broad area of the chest wall for surgery, trauma pain, or chronic conditions without needing general anesthesia.13PubMed Central. Use of Ultrasound-Guided Interfascial Plane Blocks in Anterior and Lateral Thoracic Wall Region as Safe Method for Patient Anesthesia and Analgesia: Review of Techniques and Approaches during COVID-19 Pandemic The fact that the nerve runs predictably between these defined muscle layers is what makes such targeted blocks feasible.

What Changes with Age

The intercostal spaces do not remain the same throughout life. One of the most significant age-related changes involves the costal cartilage, the flexible tissue that connects the front ends of the ribs to the breastbone. Over time, this cartilage progressively calcifies, essentially turning from flexible gristle into something more rigid and bone-like. This process begins as early as the teenage years in some people and becomes increasingly prominent with age.14PubMed Central. Premature Calcification of Costochondral Cartilage: A Scoping Review of the Literature

The practical consequence is a stiffer chest wall. When costal cartilage loses its flexibility, the ribs cannot swing as freely, and the chest cavity cannot expand as easily. This contributes to the gradual decline in lung function that comes with aging, even in people without lung disease. The intercostal muscles themselves also lose some mass and strength over the decades, compounding the problem. For older adults, this combination of stiffer cartilage and weaker muscles makes deep breathing more effortful and contributes to the barrel-chested appearance sometimes seen in elderly individuals with chronic lung conditions.

How the Intercostal Space Develops Before Birth

The ribs and the muscles between them have a shared but distinct embryonic origin. Both develop from the somites, the segmented blocks of tissue that form alongside the developing spinal column in an embryo. The ribs arise from the sclerotome (the portion of each somite that gives rise to bone and cartilage), while the intercostal muscles arise from the myotome (the portion that gives rise to skeletal muscle).15PubMed Central. Development of ribs and intercostal muscles in the chicken embryo This means the ribs and the muscles growing between them are developing simultaneously, and they influence each other’s formation.

Studies in mice have shown that when the genes controlling early muscle development (myogenin and MRF4) are knocked out, the resulting abnormal intercostal muscle formation leads to skeletal defects in the thorax as well, including fused and bifurcated ribs.16PubMed. Thoracic skeletal defects in myogenin- and MRF4-deficient mice correlate with early defects in myotome and intercostal musculature The developing muscles appear to send mechanical and chemical signals to the forming ribs, guiding their shape and spacing. Without normal intercostal muscles, the ribs themselves grow abnormally. This co-dependence between bone and muscle during development is one reason why congenital rib anomalies (extra ribs, fused ribs, missing segments) sometimes come paired with unusual intercostal muscle arrangements.

Intercostal Anatomy Across Species

Not all mammals have the same intercostal setup. Most share the basic three-layer muscle plan, but the proportions vary dramatically depending on how the animal uses its rib cage. Anteaters provide a striking example. The tamandua and the giant anteater have ribs that are broadened and flattened, which narrows their intercostal spaces to about half the width seen in comparably sized mammals with typical ribs. To compensate, their intercostal muscles are roughly twice as thick as those in other mammals.17Journal of Mammalogy. Anatomy and Function of Expanded Ribs in Certain Edentates and Primates The expanded ribs and reinforced muscles are thought to increase the stability of the thorax and, by extension, the vertebral column, which is useful for animals that generate powerful digging and tearing forces through their forelimbs.

In contrast, the two-toed sloth, a close relative, has intercostal musculature proportions more in line with other mammals, consistent with its far less physically demanding lifestyle. These comparative differences illustrate that the intercostal space is not a fixed anatomical template but something that evolutionary pressures can reshape considerably. In humans, the intercostal muscles are tuned primarily for breathing, with a secondary role in trunk stabilization and rotation. In animals that need their rib cage for armor or structural bracing, the balance shifts toward reinforcement at the expense of respiratory flexibility.