Several technologies, including pressure-retarded osmosis (PRO), reverse electrodialysis (RED), and capacitive mixing (CapMix), are being developed to recover energy from salinity gradients. Here, we present a new approach to capture salinity gradient energy based on the expansion and contraction properties of poly(acrylic acid) hydrogels. These materials swell in fresh water and shrink in salt...