Diabetes can cause cloudy urine when too much sugar builds up in your urine. Your urine may also smell sweet or fruity. Diabetes can also lead to kidney complications or increase the risk of infections of the urinary tract, making your urine appear cloudy.