Simple, low-cost, and high-performance atmospheric water harvesting (AWH) still remains challenging in the context of global water shortage. Here, we present a simple and low-cost macroporous hydrogel for high-performance AWH to address this challenge. We employed an innovative strategy of pore foaming and vacuum drying to rationally fabricate a macroporous hydrogel. The hydrogel is endowed with a macroporous structure and a high specific surface area, enabling sufficient contact of the inner sorbent with outside air and high-performance AWH. The experiments demonstrate that macroporous hydrogels can achieve high-performance AWH with a broad range of sorption humidity [relative humidity (RH) from 100% to even lower than 20%], high water sorption capacity (highest 433.72% of hydrogel's own weight at ∼98% RH, 25 °C within 60 h), rapid vapor capturing (the sorption efficiency is as high as 0.32 g g–1 h–1 in the first 3 h at 90% RH, 25 °C), unique durability, low desorption temperature (∼50 °C, lowest), and high water-releasing rate (release 99.38% of the sorbed water under 500 W m–2 light for 6 h). The results show that this macroporous hydrogel can sorb water more than 193.46% of its own weight overnight (13 h) at a RH of ∼90%, 25 °C and release as high as 99.38% of the sorbed water via the photothermal effect. It is estimated that the daily water yield can reach up to approximately 2.56 kg kg–1 day–1 in real outdoor conditions, enabling daily minimum water consumption of an adult. Our simple, affordable, and easy-to-scale-up macroporous hydrogel can not only unleash the unlimited possibilities for large-scale and high-performance AWH but also offer promising opportunities for functional materials, soft matter, flexible electronics, tissue engineering, and biomedical applications.