Quasi-solid state dye-sensitized solar cells (DSSCs) were assembled by in-situ chemical cross-linking of a gel electrolyte precursor containing liquid electrolyte. The DSSCs assembled with this cross-linked gel polymer electrolyte showed higher open circuit voltage and lower short-circuit photocurrent density than those of DSSCs with liquid electrolyte. Addition of SiO2 nanoparticles into the cross-linked gel polymer electrolyte significantly improved the photovoltaic performance and long-term stability of the DSSCs. The optimized quasi-solid state DSSC showed high conversion efficiency, 6.2% at 100 mW cm−2 with good durability.