Connection lost. Please refresh the page.
Get help How to study Login Register
Ready to learn?
Pick your favorite study tool

Intercostal nerves

Recommended video: Neurovasculature of dorsal trunk and neck [13:56]
Main arteries, veins and nerves found on the dorsal trunk and neck.

The intercostal nerves originate segmentally from the anterior/ventral rami of thoracic spinal nerves T1 to T11. The term ’intercostal’ refers to their course in the intercostal space, in which they run alongside intercostal vessels. The anterior rami of the most inferior thoracic spinal nerve (T12) gives rise to the subcostal nerve which runs inferior to the twelfth rib, the  “subcostal space”. 

The intercostal nerves are mixed nerves, carrying motor and sensory fibers. Their main function is to provide segmental supply to the structures of the thoracic wall and abdominal wall. In addition to their motor innervation for intercostal muscles, and muscles of the anterolateral abdominal wall,  they carry sensory afferents from the skin of the thoracic and abdominal wall, ribs, pleura, and peritoneum. These nerves also carry sympathetic innervation to structures (sweat glands, blood vessels) of the thoracic and abdominal walls.

This article will discuss the anatomy and function of the intercostal nerves.

Key facts about the intercostal nerves
Origin Anterior rami of spinal nerves T1-T11
Types Atypical:
First two intercostal nerves (T1, T2)
Lowest five intercostal nerves (T7-T11)
Middle intercostal nerves (T3-T6)
Branches Muscular branches, collateral branches, lateral cutaneous branch, anterior cutaneous branch, communicating branches
Supply Intercostal nerves T2-T6: Intercostal muscles, parietal pleura, the skin overlying thoracic wall
Intercostal nerves T7-T11: Abdominal muscles, parietal peritoneum, skin over anterior abdomen
  1. Introduction
  2. Intercostal nerve 1
  3. Intercostal nerves 2-6
    1. Branches and innervation
  4. Intercostal nerves 7-11
  5. Dermatomes 
  6. Sources
+ Show all


The thoracic part of the spinal cord gives rise to twelve pairs of thoracic spinal nerves. The anterior/ventral rami of the first eleven thoracic spinal nerves give rise to eleven intercostal nerves. The twelfth nerve is located inferior to the last rib and is thus called the subcostal nerve

Upon arising, each intercostal nerve is connected to its corresponding sympathetic ganglion (of the sympathetic trunk) by pre- and postganglionic branches (rami communicantes). The intercostal nerves then enter their corresponding intercostal space between the posterior (internal) intercostal membrane and the parietal pleura. 

The nerves then course anteriorly in the costal grooves alongside their corresponding intercostal artery and vein. Although the majority of intercostal nerves follow a similar pattern from origin to course and branches, there are some differences among them. Broadly, the intercostal nerves are grouped into typical and atypical intercostal nerves. The main reason for this division is that the typical intercostal nerves course solely in their own intercostal spaces, while the atypical spinal nerves go beyond the thoracic wall to supply other regions. The term ’typical’ refers usually to the third to sixth nerve, while the rest are considered to be atypical. To avoid confusion, in this article we will describe these nerves in three groups that share similar patterns. 

The nervous system is a nightmare for many. Try out nervous system quizzes and diagrams and soon you will see there’s nothing to be afraid of!

Intercostal nerve 1

The anterior ramus of the first thoracic spinal nerve terminates by bifurcating around the neck of the first rib into two branches: superior and inferior.

The larger, superior branch exits the thoracic cavity and joins the brachial plexus. The inferior branch, also known as the intercostal branch, becomes the first intercostal nerve.

This nerve courses in the first intercostal space (below the first rib) and ends as the first anterior cutaneous branch on the anterior chest wall.

Intercostal nerves 2-6

The anterior rami of the second, third, fourth, fifth, and sixth thoracic spinal nerves enter directly into their corresponding intercostal spaces, passing between the parietal pleura and the posterior intercostal membrane. These nerves continue anteriorly, running between the innermost intercostal and the internal intercostal muscles. Along their path in the intercostal space, these nerves course within or just below the costal groove, running inferior to the intercostal artery and vein. Near the midaxillary line, each of these nerves gives rise to lateral cutaneous branches. At the anterior chest wall, close to the sternum, the intercostal nerves pass anterior to the internal thoracic vessels and terminate by piercing the internal intercostal muscles and external intercostal membranes between the costal cartilages, and the pectoralis major muscle, to become anterior cutaneous branches.

Note that the lateral cutaneous branch of the second intercostal nerve is known as the intercostobrachial nerve, which supplies the floor of the axilla and upper posteromedial region of the upper extremity. In acute cases of coronary artery diseases (e.g. heart attack), patients usually feel left-sided pain in their axilla and arm. This is cardiac referred pain that is mediated by the intercostobrachial nerve.

Branches and innervation

The typical intercostal nerves are mixed nerves carrying both motor and sensory innervation for the thoracic and abdominal walls. Along their course, the nerves usually give off several branches: 

  • The muscular branches for the intercostal muscles, subcostal muscles, serratus posterior superior, levatores costarum and transversus thoracis muscles.
  • The cutaneous branches are the lateral cutaneous branches, which further divide into anterior and posterior branches, and the anterior cutaneous branches which also divide into medial and lateral branches. These branches supply segmental sensory innervation to the skin of the anterolateral walls of the thorax and abdomen
  • The collateral branches arise close to the angles of the ribs and course along the superior border of the inferior rib to innervate the intercostal muscles, parietal pleura, and the periosteum of the rib.
  • The communicating branches (rami communicantes) are a connection between each intercostal nerve and the ipsilateral sympathetic trunk. Presynaptic fibers run from the anterior rami of the spinal nerves to the trunks, while the postsynaptic fibers run from the ganglions back to the nearest anterior rami of spinal nerves. The sympathetic fibers then run through the intercostal nerves to reach and innervate the blood vessels, sweat glands, and smooth muscle of the body wall and limb.

Intercostal nerves 7-11

The anterior rami of the last five (seventh, eighth, ninth, tenth, and eleventh) spinal nerves also enter and course in their corresponding intercostal spaces. Here, they provide supply for the thoracic wall and the intercostal muscles.

However, after their course in the intercostal spaces, the nerves course behind the costal margin into the abdominal wall where it terminates as anterior cutaneous branches, after piercing the anterior rectus sheath. These intercostal nerves supply skin and muscles of this region, as well as the parietal peritoneum. Owing to the fact that they innervate both thoracic and abdominal walls, these nerves are sometimes also referred to as the thoracoabdominal nerves.


A dermatome refers to the area of the skin in which sensory nerves derive from a single spinal nerve root. The dermatomes related to the thorax and abdomen are T1-T12.

Anteriorly, each is quite evenly spaced, with T1-T6 being nearly horizontal lines that extend over the thoracic wall.

Furthermore, the dermatomes T7-T12 start horizontally in the thoracic wall, but anteriorly, they tend to dip inferiorly and extend onto the abdominal wall.

Intercostal nerves: want to learn more about it?

Our engaging videos, interactive quizzes, in-depth articles and HD atlas are here to get you top results faster.

What do you prefer to learn with?

“I would honestly say that Kenhub cut my study time in half.” – Read more.

Kim Bengochea, Regis University, Denver
© Unless stated otherwise, all content, including illustrations are exclusive property of Kenhub GmbH, and are protected by German and international copyright laws. All rights reserved.

Register now and grab your free ultimate anatomy study guide!