The combination of nitrogen recovery and pharmaceutical removal processes for livestock urine treatment were investigated to suppress the discharge of pollutants and recover nitrogen as resources. We combined methylene urea synthesis from urea and adsorption and photocatalytic decomposition of sulfonamide antibiotic using rotating advanced oxidation contactor (RAOC) contained for obtaining both safe fertilizer and reclaimed water. The methylene urea synthesis could recover urea in synthetic urine, however, almost all sulfonamide antibiotic was also incorporated, which is unfavorable from a safety aspect if the methylene urea is to be used as fertilizer. Conversely, RAOC could remove sulfonamide antibiotic without consuming urea. It was also confirmed that the methylene urea could be synthesized from synthetic urine treated by RAOC. Thus, we concluded that RAOC should be inserted prior to the nitrogen recovery process for effective treatment of urine and safe use of methylene urea as fertilizer.