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 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. In males and females, both internal and external urethral sphincters function to inhibit the release of urine. In males, the internal sphincter muscle of urethra functions to prevent reflux of seminal fluids 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.