Aims:This paper aims to develop hydrogels with good mechanical and conductive properties by the simple preparation method.Methods:The cerium ionic liquid and hydrogel were mixed,using a mechanical type universal testing machine and an LCR meter to test electrical performance of the mixture.Results:The conductivity of the hydrogel increased significantly after adding cerium containing ionic liquids,but the mechanical properties decreased with the addition of excess cerium containing ionic liquids.The balance between conductivity and the mechanical properties could be achieved by controlling the concentration of cerium containing ionic liquids.Conclusions:The higher concentration of cerium ionic liquid in the composite hydrogel is,the better conductivity of the composite hydrogel has.An appropriate amount of cerium ionic liquid can also improve the mechanical properties of hydrogels.The composite hydrogel composed of 0.02 mol cerium ionic liquid and hydrogel in a ratio of 1∶100 has the outstanding electrical conductivity and mechanical properties.