Hierarchical mesoporous Phosphor-doped titania nanoparticles were synthesized by two different method, that is roasting method and hydrothermal method. The samples prepared by hydrothermal method has much higher photocatalytic activity. In addition, MB degradation performance of the hydrothermal ones is also superior to that of the commercial P25. Therefore, the methylene blue (MB) degradation performance on the phosphorous-doped photocatalyst is much enhanced and superior to that of the commercial P25. The hydrothermal method proves to be very suitable for the synthesis of P-doped titania photocatalyst. The resulting materials were characterized by X-ray diffraction (XRD), nitrogen physical adsorption at 77 K, X-ray photoelectron spectroscopy (XPS), and solar light spectroscopy.