Yes, you can train yourself to hold your urine for longer periods of time. Most people urinate every three or four hours. If you need to visit the bathroom more frequently and there is no medical cause for it, bladder retraining can help.  To retrain your bladder to hold urine longer, try to hold your bladder for increasingly longer amounts of time once you feel the urge to urinate. Start by waiting 15 minutes and gradually increasing the amount of time until you can go three or four hours between voiding.