A solid state electrolyte can be done by adding potassium iodide (KI) and iodine (I2) into solid state electrolyte. Consisting propylene carbonate (PC), ethylene carbonate (EC) and 1- methyl-3-propylimidazodium iodide (MPI) and poly (styrene – co – acrylonitril) (P(S-A)) gelated with solid state electrolyte. Potassium iodide salt poorly soluble in liquid electrolyte, but can dissolve completely in solid state electrolyte. The dye sensitized solar cells (DSSCs) with the solid state electrolyte were fabricated. The results showed that the energy conversion efficiency of light to electricity were 2.56%, under irradiation of 80 mW/cm2. The performance of the dye sensitized solar cells with solid state electrolyte is more stable than that of liquid electrolyte.