Urinary retention often occurs after surgery in which general anesthesia has been given, because it takes a little time for the smooth muscles to regain their activity. Another cause of urinary retention, occurring primarily in older men, is enlargement, or hyperplasia, of the prostate, which surrounds the neck of the bladder. As the prostate gland enlarges, it narrows the urethra, making it very difficult to void.