Curious Minds

Clear answers to science and history questions

Muscles of the Ribs: What They Do and How They Work

· 6 min read · Science

The muscles of the ribs are mainly the intercostal muscles that fill the spaces between the ribs, plus the diaphragm and the muscles of the abdominal wall and neck that attach to the rib cage. Their main job is to move the ribs and change the size of the chest cavity so you can breathe, and they also steady the rib cage when you cough, lift, or twist.

How much each group does depends on whether you are breathing quietly at rest or working hard, and on whether the rib cage is being pulled from below by the diaphragm or lifted from above by the neck muscles.

The Intercostal Muscles Fill the Gaps Between the Ribs

There are three layers of intercostal muscle in each of the spaces between the ribs, and they run in different directions. The external intercostals run downward and forward from the rib above to the rib below. The internal intercostals run downward and backward, and the innermost intercostals lie deepest, close to the lining of the chest cavity.

The external intercostals lift the ribs upward and outward when you breathe in, which enlarges the chest from front to back and side to side. The internal intercostals pull the ribs downward and inward, and they are most active when you breathe out forcefully, as in coughing, blowing out a candle hard, or playing a wind instrument. In quiet breathing, the internal intercostals do little; the ribs come back down mostly because the lungs and chest wall spring back on their own.

Each intercostal space also carries a nerve, an artery, and a vein that run along the lower edge of the rib above. That is why a rib injury or a deep breath can hurt in a band around the chest: the nerve that supplies the muscles also supplies the skin over that strip of the rib cage.

The Diaphragm Is the Main Breathing Muscle Under the Ribs

The diaphragm is a dome-shaped sheet of muscle that separates the chest from the abdomen. It attaches to the lower ribs, the breastbone, and the lumbar spine. When it contracts, it flattens and moves downward by about 1 to 2 cm (0.4 to 0.8 in) in quiet breathing, and much more in deep breathing. That downward movement pulls the base of the lungs down and also lifts the lower ribs slightly outward, which widens the lower chest.

The diaphragm does most of the work of quiet breathing. The intercostals and the neck muscles assist, and the abdominal muscles join in when you need to breathe out hard or cough. If the diaphragm is paralyzed on one side, the rib muscles on that side can still lift the ribs, but the lower chest may move inward instead of outward during a breath, which is a sign a doctor can see on examination.

The Abdominal and Neck Muscles Move the Rib Cage Too

The abdominal muscles attach to the lower ribs and to the pelvis. When they contract, they pull the lower ribs down and compress the belly, which helps push air out of the lungs during a cough, a sneeze, or a hard effort. They also steady the rib cage when you lift something heavy, because they raise the pressure inside the abdomen and give the spine a firm base.

The neck muscles, including the scalenes and the sternocleidomastoid, attach to the upper ribs and the collarbone. They lift the top of the rib cage when you breathe in deeply or when you are short of breath. You can feel them working if you place a hand on the side of your neck and take a fast, deep breath through your nose. In quiet breathing at rest they are almost silent; they become active when you exercise or when breathing is harder than usual.

Which Muscles Work at Rest and Which Work During Hard Breathing

The table below shows the main job of each group and when it is most active. The pattern is simple: quiet breathing is mostly the diaphragm, and harder breathing adds the rib muscles and the abdominal wall.

Muscle groupMain action on the ribsMost active when
External intercostalsLift the ribs up and outBreathing in, especially deep breaths
Internal intercostalsPull the ribs down and inBreathing out hard, coughing
DiaphragmFlattens and lowers, lifting the lower ribsQuiet breathing at rest
Abdominal musclesPull the lower ribs down, compress the bellyCoughing, lifting, forced breathing out
Neck muscles (scalenes, sternocleidomastoid)Lift the upper ribs and collarboneDeep or labored breathing in

Two practical rules follow from this. First, if you want to breathe more deeply, aim to move the lower ribs and belly outward, not just the upper chest. Second, if you see the upper chest and neck muscles working hard at rest, that is a sign breathing is taking more effort than it should, and it is worth having a doctor check it.

A Worked Example: One Deep Breath, Step by Step

Take a slow breath in through your nose and follow what the muscles do. First the diaphragm contracts and moves down about 1 to 2 cm (0.4 to 0.8 in), pulling the base of the lungs down. Then the external intercostals lift the ribs, and the neck muscles lift the top of the chest. The chest expands in three directions: front to back, side to side, and top to bottom. The pressure inside the chest drops below the pressure in the room, and air flows in.

Now breathe out slowly through pursed lips. The diaphragm relaxes and rises back to its dome shape, and the ribs come down as the internal intercostals and abdominal muscles contract. The pressure inside the chest rises above room pressure, and air flows out. If you cough, the same muscles contract much harder and faster, and the abdominal muscles pull the lower ribs down sharply to push air out at high speed.

What Changes the Work of the Rib Muscles

Several things change how much the rib muscles have to do. Body position matters: lying flat makes the diaphragm push against the abdominal contents, so the rib muscles take on more of the work. Sitting slumped forward reduces how much the lower ribs can move, which is why sitting up straight makes a deep breath easier. Pregnancy and a full stomach push the diaphragm up and reduce its room to move, so breathing feels more effortful.

Lung conditions change the balance too. In conditions where the lungs are stiff, the rib muscles must pull harder to expand the chest. In conditions where the airways are narrowed, breathing out takes more work, and the internal intercostals and abdominal muscles become more active. A rib fracture makes every deep breath painful, and the muscles around the break may tighten to guard it, which can lead to shallow breathing. If you have a rib injury and your breathing becomes fast or you feel short of breath, seek medical care rather than waiting it out.

Training changes the muscles as well. Regular aerobic exercise makes the diaphragm and intercostals work harder for longer, and they adapt like other muscles. Breathing exercises that slow the breath and focus on the lower ribs can help you use the diaphragm more and the neck muscles less, but they do not replace medical treatment for a lung or heart condition.

In this article
  1. The Intercostal Muscles Fill the Gaps Between the Ribs
  2. The Diaphragm Is the Main Breathing Muscle Under the Ribs
  3. The Abdominal and Neck Muscles Move the Rib Cage Too
  4. Which Muscles Work at Rest and Which Work During Hard Breathing
  5. A Worked Example: One Deep Breath, Step by Step
  6. What Changes the Work of the Rib Muscles