What causes urinary retention in young men?

Various causes. Often, this occurs after pelvic surgery (hernia or hemorrhoid, for example). Less often, spinal or nerve dysfunction.