continence

Definition

The ability to control the excretion of urine and feces. Also used to mean self-restraint, particularly sexual abstinence.

Example

"After the surgery, it took several weeks for him to regain bladder continence."