A novel freestanding poly (β-hydroxyethyl methacrylate), PHEMA-based organogel electrolyte is developed simply by optimization of the solution polymerization in the same solvent as the organic electrolyte for dye-sensitized solar cells (DSCs). The room temperature ionic conductivity of the gel electrolyte is 4.54 × 10−3 S cm−1, and the conduction behavior can be well described by the free volume model. The quasi-solid-state dye-sensitized solar cell fabricated with this PHEMA-based polymer gel electrolyte can present high energy conversion efficiency up to 7.5%. Preliminary long-term stability test further reveals that this quasi-solid-state electrolyte exhibits good stability after 1000 h thermal test in comparison with the DSCs based on corresponding liquid electrolyte.