Ordered Mesoporous Silica with Uniform Pore Size Was Prepared by Using Pluronic P123 as the Structure-Directing Agent. their Characteristics Were Analysized by TEM and a N2 Adsorption System. Ionic Liquid-Based Gel Electrolyte Was Fabricated by Using Ordered Mesoporous Silica as the Framework Materials to Solidify Ionic Liquid Electrolyte. the Diffusion Coefficient of I3- in Gel Electrolyte Is Higher than that in Ionic Liquid Electrolyte due to the Formation of Favorable Channel for I3- Diffusion. the Optimized Overall Conversion Efficiency of Dye-Sensitized Solar Cells with Ionic Liquid-Based Gel Electrolyte Was 5.22% under Irradiation of 60 MW Cm-2.