Porous La 2 Ti 2 O 7 photocatalyst was synthesized by sol-gel method using cetyltrimethyl ammonium bromide (CTAB) as the template. Ofloxacin degradation mechanism and the effects of CTAB on photocatalytic activity of the porous La 2 Ti 2 O 7 were examined. The addition of CTAB in preparation of La 2 Ti 2 O 7 can obviously enhance the activity of the material, and the first order reaction rate constants are 0.0128, 0.0187 and 0.0245 min-1 on the La 2 Ti 2 O 7 samples obtained using 0, 2 and 4 g of CTAB, respectively. Photocatalytic degradation efficiency is almost linearly enhanced with the increase of La 2 Ti 2 O 7 dosage in less than 300 mg/L. When the La 2 Ti 2 O 7 sample obtained using 4 g CTAB was used, total organic carbon in the solution is reduced from 20.9 mg/L to 5.1 mg/L after 120 min of irradiation. The functional groups in ofloxacin molecule are decomposed during photocatalytic oxidation, which are proven by the shrinking absorption intensities in both UV-Visible and FT-IR spectra. F-, NH 4 + and NO 2 ions in the solution continuously increase with extending irradiation time, showing the separation of fluoride ion and nitrogen from ofloxacin molecule.