NOVELTY - Gel electrolyte comprises copolymer for absorbing liquid electrolyte, which comprises potassium iodide (KI), iodine (I) and organic solvent. The first monomer of the copolymer is the generated substance of the first monomer including methyl methacrylate, ethyl methacrylate, butyl methacrylate or hydromethyl methacrylate. The second monomer including N-vinylpyridine or N-vinyl pyrrolidone and crosslinking agent are copolymerized by the free group. The weight ratio of the first monomer and the second monomer is 9-1:1. The quality ratio of the copolymer and the liquid electrolyte is 1:5-15.    USE - Gel electrolyte for dye sensitized solar cell (claimed).    ADVANTAGE - The gel electrolyte can absorb amount of pole liquid electrolytes. It is made of raw material that is easy to obtain. It can be prepared from a simple process. It provides perfect photoelectric transforming efficiency, and solves the problem of sealing the dye sensitized cell.    DETAILED DESCRIPTION - Gel electrolyte comprises a copolymer for absorbing a liquid electrolyte. The liquid electrolyte comprises KI, I and organic solvent. The I- mol concentration of KI is 0.1-1 mol/L. The I3- mol concentration of I is 0.01-0.1 mol/L. The first monomer of the copolymer is the generated substance of the first monomer including methyl methacrylate, ethyl methacrylate, butyl methacrylate or hydromethyl methacrylate. The second monomer including N-vinylpyridine or N-vinyl pyrrolidone and crosslinking agent are copolymerized by the free group. The weight ratio of the first monomer and the second monomer is 9-1:1. The quality ratio of the copolymer and the liquid electrolyte is 1:5-15. An INDEPENDENT CLAIM is included for a method for preparing the gel electrolyte comprising:    (A) dissolving KI and I via organic solvent to obtain the liquid electrolyte, where the organic solvent comprises N-methylpyrrolidone, 1,4-butyrolactone, ethyl carbonate, propylene carbonate, acetonitrile, dimethyl carbonate and/or diethyl carbonate, and mixing the solvent to obtain liquid electrolyte;    (B) adding the raw material comprising the first and second monomers, the crosslinking agent that is 0.1-2 wt.% of monomer and absolute ethyl alcohol that is 2-5 times of total quantity of monomer to the reaction container, mixing at normal temperature for 30 minutes, completely dissolving the crosslinking agent, putting in the constant temperature bath, filling high-pure nitrogen at constant temperature to remove oxygen at 20-40 minutes, adding initiator that is 0.5-5 wt.% of polymer monomer, reacting at 50-80 degrees C for 3-4 hours to generate the white glue product, putting the product in vacuum at 60 degrees C, and drying to constant weight to obtain the solid copolymer;and    (C) dipping the solid copolymer in the liquid electrolyte, and absorbing the copolymer via liquid electrolyte to obtain the gel electrolyte product.