1 If the liver is unable to break down the ammonia it is excreted in the urine.  Other diseases - Other common causes of the ammonia smell in urine are diabetes, metabolic disorders, sexually transmitted diseases, medications, vitamins, and nutritional supplements.