In this chapter, tetrabutyl titanate was used as the titanium source, and the photocatalytic performance of commercial TiO2 and self-made TiO2 was compared by sol-gel method. Since ready-made commercial TiO2 is not easy to be doped and modified, this chapter also performs alkali solution surface modification at the same time as self-made TiO2 (that is, the TiO2 to be modified is immersed in alkali solution at different pH values and then dried), and the photocatalytic performance of the two before and after the surface modification of alkali solution is compared. In order to improve the photocatalytic performance of self-made TiO2, this chapter modifies the iron doping of self-made TiO2 during the preparation process to enhance its photocatalytic performance. After iron doping modification of TiO2, in order to further improve its performance, the modified sample was modified with alkali solution surface. In this paper, the microscopic characterization and nitrogen and oxygen catalytic performance tests of each sample were carried out, and the results showed that the photocatalytic performance of self-prepared TiO2 was significantly better than that of commercial TiO2. Among the TiO2 modified by different pH solutions, the catalytic performance was the best at pH 11.5, and the photocatalytic performance of Fe-doped TiO2 was also improved to varying degrees compared with pure TiO2, among which Fe doping 0.5% contributed the most to the photocatalytic performance. After the surface modification of Fe (0.5%)-TiO2 with the best doping amount by alkali solution, the photocatalytic performance was also improved.