Zero liquid discharge (ZLD), which maximizes water recovery and eliminates environmental impact, is an urgent wastewater management strategy for alleviating freshwater shortage. However, because of the high concentration of salts and broad-spectrum foulants in wastewater, a huge challenge for ZLD is lack of a robust membrane-based desalination technology that enables direct wastewater recovery without costly pretreatment processes. Here, a paradigm-shift membrane distillation (MD) strategy is presented, wherein the traditional hydrophobic porous membrane is replaced with a hydrophilic nonporous charge-gradient hydrogel (CGH) membrane that possesses hypersaline tolerance, fouling/scaling-free properties, and negligible vapor transfer resistance inside the membrane, simultaneously. Therefore, the CGH-based MD with high water flux enables direct desalination of hypersaline wastewater (130 g L-1 ) containing broad-spectrum foulants (500 mg L-1 ) during continuous long-term operation (200 h), and this technology paves a promising way to direct ZLD for wastewater management.