The energy crisis is one of the most critical and urgent problems in modern society; thus, harvesting energy from ubiquitous low-grade heat energy with thermoelectric (TE) materials has become an available strategy in sustainable development. Recently, emerging ionic TE materials have been widely used to harvest low-grade heat energy, owing to their excellent performance in high ionic Seebeck coefficient, low thermal conductivity, and mechanical flexibility. However, the instability of ionic conductive materials in the underwater environment seriously suppresses underwater energy-harvesting, resulting in a waste of underwater low-grade heat energy. Herein, we developed a water-resistant TE ionogel (TEIG) with excellent long-term underwater stability utilizing a hydrophobic structure. Due to the hydrophobic polymer network and hydrophobic ionic liquid (IL), the TEIG exhibits high hydrophobicity and antiswelling capacity, which meets the requirement of environment stability for underwater thermoelectric application. Furthermore, the water resistance endows the TEIG with great thermoelectric performances in the underwater environment, including satisfactory ionic Seebeck coefficient, outstanding durability, and superior salt tolerance. Therefore, this investigation provides a promising strategy to design water-resistant TE materials, enabling a remarkable potential in harvesting low-grade heat energy under water.