The intercostal muscles (intercostales interni) are a group of skeletalmuscles between the ribs.[1] These muscles help expand and shrink the size of the chest cavity to help breathing.
When breathing in, the muscles of the diaphragm contract. This pulls the diaphragm downwards, and increases the volume of the thorax. At the same time, the external intercostal muscles contract. This pulls the ribcage upwards and outwards. This also increases the volume of the thorax.
There are three main layers;
External intercostal muscles help inhalation. They pull up the ribs and bend them more open. This expands the thoracic cavity.
Internal intercostal muscles help in forced breathing out (quiet expiration is a passive process). They depress the ribs and bend them inward. This decreases the width of the thoracic cavity.
Innermost intercostal muscle reduces thorax volume, so are also expiratory muscles.