The smell of ammonia comes from nitrates in urine. Nitrates have a lot of nitrogen. This nitrogen binds with hydrogen to form ammonia. The diluted urine does not smell. When you are dehydrated, the urine becomes concentrated and the smell of ammonia is noticeable.
Another source of ammonia is urea in urine, which in acidic pH breaks down to ammonia. Some bacteria in urine too break urea into ammonia. You could be having urine infection with the bacteria breaking the urea into ammonia.
I think you should consult your doctor and get the urine examined for infection, ketones etc. Hope this helps. Please let me know if there is any thing else and do keep me posted.
The Content on this Site is presented in a summary fashion, and is intended to be used for educational and entertainment purposes only. It is not intended to be and should not be interpreted as medical advice or a diagnosis of any health or fitness problem, condition or disease; or a recommendation for a specific test, doctor, care provider, procedure, treatment plan, product, or course of action. Med Help International, Inc. is not a medical or healthcare provider and your use of this Site does not create a doctor / patient relationship. We disclaim all responsibility for the professional qualifications and licensing of, and services provided by, any physician or other health providers posting on or otherwise referred to on this Site and/or any Third Party Site. Never disregard the medical advice of your physician or health professional, or delay in seeking such advice, because of something you read on this Site. We offer this Site AS IS and without any warranties. By using this Site you agree to the following Terms and Conditions. If you think you may have a medical emergency, call your physician or 911 immediately.