Urinary tract infections is the most cause for the pain while passing urine, some of the other causes could be reproductive problems can cause painful urination, Allergic reactions with some products like soap and lotion can also be one of the reason, Kidney stones or inflammation of the kidney can also be a cause though it is rare.