A method for treating fecal incontinence in a body of a mammal having a rectum formed by a rectal wall extending to an anus wherein the rectal wall includes a sphincter muscle surrounding the anus. At least one nonaqueous solution is introduced into the rectal wall in the vicinity of the anus. A nonbiodegradable solid is formed in the rectal wall from the at least one nonaqueous solution.