Lucy Burroughs answered
You could take a dream about urinating to represent a cleansing or releasing of negative emotions; alternatively, your body might just be telling you to visit the bathroom before bed! Just as your alarm clock might incorporate itself into your dream, the sensation of a full bladder can do the same.
Dreams About Accidentally Urinating
If you dream that you've accidentally peed your pants, this could symbolize a need to release a build-up of negative emotions. The lack of control associated with urinary incontinence could represent a need for an emotional outlet; try writing a journal or talking about your feelings in order to release them in a steady, controlled manner.
General Dreams About Peeing
Dreams about urinating symbolize a release or rejection of negative emotions, and a cleansing of the soul. For example, you might dream of peeing if you have recently resolved an issue in your life, like settling differences with an old friend, or making up with a partner.