Diabetes, particularly Type 2 diabetes, can increase the risk of urinary incontinence. High blood sugar levels can damage the nerves in the bladder, leading to problems with urinary retention. Additionally, some medications taken to treat diabetes can also cause urinary incontinence. To manage diabetes and urinary incontinence, it is important to keep blood sugar levels under control and have regular medical check-ups.