In this work we report the use of a nanoporous layer of TiO2 aerogel as an electron-transport layer in CH3NH3PbI3-based solar cells. Due to its high surface area, the modified TiO2 aerogel increases the contact surface, enabling the deposition of a higher concentration of perovskite, and enhances the layer interpenetration process. In order to avoid short circuit by the presence of pinholes in the aerogel layer, a thin film of TiO2 paste was also deposited. The TiO2 aerogel layer promoted an incident photon to current efficiency (IPCE) twice as large when compared to the IPCE in solar cells without the aerogel layer. This result shows that aerogel based inks are quite promising for use in high-performance perovskite solar cells (PSCs).