We used Low pressure mercury vapor lamp activated of Sodium Persulfate (UV/SPS) and Fenton processes in two separate reactors to comparison of cephalexin (CPX) degradation in aqueous solution. The effect of pH, initial concentration of SPS, concentration of CPX, concentration of H 2 O 2 and concentration of Fe 2+ on the degradation of CPX were investigated. The residue of CPX and metabolites were determined by HPLC and GC/MS. The Total Organic Carbon (TOC) analysis was utilized for surveying the mineralization of CPX. Biodegradability of CPX in both advanced oxidation processes was evaluated by BOD5/COD in optimum condition. The results indicated that the maximum CPX removal was obtained at pH 3, H 2 O 2 3 mM, concentration of initial CPX 10 mg/L and by increasing the doses of SPS from 0.1 to 0.2 mM, the degradation of CPX was enhanced. In this study, the most important factors for AOP efficiency was concentration of initial CPX; and then pH in UV/SPS and H 2 O 2 in Fenton processes. The TOC measurements indicate that the UV/SPS and Fenton can efficiently mineralize CPX. CPX removed enough to achieve suitable biodegradability for a further biological process. Too, analysis of generated intermediates during the degradation of CPX was conducted by GC/MS method and a degradation pathway was proposed.