Abstract: The invention discloses the preparation method of one kind of composite electrolyte with high conductivity and good stability. In detail, using a superabsorbent hybrid as matrix, organic compounds with high dielectric constant as solvent, inorganic compounds as ion donor, the composite electrolyte is prepared by self-cross linking and thermosetting reaction. The electrolyte can be used in dye-sensitized solar cell as carrier transferring medium, and also used in window material, solid-state secondary cell, electroluminescence, sensor, and so on.