The rectum continues from the sigmoid colon to the anal canal and has a thick muscular layer. It follows the curvature of the sacrum and is firmly attached to it by connective tissue. The rectum ends about 5 cm below the tip of the coccyx, at the beginning of the anal canal.
The last 2 to 3 cm of the digestive tract is the anal canal, which continues from the rectum and opens to the outside at the anus. The mucosa of the rectum is folded to form longitudinal anal columns. The smooth muscle layer is thick and forms the internal anal sphincter at the superior end of the anal canal. This sphincter is under involuntary control. There is an external anal sphincter at the inferior end of the anal canal. This sphincter is composed of skeletal muscle and is under voluntary control.