2. Muscles of the anterolateral wall
These muscles form a wall that keeps the abdominal viscera inside the abdominal cavity.

2.1 Rectus abdominis
They lie in the anterior part of the abdomen. It is an elongated, strap-like, flattened muscle. At the top it inserts on the xiphoid process and the last costal cartilages (7, 8 and 9), and its fibres descend to insert on the pubic crest. The two muscles are parallel and are joined in the midline.
It has tendinous intersections, small tendinous bands that give it greater strength. In general there are three intersections in each muscle. Going from bottom to top, the first (the lowest) lies at the level of the umbilicus, and going upwards we find the other two equidistant from it. Occasionally there may be more or fewer, and they may even run the whole length of the muscle or be incomplete.
It is a flexor of the trunk and an elevator of the pelvis (lying down).
They are covered by an aponeurotic sheath called the rectus sheath. It is fibrous, thick and strong. It covers them on the anterior and posterior surfaces (on the posterior surface only the uppermost part).
In the midline, where the two recti join, the rectus sheath is more fibrous and is called the linea alba or white line. It runs from the xiphoid process to the pubic symphysis. It becomes hyperpigmented during pregnancy (it is an early sign of pregnancy).
2.2 Pyramidalis
It is a small triangular muscle lying superficial to the recti. Its base inserts on the pubis and its apex on the linea alba. It is vestigial, although it can tense the linea alba. It is present in 30% of Westerners and 90% of Asians (epigenetic variations).
2.3 Flat muscles of the abdomen
These are flat muscles located in the lateral walls of the abdomen. There are three, from superficial to deep:
- External oblique: the most superficial. Its fibres run from top to bottom and from back to front. It attaches to the most distal part of the lower ribs (7–12), and its fibres run downwards and towards the midline, to insert on the lower part of the iliac crest and on the pubic tubercle. In the midline, lateral to the recti, its fibres insert by means of an aponeurosis.
- Internal oblique: deep to the external oblique: Its fibres attach to the last 3 or 4 ribs, and at the back of the abdomen to the aponeurosis that covers the muscles of the back, called the thoracolumbar fascia; its fibres run upwards and forwards (the opposite of those of the external oblique) to insert on the iliac crest and the pubic tubercle and, towards the front, like the external oblique, they insert by an aponeurosis (their fibres become aponeurosis) on the rectus muscles. The fibres of the cremaster muscle around the testes are fibres of the internal oblique; they are striated skeletal fibres, but a reflex contraction can also occur.
- Transversus abdominis: the deepest. It attaches to the costal cartilages of the 8th, 9th and 10th ribs, to the 11th and 12th ribs, and to the thoracolumbar fascia. Its fibres run horizontally to the iliac crest and the pubic tubercle, and anteriorly it inserts by an aponeurosis on the recti.
The change in direction of the fibres in the three layers increases strength, since they act as an abdominal press.
Action: they contribute to flexing the trunk, and the two most superficial also take part in lateral flexion of the trunk.
When the external oblique contracts unilaterally, the trunk rotates towards the opposite side (contralateral rotation: if the right external oblique contracts, the left side turns, and vice versa); unilateral contraction of the internal oblique makes the trunk rotate towards the same side as the muscle that has contracted (if the right internal oblique contracts, the trunk turns to the right, and vice versa); so in a turn to the right, the left external oblique and the right internal oblique act.
All three produce the abdominal press, together with the recti. This consists of applying pressure within the abdomen, which allows us to sneeze, cough, give birth, urinate and defecate.
The aponeuroses of the three flat muscles join as they approach the recti and then split and enclose them, forming the rectus sheaths. They do not surround them uniformly: anteriorly they are completely covered, but posteriorly, towards the lower third, the sheath disappears, leaving only the aponeurosis of the recti. The boundary describes an arch called the arcuate line (arch of Douglas).

The transition zone between the fleshy part of the flat muscles and the aponeurotic part, where the transition zones of the three muscles overlap, is the semilunar line (linea semilunaris, or line of Spiegel).
(SHEATH: a much denser condensation of aponeurosis. It is connective tissue that reinforces the muscle).
Lumbar triangle (triangle of Petit): bounded inferiorly by the iliac crest, posteriorly by the anterior border of latissimus dorsi, and anteriorly by the posterior border of the external oblique.
Hernias, through which viscera leave the abdominal cavity, can appear in this area because it is weaker. They are congenital and usually appear in newborn babies.
