Yes—the rib cage is surrounded and moved by muscles, although the ribs themselves are bones. Muscles between the ribs, the diaphragm beneath them, and several muscles of the chest, back, neck, and abdomen work together to support the trunk and help you breathe.
What the rib cage is made of
The rib cage, also called the thoracic cage, is a framework of bones and cartilage around the chest. Most adults have 12 pairs of ribs. Behind them are the 12 thoracic vertebrae; in front, the ribs connect directly or indirectly to the sternum (breastbone) through flexible costal cartilage. The first seven pairs attach directly to the sternum, the next three connect through cartilage above them, and the bottom two pairs do not attach to the sternum in front. These last ribs are often called floating ribs.
Muscles are not part of the bony rib cage itself, but many lie between or over its bones. They connect ribs to ribs, the spine, the sternum, or other structures. Their positions let them move the chest wall, stabilize it during activity, and contribute to movements of the trunk and shoulders. The heart and lungs sit inside the thoracic cage, while the cage also provides attachment points for muscles used in breathing and upper-body movement.
The muscles between the ribs
The most directly relevant muscles are the intercostals, a set of muscles occupying the spaces between neighboring ribs. There are external and internal intercostal layers, with additional deepest fibers often described as the innermost intercostals. Together, these layers help hold the spaces between ribs steady and coordinate the chest wall as it moves. They do not act as a single switch: their role varies with the phase and effort of breathing.
During a normal inhale, the external intercostals help lift and expand the ribs. This movement enlarges the chest cavity. The internal intercostals have different effects in different parts of the chest; their interosseous portions can help pull the ribs down during forceful exhalation, while portions nearer the cartilage may assist rib elevation. In quiet breathing, their contribution is less conspicuous than that of the diaphragm.
Intercostal muscles also help keep the chest wall firm when pressure changes inside the chest, such as during coughing or lifting. They are supplied by nerves that run along the ribs. A strain or irritation in this area can make breathing, twisting, or coughing uncomfortable, but pain in the spaces between ribs does not by itself identify the cause.
The diaphragm and other breathing muscles
The diaphragm is a broad, dome-shaped muscle at the bottom of the chest cavity. It separates the chest from the abdomen and is the primary muscle used for quiet inhalation. When it contracts, it moves downward and becomes flatter. That increases space in the chest and helps draw air into the lungs. When it relaxes, it rises again as the lungs and chest wall recoil.
Other muscles can help when breathing requires more effort. The scalenes in the neck can raise the upper ribs, and the sternocleidomastoid muscles may lift the sternum. Some chest and shoulder muscles, including the pectoralis muscles, can assist rib movement when the arms and shoulders are held in a stable position. These are often called accessory breathing muscles because they are not usually the main drivers of relaxed breathing.
Muscles in the abdomen matter especially during forceful exhalation. The abdominal wall can compress the contents of the abdomen and push the diaphragm upward, helping move air out. This is useful for actions such as coughing, blowing, singing, or vigorous exercise. In ordinary resting breathing, exhalation is mostly passive: the diaphragm relaxes and the elastic tissues of the lungs and chest wall recoil.
How rib movement helps breathing
Breathing depends on changing the volume of the chest, not on muscles pulling air directly into the lungs. As the diaphragm contracts and the ribs move, pressure inside the chest falls slightly relative to the air outside the body. Air then flows into the lungs. On exhalation, the chest volume decreases and air flows out. The lungs themselves do not have muscles that expand them; they follow the movement of the chest wall through the pleural membranes.
The ribs move in coordinated ways rather than simply swinging straight outward. Movement of the upper ribs can increase the front-to-back dimension of the chest, while movement of the lower ribs can widen it from side to side. These descriptions are sometimes called pump-handle and bucket-handle movements. They are useful models, not rigid motions: actual breathing combines several small movements across the ribs, spine, sternum, and diaphragm.
Breathing changes with the task. Quiet breathing uses a relatively small range of movement. Deep inhalation, running, singing, or blowing forcefully recruits more muscle activity and expands the chest further. A person may also use neck or shoulder muscles more visibly when breathing is difficult; persistent or sudden breathing difficulty should not be treated as merely a muscle issue.
What these muscles do beyond breathing
Rib-area muscles contribute to more than inhaling and exhaling. Intercostals help stabilize the chest wall while the trunk bends or rotates. The abdominal and back muscles work with the rib cage to maintain posture and transfer force between the upper and lower body. Muscles attached to the ribs can also move the shoulder blade or arm, depending on the position of the body. For example, the serratus anterior attaches along the side of the rib cage and helps move and stabilize the shoulder blade.
This shared work explains why a movement such as reaching overhead can involve the ribs, shoulder blade, spine, and breathing muscles together. It also explains why discomfort near a rib may become noticeable during a twist, a cough, or an arm movement even if the ribs themselves are not injured. The body uses linked muscle groups, so the location of a sensation does not always reveal which structure is responsible.
Rib-area muscle pain and common causes
A strained chest-wall muscle may feel sore or tender and can hurt more when you twist, reach, take a deep breath, cough, or press the affected area. Possible triggers include an unfamiliar workout, repeated coughing, lifting, or a sudden forceful movement. However, similar pain can come from a bruised or fractured rib, inflammation around the rib joints, or conditions unrelated to the muscles, including heart or lung problems. Symptoms alone cannot reliably distinguish all of these causes.
If discomfort is mild and follows an obvious strain, reducing the activity that triggers it and returning gradually as symptoms improve may be reasonable. Avoid pushing through sharp or worsening pain. Seek medical advice if pain is severe, follows a significant blow or fall, persists or worsens, or is accompanied by fever or a cough that will not settle.
Call emergency services for chest pain with shortness of breath, fainting, unusual sweating, nausea, or pain spreading to the arm, jaw, back, or shoulder, or for sudden severe breathing difficulty. These signs can indicate an urgent problem and should not be assumed to be a pulled muscle. A clinician can assess the history and examination and decide whether further tests are needed.
Can you strengthen the muscles around your ribs?
There is no single exercise that isolates every rib muscle, and you cannot make the ribs themselves stronger by exercising them like a biceps. General strength and conditioning can train the muscles that support the chest and trunk. Depending on a person’s health and experience, examples include controlled rows, presses, trunk rotations, side planks, and breathing exercises. Good technique and gradual progression matter more than choosing an exercise marketed as a rib-specific fix.
For relaxed breathing practice, sit or lie comfortably and let the lower ribs and abdomen move gently as you inhale. Avoid forcing unusually deep breaths or holding your breath if that causes dizziness or pain. People with a diagnosed lung or heart condition, recent surgery, a rib injury, or unexplained breathlessness should ask a health professional about suitable activity rather than starting a strenuous program on their own.
- Start with a comfortable range of motion and light effort.
- Increase duration or resistance gradually, not all at once.
- Stop if an exercise causes sharp chest pain, marked breathlessness, or dizziness.
- Seek individualized advice if symptoms are persistent or you have a relevant medical condition.
Common misconceptions
One common misconception is that the ribs are made of muscle. They are bones connected to cartilage; muscles lie between them and attach around them. Another is that the diaphragm is a muscle in the abdomen rather than a breathing muscle. It forms the floor of the chest cavity, and its contraction is central to normal inhalation.
It is also misleading to assume that every pain worsened by a deep breath is muscular. Chest-wall strains often respond to movement or pressure, but pain with breathing can have other causes. Likewise, being able to reproduce tenderness by pressing on an area does not, by itself, rule out a more serious condition. Context and associated symptoms matter.
Frequently Asked Questions
Are there muscles between every rib?
Intercostal muscles occupy the spaces between the ribs through much of the chest wall. Their layers help stabilize and move the ribs, although the exact contribution of each layer varies with the movement and effort involved.
What is the main muscle used for breathing?
The diaphragm is the main muscle for quiet inhalation. It contracts and moves downward to expand the chest cavity. Intercostal and other muscles also contribute, especially during deeper or more effortful breathing.
Can a pulled rib muscle hurt when I breathe?
Yes. A chest-wall muscle strain may hurt when you take a deep breath, cough, twist, or move the upper body. But pain with breathing can have other causes, so severe, unexplained, persistent, or concerning symptoms need medical assessment.
Do the ribs move when you breathe?
Yes. The ribs move slightly as muscles lift and widen the chest during inhalation, then return as the chest recoils during exhalation. The diaphragm also changes the size of the chest cavity.
Can exercise make the rib cage bigger?
Exercise can strengthen muscles around the chest and improve fitness, but it does not enlarge the adult bony rib cage in the way muscle training increases muscle size. The ribs and cartilage form the framework; the muscles over and between them can adapt to training.