Muscle guide · Back

The intercostal muscles are three thin layers between your ribs that help you breathe.

The intercostal muscles are a group of muscles that fill the 11 gaps between your ribs, linking each rib to its neighbours1, 2. They lie in three layers called external, internal and innermost, and they support the chest wall as the ribs move with each breath1, 2. Chest pain has many causes, and the NHS says to get it checked3.

Intercostal muscles (intercostals, rib muscles) at a glance

Where it is
In the 11 gaps between the 12 ribs, as three layers1, 2
Attaches to
The rib above and the rib below, in each gap1, 2
What it does
Moves the ribs for breathing: externals mainly help breathing in, internals mainly breathing out1, 2
Nerve supply
Intercostal nerves, from the front branches of spinal nerves T1 to T111
Blood supply
Anterior and posterior intercostal arteries1
Pain it can send
Chest wall pain after strains, tears or spasms2

The three layers of intercostal muscle raise your ribs to breathe in and lower them to breathe out

Kenhub says the external intercostals are the outermost layer, the internals form the middle layer and the innermost intercostals lie deepest1. Cleveland Clinic compares them to rowing teams pulling in sync. The externals mainly help you breathe in, the internals mainly help you breathe out, and the innermost layer supports the internals when you breathe out2.

Kenhub frames this as forced breathing. It says the externals raise the ribs during forced breathing in, while the internal and innermost layers lower them during forced breathing out1. Cleveland Clinic adds that the muscles work with the diaphragm in deeper breaths and help push air out when you sigh or cough2.

Each muscle runs from one rib to the next, and the intercostal nerves supply them

Most intercostal muscles attach to two ribs, one above and one below2. Kenhub says the externals run from the lower edge of one rib, down and towards the middle, to the upper edge of the rib below. The internals start at the costal groove of one rib and run down and towards the side1.

The intercostal nerves, which are the front branches of spinal nerves T1 to T11, supply the muscles, and the anterior and posterior intercostal arteries supply the blood1. Cleveland Clinic notes that the gaps between the ribs also hold the nerves and blood vessels the muscles rely on2. The sources differ on the internal layer: Cleveland Clinic says it is found only at the front of the body, and Kenhub does not make that distinction1, 2.

Strains, tears and spasms of these muscles can cause chest wall pain

Cleveland Clinic lists strains, tears, spasms and hernias among the injuries of the intercostal muscles, alongside broken ribs2. It says many problems with these muscles get better on their own, and that more serious ones need a healthcare provider's guidance2. The NHS describes a chest sprain or strain as pain that starts after a chest injury or chest exercise, may get worse when you breathe in and feels better when you rest the muscle3. See muscle strain for how strains are described in general.

Costochondritis is a look-alike. The NHS describes it as inflammation where the ribs join the breastbone, with sharp pain in the front or side of the chest that can be worse when you move your upper body, lie down or breathe deeply4. Cleveland Clinic says it does not affect the intercostal muscles directly but can cause similar symptoms2. The NHS links it to chest injury, repeated upper body movements such as lifting, heavy coughing and infection, and says it usually gets better on its own and can last a few weeks to several months4.

Rib and chest pain can come from the heart or lungs, so unexplained chest pain needs a doctor

The NHS says that in most cases chest pain is not caused by a heart problem, but it advises getting medical advice just in case and says not to self-diagnose3. Chest infection, pneumonia, pleurisy, shingles and anxiety are among the other causes it lists3. Cleveland Clinic says nerves that carry chest and back pain run close together, so pain can be felt in both places. It says chest and back pain together may point to a serious condition of the heart, lungs or biliary system, or to a musculoskeletal cause, and that a healthcare provider asks detailed questions to find the source5.

Call emergency services for sudden chest pain that does not go away, pain that spreads to the arm, neck, jaw or back, or chest pain with sweating, sickness, light-headedness or shortness of breath3. Do not wait to see whether it is a pulled muscle.

Some back pain needs a doctor before any stretch or massage

Tick anything that applies. The answer below changes to the most urgent step.

Go to an emergency department now if you have
See a doctor today if you have
Book a doctor’s appointment if
None of these warning signs is ticked. That does not rule anything out: see a doctor if the pain is not easing after a few weeks, or if it worries you.

Warning signs from the NHS: Back pain, read 17 November 2026. This check is a prompt to get help, not a diagnosis.

Common questions about the intercostal muscles

They fill the 11 gaps between your 12 ribs, linking each rib to its neighbours. They lie in three layers: external, internal and innermost. Most attach to one rib above and one below, and the same gaps hold the intercostal nerves and blood vessels.

They move the ribs as you breathe. The externals mainly help you breathe in and the internals mainly help you breathe out, with the innermost layer supporting the internals. They also work with the diaphragm in deeper breaths and help push air out when you sigh or cough.

Yes. Cleveland Clinic lists strains, tears and spasms among intercostal muscle injuries, and says many get better on their own while more serious ones need a healthcare provider. The NHS describes strain pain as starting after chest injury or exercise and easing with rest. Unexplained chest pain should still be checked.

The NHS says not to self-diagnose chest pain. It says most chest pain is not caused by the heart but advises getting medical advice just in case. Sudden pain that does not go away, spreads to the arm, neck, jaw or back, or comes with breathlessness or sweating needs emergency help.

Sources

  1. Kenhub. Intercostal muscles. Read 17 November 2026.The intercostal muscles are a group of intrinsic rib cage muscles that occupy the 11 intercostal spaces.
  2. Cleveland Clinic. Intercostal Muscles. Read 17 November 2026.Your intercostal muscles connect each rib of your ribcage to its neighbors.
  3. NHS. Chest pain. Read 17 November 2026.In most cases, chest pain is not caused by a heart problem.
  4. NHS. Costochondritis. Read 17 November 2026.Costochondritis is inflammation where your ribs join the bone in the middle of your chest (breastbone).
  5. Cleveland Clinic. Chest and Back Pain. Read 17 November 2026.Chest pain and back pain occurring together may indicate a serious condition involving your heart, lungs or biliary system.

Written by the Aphyx Content team for The Sync. Each fact above is numbered to the source it comes from. Published 17 November 2026. Last updated 17 November 2026. Next review 17 May 2027.

One visit tells us where things stand.

Book online or walk in. The assessment runs first, the readings go on the screen, and the plan is built from what they show.