Yes, there are several muscles by your ribs, and they do different jobs. The ones you feel most often are the intercostal muscles between the ribs, the serratus anterior along the side of the rib cage, and the abdominal muscles that attach to the lower ribs.
When someone searches this, they usually have a specific spot in mind — a pull, a twinge, or a hard lump they noticed while pressing near the ribs. The short answer is that the rib cage is wrapped in layers of muscle, and the exact muscle depends on where you are pointing.
The muscles that sit on and between your ribs
The rib cage is not just bone. Three layers of intercostal muscle run between each pair of ribs: the external intercostals, the internal intercostals, and the innermost intercostals. They are thin, flat sheets that fill the space between one rib and the next, and they run in different directions, which is why they can feel like a firm ridge when you press along a rib.
The external intercostals lift the ribs when you breathe in. The internal intercostals pull the ribs down and in, mostly during a forced breath out. The innermost layer is deeper still and helps stabilize the chest wall. Together they form a continuous muscular sleeve around the thorax.
On the outside of the rib cage, the serratus anterior is the muscle most people notice. It starts on the upper eight or nine ribs and wraps around the side of the chest toward the shoulder blade. It looks like a set of finger-like slips, which is why it is sometimes called the boxer's muscle. It pulls the shoulder blade forward and around the rib cage when you reach or push.
The pectoralis muscles cover the front of the upper ribs, and the latissimus dorsi covers the back and side of the lower ribs. At the bottom of the rib cage, the diaphragm forms a dome-shaped sheet that separates the chest from the abdomen. The abdominal muscles — the rectus abdominis, the external and internal obliques, and the transversus abdominis — attach to the lower ribs and the sternum.
Where each rib muscle sits and what it does
The table below maps the main muscles by location so you can match the spot you are feeling to a name.
| Location | Muscle | Main action |
|---|---|---|
| Between the ribs | External, internal and innermost intercostals | Move the ribs during breathing and stabilize the chest wall |
| Side of the chest, under the armpit | Serratus anterior | Pulls the shoulder blade forward and around the rib cage |
| Front of the upper chest | Pectoralis major and minor | Draw the arm across the body and help with pushing |
| Back and side of the lower ribs | Latissimus dorsi | Pulls the arm down and back |
| Bottom of the rib cage | Diaphragm | Main muscle of breathing |
| Lower ribs and front of the abdomen | Rectus abdominis, obliques, transversus abdominis | Bend and twist the trunk and support the core |
The intercostals are the muscles you can feel as a thin layer if you press firmly between two ribs. They are not large, but they are always working, even when you are sitting still, because they help expand and stabilize the chest with every breath.
Why the spot by your ribs can hurt or feel like a lump
A twinge near the ribs is often a strain of an intercostal muscle or the serratus anterior. These muscles are used in coughing, twisting, reaching overhead, and lifting, and a sudden awkward movement can pull one. The pain is usually sharp with a deep breath, a cough, or a twist, and it is felt in a small area rather than across the whole chest.
What people describe as a lump is often not a muscle at all. The ribs themselves have a slight ridge where the rib meets the cartilage, and the lower edge of the rib cage can feel like a hard rim under the skin. A muscle strain can also cause a small area of swelling and tightness that feels like a knot.
Because the chest sits over the heart and lungs, any new pain in the rib area deserves attention. Pain that comes with shortness of breath, dizziness, sweating, or pressure in the center of the chest is a reason to seek urgent medical care rather than to stretch or massage the area. A doctor can tell the difference between a muscle strain and something that needs treatment.
How to tell a rib muscle strain from a rib problem
A muscle strain usually gets worse when you use the muscle and better when you rest it. Pressing directly on the sore spot often reproduces the pain, and twisting or taking a deep breath can make it sharper. The soreness tends to ease over a few days to a couple of weeks with gentle movement.
A cracked rib usually hurts in one precise spot and is worse with a deep breath or a cough. A rib bruise follows a direct knock. A muscle strain often follows a reach, a twist, or a bout of coughing. None of these can be confirmed by feel alone, so if the pain is severe or not improving, a clinician can examine it and decide whether imaging is needed.
For a mild strain, the usual approach is to keep moving gently, avoid the movement that caused it, and use a heat pack on the area for about 15 to 20 minutes at a time. Over-the-counter pain relief can help, but check with a pharmacist or doctor if you take other medicines or have health conditions. Deep breathing exercises help keep the chest moving and reduce the risk of a chest infection after a strain.
What you are actually pressing when you feel a muscle by the ribs
When you press along the side of your rib cage, you are feeling the serratus anterior over the ribs, then the intercostal muscles in the spaces between the ribs, and then the rib bone itself. At the lower edge, the rim you feel is the costal margin, where the ribs meet the cartilage. Below that rim, the abdominal muscles begin.
If you place your hand on the side of your chest and cough, you will feel the serratus anterior and the intercostals tighten. If you reach forward with your arm, the serratus anterior contracts and you may feel it slide over the ribs. These are normal movements, not a sign of a problem.
If you feel a firm, tender spot that does not move with breathing, it is more likely to be a rib or cartilage junction than a muscle belly. If the spot moves when you flex your trunk, it is more likely to be an abdominal muscle attaching to the lower ribs.
When a rib muscle feeling needs a professional check
Most mild rib-area aches settle with rest and gentle movement. Seek medical advice if the pain is severe, keeps getting worse, or is accompanied by fever, coughing up blood, difficulty breathing, or a visible deformity of the chest wall. A doctor or physical therapist can examine the area, check your breathing, and give you a plan that fits your situation.
For a muscle strain that is not settling, a physical therapist can teach you breathing and posture exercises that reduce the load on the intercostals and the serratus anterior. The goal is to keep the chest wall moving without aggravating the strain.