[Durgical](https://durgical.com/en/) › [DurgiPedia](https://durgical.com/en/durgipedia/) › [Embryology](https://durgical.com/en/embryology/) › [Digestive system](https://durgical.com/en/embryology/#a-digestive) › Hindgut and cloaca: the urorectal septum and the pectinate line

[Embryology](https://durgical.com/en/embryology/) · [Digestive system](https://durgical.com/en/embryology/#a-digestive)

# Hindgut and cloaca: the urorectal septum and the pectinate line

- Embryonic structure

The end of the gut opens into the cloaca; a septum splits it into bladder in front and rectum behind. The pectinate line marks where two origins meet.

Updated 2026-11-01

**See it in 3D:** [Rectum](https://durgical.com/en/anatomy/rectum/) · [Anal canal](https://durgical.com/en/anatomy/anal-canal/) · [Sigmoid colon](https://durgical.com/en/anatomy/sigmoid-colon/) · [Descending colon](https://durgical.com/en/anatomy/descending-colon/) · [Inferior mesenteric artery](https://durgical.com/en/anatomy/inferior-mesenteric-artery/) · [External anal sphincter](https://durgical.com/en/anatomy/external-anal-sphincter/) · [Urinary bladder](https://durgical.com/en/anatomy/urinary-bladder/)

## Key points

- The urorectal septum divides the cloaca into an anterior urogenital sinus and a posterior anorectal canal; its tip forms the perineal body.
- Above the pectinate line: endoderm, superior rectal artery (from the inferior mesenteric) and visceral innervation with little pain.
- Below it: ectoderm, inferior rectal artery (from the internal pudendal) and somatic innervation by the pudendal nerve, with sharp pain.
- Lymph: above to the internal iliac nodes; below to the superficial inguinal nodes.
- Internal haemorrhoids, above the line, are painless; external haemorrhoids, below it, are painful.
- Failures of the urorectal septum cause anorectal malformations with fistulas to the urethra, bladder or vestibule.

## What it is

The hindgut ends in the cloaca, an endoderm-lined cavity that touches the surface ectoderm at the cloacal membrane. The mesodermal urorectal septum divides it into the urogenital sinus in front and the anorectal canal behind. The upper anal canal is endodermal and the lower part ectodermal; their junction, the pectinate line, separates two different blood supplies, drainages and nerve supplies.

## Structure

- Cloaca: the terminal dilation of the hindgut, lined by endoderm.
- Urorectal septum: a sheet of mesoderm between the allantois and the hindgut.
- Cloacal membrane: endoderm and ectoderm in direct contact, with no mesoderm between them.

## What it becomes

- Distal third of the transverse colon, descending colon and sigmoid colon.
- Rectum and upper two-thirds of the anal canal (endoderm).
- Lower third of the anal canal (ectoderm of the proctodeum).
- Urogenital sinus: lining of the bladder and urethra.

## Step by step

- The allantois and the hindgut open together into the cloaca.
- The cloacal membrane, with no mesoderm between endoderm and ectoderm, closes the cloaca from outside.
- Weeks 4 to 7 approx.: the urorectal septum grows between the allantois and the hindgut toward the cloacal membrane.
- The cloaca is divided into the urogenital sinus in front and the anorectal canal behind.
- The tip of the septum forms the perineal body and splits the membrane into urogenital and anal membranes.
- Around the anal membrane the ectoderm forms a depression, the anal pit (proctodeum).
- The anal membrane ruptures at the end of the embryonic period and the anal canal opens to the outside.

## The pectinate line: what changes

| Feature | Above | Below |
| --- | --- | --- |
| Origin | Endoderm (hindgut) | Ectoderm (proctodeum) |
| Epithelium | Simple columnar | Stratified squamous |
| Artery | Superior rectal (inferior mesenteric) | Inferior rectal (internal pudendal) |
| [Vein](https://durgical.com/en/conditions/haemorrhoids/) | Superior rectal → portal system | Inferior rectal → inferior vena cava |
| Lymph | Internal iliac nodes | Superficial inguinal nodes |
| Nerves and pain | Visceral: little pain | Pudendal: sharp pain |

## Memory aid

Above the line the gut whispers (visceral, nearly painless) and reports to the portal vein; below it the skin shouts through the pudendal nerve and reports to the cava.

## Test yourself

Think of the answer, then tap the question to see it.

## What divides the cloaca, and what does its tip form?

The urorectal septum; its tip forms the perineal body.

## Why are internal haemorrhoids usually painless?

Because they lie above the pectinate line, in endoderm-derived mucosa with visceral innervation.

## To which nodes does a tumour of the anal canal below the pectinate line drain?

To the superficial inguinal nodes.

## Which urinary linings come from cloacal endoderm?

The lining of the bladder and of the urethra, from the urogenital sinus.

[Add to my cards (4)](https://durgical.app/estudiar/?add=/en/embryology/hindgut-and-cloaca-the-urorectal-septum-and-the-pectinate-line/)

## See it in 3D

The structures of Durgical's 3D anatomy where it is found.

- [Rectum](https://durgical.com/en/anatomy/rectum/)
- [Anal canal](https://durgical.com/en/anatomy/anal-canal/)
- [Sigmoid colon](https://durgical.com/en/anatomy/sigmoid-colon/)
- [Descending colon](https://durgical.com/en/anatomy/descending-colon/)
- [Inferior mesenteric artery](https://durgical.com/en/anatomy/inferior-mesenteric-artery/)
- [External anal sphincter](https://durgical.com/en/anatomy/external-anal-sphincter/)
- [Urinary bladder](https://durgical.com/en/anatomy/urinary-bladder/)

## Related

- [Primitive gut: foregut, midgut and hindgut and their arteries](https://durgical.com/en/embryology/primitive-gut-foregut-midgut-and-hindgut-and-their-arteries/)
- [Anorectal malformations (imperforate anus)](https://durgical.com/en/embryology/anorectal-malformations/)
- [Hirschsprung disease (congenital aganglionic megacolon)](https://durgical.com/en/embryology/hirschsprung-disease/)
- [Bladder, urachus and urethra](https://durgical.com/en/embryology/bladder-urachus-and-urethra/)
- [Urachal anomalies: patent urachus, cyst and sinus](https://durgical.com/en/embryology/urachal-anomalies-patent-urachus-cyst-and-sinus/)
- [Bladder exstrophy](https://durgical.com/en/embryology/bladder-exstrophy/)
- [External genitalia and their male–female homologues](https://durgical.com/en/embryology/external-genitalia-and-their-male-female-homologues/)

## Related conditions

- [Haemorrhoids](https://durgical.com/en/conditions/haemorrhoids/)
- [Anal fissure](https://durgical.com/en/conditions/anal-fissure/)

[← All of embryology](https://durgical.com/en/embryology/)

Educational content on embryonic development; not a guide to prenatal diagnosis or to medicines in pregnancy and no substitute for a health professional's advice. No doses are given.

Sources: [Embryology, Rectum and Anal Canal](https://www.ncbi.nlm.nih.gov/books/NBK551682/) (StatPearls Publishing (NCBI Bookshelf), 2023); [Embryology, Gastrointestinal](https://www.ncbi.nlm.nih.gov/books/NBK537172/) (StatPearls Publishing (NCBI Bookshelf), 2023); Langman's Medical Embryology, 13th ed., ch. 15: Digestive System (Wolters Kluwer, 2015).

## **Spotted a mistake?** We are always improving for the community. Tell us what is wrong and our team will review it. Report a mistake

Representative model, for educational purposes only.

---
Source: https://durgical.com/en/embryology/hindgut-and-cloaca-the-urorectal-septum-and-the-pectinate-line/
License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Cite as: DurgiPedia (durgical.com), https://durgical.com/en/embryology/hindgut-and-cloaca-the-urorectal-septum-and-the-pectinate-line/
