Despite the emergence of hydrogels as ideal candidates for preparing the superhydrophilic materials for emulsion separation, their structural stability and swelling still hinder their long-term use, mainly due to structure defects after swelling. Herein, differing from the common modification, the eco-friendly poly 2-hydroxyethyl methacrylate (pHEMA) hydrogel foam was designed and synthesized via a one-step strategy by using the high internal phase emulsion (HIPE) template method, which endowed it with a highly interpenetrated porous structure. Unlike the normal swellable hydrogels such as poly(N-isoproplyacrylamide) (PNIPAM) hydrogel, or modified hydrogel coatings, the pHEMA hydrogel foam displayed stable structure and underwater superoleophobicity after 20 d of immersion in water. The pHEMA hydrogel foam could separate different kinds of highly surfactant-stabilized oil-in-water (O/W) emulsions with a high separation efficiency of 99.3% for liquid paraffin emulsion obtained solely under gravity-driven. Additionally, it exhibited excellent antifouling performance and long-term acid/alkali tolerance over 100 h without decrease in emulsion separation efficiency (98.0%, oil/water ratio of 99:1) and permeation flux (over 2000 L·m−2·h−1) attributed to its stable bulky structure. Moreover, the pHEMA hydrogel foam demonstrated high cell viability of 96.87% and 95.96% after culturing the 3T3 clone A31 cells in the pHEMA hydrogel foam for 24 h and 48 h, respectively, indicating good biocompatibility. Hence, our work provides a new design to develop an eco-friendly bulk hydrogel foam that achieves stable structure and performance for emulsion separation.