Hydrogels have received much attention in the field of flexible electronics as materials with flexibility and multifunctionality. The mechanical strength of conventional hydrogels is usually difficult to meet the requirements of practical applications in electronic devices. How to fabricate a high-strength hydrogel should remain a challenge. Here, a strategy to enhance the mechanical properties of conductive hydrogels based on the Hofmeister effect is reported. The mechanical properties of hydrogels were enhanced by increasing the polymer chain density, enhancing the hydrophobicity and increasing the crystallinity, the high-strength and high-toughness polyvinyl alcohol/carbon nanotubes/polyethyleneimine (PVA/MWCNTs/PEI) conductive hydrogel was successfully produced. The ultimate stress of the hydrogel was as high as 3.5–6.3 MPa, the elongation at break was between 500 and 1200 %, and the toughness was up to 23.62 MJ/m3. The conductivity of high-strength, high-toughness hydrogel is 0.05–0.45 S/m. Hydrogel was manufactured into a single-electrode friction nanogenerator (TENG), and it can easily light up to 100 LEDs. Therefore, this high-strength and high-toughness conductive hydrogel has great potential for TENG applications, offering the possibility of extending the working life of TENG in harsh environments.