Dye-sensitized solar cells have continued to receive much attention since their introduction by O'Regan and Grätzel in 1991. Modelling charge transfer during the sensitization process is one of several active research areas for the development of dye-sensitized solar cells in order to control and improve their performance and efficiency. Mathematical models for transport of electron density inside nanoporous semiconductors based on diffusion equations have been shown to give good agreement with results observed experimentally. However, the process of charge transfer in dye-sensitized solar cells is complicated and many issues are in need of further investigation, such as the effect of the porous structure of the semiconductor and the recombination of electrons at the interfaces between the semiconductor and electrolyte couple. This paper proposes a new model for electron transport inside the conduction band of a dye-sensitized solar cell comprising of TiO2 as its nanoporous semiconductor. This model is based on fractional diffusion equations, taking into consideration the random walk network of TiO2. Finally, the paper presents numerical solutions of the fractional diffusion model to demonstrate the effect of the fractal geometry of TiO2 on the fundamental performance parameters of dye-sensitized solar cells, such as the short-circuit current density, open-circuit voltage and efficiency.