Chest wall muscles
Musculi thoracis
The muscles of the thorax are the muscles of breathing that belong to the rib cage itself. Three layers of intercostal muscles fill the spaces between the ribs, a few small muscles reinforce the wall, and the diaphragm closes the thorax from below.
Loading 3D model…
Show
Free 3D model of the chest wall muscles. Whole rib cage. Drag to rotate, zoom with + and − (or Ctrl + scroll), click a bone to highlight and name it.
- Muscles of the chest wall (intercostals, transversus thoracis, levatores costarum)
- Diaphragm
Key points
- The true muscles of the thorax are the intercostals, a few small chest wall muscles and the diaphragm.
- Three layers of intercostal muscles fill the eleven spaces between the ribs on each side.
- The diaphragm is the main muscle of quiet breathing and is supplied by the phrenic nerve.
- The large chest muscles, such as pectoralis major and serratus anterior, belong to the arm.
What are the muscles of the thorax?
In anatomy, the muscles of the thorax are the muscles that belong to the wall of the rib cage. They are the external, internal and innermost intercostal muscles, transversus thoracis, subcostales and levatores costarum. The diaphragm, the dome-shaped muscle under the lungs, is usually described with them.
In everyday speech "chest muscles" usually means pectoralis major and pectoralis minor. These lie on the front of the rib cage, but they move the shoulder and arm and are supplied by nerves of the arm. On this site they are covered with the arm muscles, together with serratus anterior on the side of the chest.
Almost all the muscles described here work in breathing. They change the size of the thorax so that air flows in and out of the lungs, and they keep the wall between the ribs firm as the pressure inside changes.
Labeled diagram of the chest wall muscles
This diagram names the 6 structures this page is about: the external intercostal, internal intercostal, innermost intercostal, transversus thoracis, levatores costarum and diaphragm. The 3D model at the top of the page shows the same view and can be turned to any side.

How are the chest wall muscles arranged?
Each of the eleven spaces between the ribs holds three thin layers of muscle, like the three layers of the abdominal wall below. The external intercostals are outermost, the internal intercostals lie in the middle and the innermost intercostals are deepest.

The fibres of the outer layer run downward and forward. The fibres of the two deeper layers run downward and backward, at a right angle to them. This crossing pattern makes the wall between the ribs strong in every direction.
The deepest layer also includes transversus thoracis on the inside of the front wall and subcostales on the inside of the back wall. Behind, small slips called levatores costarum run from the vertebrae to the ribs.
What is the diaphragm?
The diaphragm is a sheet of muscle shaped like a double dome that separates the thorax from the abdomen. Its edges attach around the lower opening of the rib cage and to the lumbar spine, and its fibres rise to a central tendon at the top of the dome.

It is the main muscle of breathing. When it contracts the dome flattens, the thorax gets taller, and air is drawn into the lungs. Three main openings let the inferior vena cava, the oesophagus and the aorta pass between the thorax and the abdomen.
Which muscles are used in breathing?
In quiet breathing, breathing in is done mainly by the diaphragm, with help from the external intercostals. Breathing out is mostly passive: the lungs and the chest wall are elastic and spring back once the muscles relax.
In deep or forced breathing, accessory muscles join in. Sternocleidomastoid and the scalene muscles in the neck lift the upper ribs and the sternum. The internal intercostals and the abdominal muscles pull the ribs down and push the diaphragm up, as in coughing, shouting or blowing out hard.
The scalene muscles and sternocleidomastoid are covered with the neck muscles, and the abdominal wall muscles with the abdomen.
What nerves supply the muscles of the thorax?
The chest wall muscles are supplied by the intercostal nerves, the anterior branches of the first eleven thoracic spinal nerves, which run in the spaces between the ribs. Levatores costarum are usually described as supplied by the posterior branches of the same nerves.
The diaphragm has its own nerve, the phrenic nerve, from the third to fifth cervical spinal nerves (C3 to C5) in the neck. The nerve runs down through the thorax beside the heart to reach it, which is why the diaphragm can keep working after an injury to the spinal cord below the fifth cervical segment.
Which chest muscles lie at the back?
At the back, the external intercostals reach all the way to the spine. Beside them, the levatores costarum run from the transverse processes of the vertebrae down to the ribs below. They are small and lie under the much larger muscles of the back.

The large muscles over the back of the chest, such as the trapezius, latissimus dorsi and the erector spinae, belong to the arm and the back and are covered on those pages.
Common problems with the chest wall muscles
An intercostal muscle strain causes pain between the ribs, often after a twisting movement or a bout of hard coughing. Pain in the chest wall can also come from the joints and cartilages of the ribs.
The diaphragm can be affected by a hiatus hernia, in which part of the stomach slides up through the opening for the oesophagus, and by paralysis after injury to the phrenic nerve. Hiccups are sudden involuntary contractions of the diaphragm. This page describes anatomy only.
Free 3D models of every muscle here
Common questions
Is the pectoralis major a muscle of the thorax?
It lies on the thorax, but it moves the arm and is supplied by nerves of the arm, so it is usually counted as a muscle of the upper limb.
How many intercostal muscles are there?
There are eleven intercostal spaces on each side, and each holds an external, an internal and an innermost intercostal muscle.
What is the most important muscle for breathing?
The diaphragm. It does most of the work of breathing in at rest.
Do we use muscles to breathe out?
At rest, mostly not. Breathing out is passive. In forced breathing the internal intercostals and the abdominal muscles help.
Is this 3D model of the chest wall muscles free?
Yes. The interactive 3D model on this page is free to view and use for study, with no account or download needed.
About this free 3D model of the chest wall muscles
The interactive 3D model on this page is free to use in your browser, with no sign-up. It is built from scan-based anatomy data, so every bone is a separate, correctly placed shape you can turn and inspect from any side.