The anal canal begins at the terminal end of the rectal ampulla where it narrows at the pelvic floor. It terminates as the anus after passing through the perineum. As it passes through the pelvic floor, the anal canal is surrounded along its entire length by the internal and external anal sphincters, which normally keep it closed.