Rib cage muscles include the intercostal muscles between the ribs and several larger muscles that help move the chest during breathing. The diaphragm is the main muscle of quiet inhalation; the intercostals and other muscles assist with rib movement, forceful breathing, and trunk stability.
What the rib cage includes
The rib cage is the bony and cartilaginous framework around the chest. It consists of 12 pairs of ribs, the sternum at the front, and the thoracic vertebrae at the back. Muscles attach to or lie between these structures, but the phrase “rib cage muscles” is not the name of one single muscle group. It usually refers to the intercostals, while a fuller account also includes the diaphragm and muscles that assist breathing.
The rib cage protects the heart and lungs while remaining flexible enough to expand and recoil. Its muscles do not move every rib independently. Instead, coordinated muscle activity changes the shape and volume of the chest, helping air move into and out of the lungs. The muscles also contribute to posture and to movements of the trunk and upper body.
The intercostal muscles between the ribs
There are 11 intercostal spaces on each side, and each space contains three layers of intercostal muscle: external, internal, and innermost. Their fibers run in different directions, creating a layered arrangement that supports the spaces between adjacent ribs. The muscles are supplied by intercostal nerves, which travel along the underside of each rib with blood vessels.
- External intercostals: These are the most superficial layer. Their fibers generally run downward and forward from one rib to the next. During inhalation, their action helps elevate the ribs and expand the chest wall.
- Internal intercostals: These lie beneath the external layer, and their fibers generally run downward and backward. The interosseous portions, between the bony parts of the ribs, can help pull the ribs down during forceful exhalation. The portions near the sternum, called the interchondral or parasternal portions, can assist rib elevation during inhalation.
- Innermost intercostals: These form the deepest, less continuous layer and broadly follow the direction of the internal intercostals. They help support the intercostal spaces and work with the other layers.
It is therefore too simple to say that all external intercostals inhale and all internal intercostals exhale. The effect depends partly on which portion is active and on the breathing task. During quiet breathing, the diaphragm does most of the work; intercostal activity helps coordinate and stabilize chest-wall movement. During a cough, strenuous exercise, or a forceful breath, several muscle groups contribute more strongly.
Smaller muscles on the inner chest wall
Two other muscle groups are often included in descriptions of rib cage anatomy. The subcostales lie on the inner surface of the back part of the lower ribs. They usually span more than one rib and are thought to assist with drawing the ribs downward, although they are not major breathing muscles.
The transversus thoracis lies on the inside of the front chest wall. It runs from the back of the sternum and nearby structures toward the costal cartilages of several upper ribs. It may help depress the ribs, but its role in breathing is modest compared with that of the diaphragm and the main intercostal muscles. These smaller muscles matter for anatomical completeness, but they are not usually the muscles people consciously use to take a deep breath.
The diaphragm and how inhalation works
The diaphragm is a broad, dome-shaped sheet of muscle separating the chest cavity from the abdomen. It attaches to the lower sternum, the inner surfaces of the lower ribs and their cartilages, and the lumbar spine through its muscular pillars. Its fibers converge on a central tendon. The phrenic nerves, arising from spinal nerve roots C3 to C5, provide its motor supply.
When the diaphragm contracts, its dome moves downward and becomes flatter. This increases the volume of the chest cavity and lowers pressure inside the lungs relative to the surrounding air, so air flows in. The lower ribs also move outward as the diaphragm contracts and tensions its attachments. When the diaphragm relaxes during quiet breathing, the elastic recoil of the lungs and chest wall helps air flow out.
Rib motion is often described using two helpful models. The upper ribs and sternum can move in a “pump-handle” pattern, lifting the breastbone forward and upward. The lower ribs can move in a “bucket-handle” pattern, rising outward to widen the chest. These are simplified descriptions: real breathing involves coordinated motion across multiple ribs, the sternum, the spine, and the diaphragm.
Accessory breathing muscles
When breathing becomes more demanding, muscles beyond the diaphragm and intercostals can help enlarge or compress the chest. The scalenes in the neck can elevate the first and second ribs, and the sternocleidomastoid can help lift the sternum when the neck is held steady. These muscles may become more visibly active during hard exercise or respiratory distress. Their recruitment does not, by itself, identify a specific illness.
Other muscles can assist depending on posture and effort. The pectoralis minor may help raise the ribs when the shoulder blades and arms are fixed, and the serratus anterior can help stabilize the shoulder blade and contribute to chest-wall movement in certain positions. During forceful exhalation, abdominal muscles—including the rectus abdominis, obliques, and transversus abdominis—compress the abdominal contents and push the diaphragm upward. These are not all “rib muscles” in a strict anatomical sense, but they can affect breathing mechanics.
Breathing, posture, and everyday movement
Breathing is not simply a matter of lifting the ribs. The diaphragm, rib cage, abdominal wall, and muscles around the spine coordinate to regulate chest volume and control pressure. For example, a person speaking in a long sentence uses controlled exhalation, while coughing requires a rapid increase in pressure generated by the chest and abdominal muscles. Lifting a heavy object also involves trunk muscles that brace the torso; this is related to, but different from, the process of drawing air into the lungs.
Breathing patterns vary with activity and position. At rest, movement may be most noticeable in the abdomen as the diaphragm descends. During exercise, breathing becomes deeper and faster, and the rib cage and accessory muscles contribute more. A person can also intentionally expand the upper chest, but that does not mean the upper-chest pattern is always more effective or healthier. The body adjusts muscle recruitment to the task.
Chest-wall pain and common misconceptions
Pain around the ribs can come from muscle strain, irritated joints, a bruise or fracture, or conditions involving the lungs, heart, or other organs. Intercostal muscle strain may follow heavy lifting, a sudden twist, repeated coughing, or strenuous activity. It can cause localized tenderness that worsens with certain movements, coughing, or a deep breath, but those features alone cannot confirm the cause.
Costochondritis is inflammation or irritation around the joints where ribs meet the cartilage near the breastbone; it is not the same thing as an intercostal muscle injury. Likewise, pain that feels as though it is “in a rib muscle” does not prove that a muscle is responsible. The lungs themselves do not have the same pain-sensitive structures as the chest wall, and symptoms can be referred from other areas. A clinician may need to consider the timing, associated symptoms, examination, and medical history.
Seek urgent medical help for new or severe chest pain, particularly when it comes with shortness of breath, fainting, sweating, nausea, or pain spreading to the arm, back, neck, or jaw. Sudden breathing difficulty, coughing blood, or pain after significant trauma also warrants prompt assessment. Do not assume chest pain is a muscle strain simply because it changes with movement or breathing.
How to understand a rib cage muscle diagram
Diagrams can be confusing because they may show only one layer, one side of the body, or the muscles from an unusual viewing angle. A front view often highlights the sternum and the anterior intercostals; a side or back view may make the rib attachments easier to see. Some illustrations remove the outer muscles to reveal deeper layers, so a muscle that appears closest to the skin in a diagram may not be superficial in the intact body.
- Locate the rib, sternum, and thoracic spine first; these provide landmarks for muscle attachments.
- Check whether the illustration shows the front, side, or inner surface of the chest wall.
- Notice whether the external, internal, or innermost intercostal layer is being displayed.
- Distinguish muscles between the ribs from larger muscles that only assist breathing under particular conditions.
For example, the diaphragm is not a muscle filling the gaps between ribs. It forms the floor of the thoracic cavity and attaches around its lower boundary. The scalenes are in the neck, while the abdominal muscles lie below the rib cage; both can still influence breathing. Thinking in terms of location and function makes anatomy diagrams easier to interpret.
Frequently Asked Questions
What are the muscles between the ribs called?
The muscles between adjacent ribs are the intercostal muscles. Each intercostal space has external, internal, and innermost layers, which help support the chest wall and coordinate rib movement during breathing.
Which muscle is the main muscle used for breathing?
The diaphragm is the primary muscle of quiet inhalation. It contracts and descends, increasing the volume of the chest cavity. The intercostals and other muscles assist, especially when breathing is deep or strenuous.
Do rib muscles pull the ribs up or down?
It depends on the muscle and the part of the muscle involved. External intercostals generally help elevate the ribs, while the interosseous portions of the internal intercostals can help depress them during forceful exhalation. The internal layer also has portions near the sternum that assist inhalation.
Can a pulled intercostal muscle hurt when I breathe?
Yes. A strain in the chest wall can hurt with deep breathing, coughing, or twisting. However, pain with breathing can also have other causes, including problems that need urgent care, so symptoms alone cannot establish that a muscle is pulled.
Are the diaphragm and intercostal muscles the same thing?
No. Intercostals occupy the spaces between the ribs, while the diaphragm is a broad muscle beneath the lungs that separates the chest and abdominal cavities. They work together to change chest volume during breathing.