The urethral sphincters are two muscles used to control the exit of urine in the urinary bladder through the urethra. The two muscles are either the male or female external urethral sphincter and the internal urethral sphincter. When either of these muscles contracts, the urethra is sealed shut. The external urethral sphincter originates at the ischiopubic ramus and inserts into the intermeshing muscle fibers from the other side. It is controlled by the deep perineal branch of the pudendal nerve. Activity in the nerve fibers constricts the urethra. The internal sphincter muscle of urethra: located at the bladder's inferior end and the urethra's proximal end at the junction of the urethra with the urinary bladder. The internal sphincter is a continuation of the detrusor muscle and is made of smooth muscle, therefore it is under involuntary or autonomic control. This is the primary muscle for prohibiting the release of urine. The female or male external sphincter muscle of urethra (sphincter urethrae): located in the deep perineal pouch, at the bladder's distal inferior end in females, and inferior to the prostate (at the level of the membranous urethra) in males. It is a secondary sphincter to control the flow of urine through the urethra. Unlike the internal sphincter muscle, the external sphincter is made of skeletal muscle, therefore it is under voluntary control of the somatic nervous system. Function and sex differences In males and females, both internal and external urethral sphincters function to inhibit the release of urine. The external urethral sphincter provides voluntary control of urination. Any damage to these muscles can lead to urinary incontinence. In males, the internal sphincter muscle of urethra functions to prevent flow of semen into the male bladder during ejaculation. Females do have a more elaborate external sphincter muscle than males as it is made up of three parts: the sphincter urethrae, urethrovaginal muscle, and the compressor urethrae. The urethrovaginal muscle fibers wrap around the vagina and urethra and contraction leads to constriction of both the vagina and the urethra. The origin of the compressor urethrae muscle is the right and left inferior pubic ramus and it wraps anteriorly around the urethra so when it contracts it squeezes the urethra against the vagina. The external urethrae, like in males, wraps solely around the urethra. Congenital abnormalities of the female urethra can be surgically repaired with vaginoplasty. Clinical significance The urethral sphincter is considered