Nerves of the chest
Nervi thoracis
The chest has nerves of three kinds. The intercostal nerves run around the chest wall between the ribs. The sympathetic trunks run down beside the spine. The vagus and phrenic nerves pass through the chest from the neck.
Loading 3D model…
Show
Free 3D model of the nerves of the chest. Whole rib cage. Drag to rotate, zoom with + and − (or Ctrl + scroll), click a bone to highlight and name it.
- Intercostal nerves
- Sympathetic trunk and its ganglia
- Spinal cord
- Vagus nerve
Key points
- Each intercostal nerve runs along the lower edge of a rib with an artery and a vein.
- The sympathetic trunk is a chain of ganglia lying on the heads of the ribs on each side of the spine.
- The vagus nerves carry parasympathetic fibres to the heart, the lungs and the gut.
- The phrenic nerve is the only motor nerve of the diaphragm, and it starts in the neck.
What are the nerves of the chest?
The nerves of the chest fall into two groups. Somatic nerves supply the wall of the chest: its muscles, its skin and the lining of the rib cage. Autonomic nerves supply the organs inside it, mainly the heart, the lungs and the oesophagus.
The somatic nerves of the wall are the intercostal nerves. The autonomic supply comes from the sympathetic trunks and the vagus nerves. The phrenic nerve, which works the diaphragm, crosses the chest on each side of the heart.
Which nerves supply the chest wall?
Twelve pairs of thoracic spinal nerves leave the spine in the chest. The front branch of each of the first eleven is an intercostal nerve. It runs forward in the space between two ribs. The twelfth runs below the last rib and is called the subcostal nerve.

Each intercostal nerve moves the intercostal muscles of its space and carries feeling from a band of skin around the chest. The lower five continue past the rib margin into the wall of the abdomen.
Where is the sympathetic trunk?
A sympathetic trunk runs down each side of the spine. It is a chain of small swellings called ganglia, joined by nerve fibres. In the chest it lies on the heads of the ribs, just behind the lining of the chest cavity.

Each ganglion is linked to the nearby spinal nerve by short threads called rami communicantes. Through them the trunk receives fibres from the spinal cord and returns fibres to every spinal nerve.
Branches of the trunk reach the heart and lungs. Three splanchnic nerves leave its lower part and pass through the diaphragm to the organs of the abdomen. They are not shown in this model.
What does the vagus nerve do in the chest?
The vagus nerve is the tenth cranial nerve. One enters the chest on each side from the neck. Both pass behind the root of a lung and then run down on the oesophagus, which they follow through the diaphragm.

In the chest the vagus nerves send parasympathetic fibres to the heart, where they slow the beat, and to the lungs and the oesophagus. Each also gives off a recurrent laryngeal nerve, which turns back up to the larynx. The recurrent laryngeal nerves are not in the model.
Which nerve works the diaphragm?
The phrenic nerve is the only motor nerve of the diaphragm. It arises in the neck from the third, fourth and fifth cervical nerves, mainly the fourth.
It runs down through the chest in front of the root of the lung, between the heart sac and the lining of the lung, and ends in the diaphragm. It also carries feeling from the central part of the diaphragm and from the heart sac. The model does not have a phrenic nerve.
Which nerves cross the top of the rib cage?
The nerves of the arm come from the lower neck and the first thoracic nerve. They form the brachial plexus, which passes over the first rib and behind the clavicle on its way to the armpit.

One of its branches, the long thoracic nerve, runs down the side of the rib cage on the serratus anterior muscle. The model shows the roots and trunks of the plexus and several of its branches where they lie against the rib cage.
How are the chest nerves connected to the spinal cord?
The spinal cord runs down inside the thoracic vertebrae behind the chest. At each level it gives off an anterior root and a posterior root on each side. The two join to form a thoracic spinal nerve.
Each spinal nerve divides at once. Its anterior ramus becomes an intercostal nerve. Its smaller posterior ramus turns backward to the muscles and skin of the back.
Common problems with the nerves of the chest
Shingles often affects a thoracic nerve. It causes pain and a rash in a band around one side of the chest, along the strip of skin that one intercostal nerve supplies.
Pain from the heart is often felt in the chest wall and the left arm. This is referred pain. The nerve fibres from the heart enter the same segments of the spinal cord as the nerves of that skin.
A tumour at the top of the lung can press on the sympathetic trunk and the lowest part of the brachial plexus. This page describes anatomy only.
Free 3D models of the nerves here
Common questions
How many intercostal nerves are there?
Eleven on each side. The twelfth thoracic nerve runs below the twelfth rib and is called the subcostal nerve.
Are the nerves shown on this model?
Yes. The Nerves switch under the model shows or hides them. The phrenic nerve and the recurrent laryngeal nerve are not in the model.
Why is the diaphragm supplied by a nerve from the neck?
The diaphragm begins its development in the neck and moves down into the chest as the embryo grows. It takes its nerve, the phrenic nerve, with it.
Is the vagus nerve a spinal nerve?
No. It is a cranial nerve. It leaves the skull and travels through the neck and chest to the abdomen.
Is this 3D model of the nerves of the chest free?
Yes. The interactive 3D model on this page is free to view and use for study, with no account or download needed.
About this free 3D model of the nerves of the chest
The interactive 3D model on this page is free to use in your browser, with no sign-up. It is built from scan-based anatomy data, so every bone is a separate, correctly placed shape you can turn and inspect from any side.