This story was originally published by Wired and is reproduced here as part of the Climate Desk collaboration.

Lake Mead, which provides water for 25 million people in the American West, has shrunk to 36 percent of its capacity. One rural California community has run out of water entirely after its well broke in early June. Fields are sitting fallow, as farmers sell their water allotments instead of growing crops, putting the nation’s food supply in peril.

Reader support makes our work possible. Donate today to keep our site free. All donations DOUBLED!

As the West withers under extreme drought, legislators in the U.S. House of Representatives have introduced HR 4099, a bill that would direct the Secretary of the Interior to create a program to fund $750 million worth of water recycling projects in the 17 western states through the year 2027. (The bill, which was introduced at the end of June, is currently before the House Committee on Natural Resources.)

“This is beginning to be our new normal — 88 percent of the West is under some degree of drought,” says Representative Susie Lee, who introduced the bill. “Lake Mead is at the lowest level it has been at since the Hoover Dam was constructed. And the Colorado River has been in a drought for more than two decades.”

Grist thanks its sponsors. Become one.

All the while, the population and economy in the western U.S. have been booming, putting tremendous pressure on a dwindling water supply. “We have, I guess, more people — one. And there’s an increase in the agricultural area —two,” says Representative Grace Napolitano, who introduced the bill. “And then climate change is exacerbating the problem.”

Part of the solution, the legislators say, is to fund the construction of more facilities that can recycle the wastewater that flows out of our sinks, toilets, and showers. You may think that’s gross and preposterous, but the technology already exists — in fact, it’s been around for half a century. The process is actually rather simple. A treatment facility takes in wastewater and adds microbes that consume the organic matter. The water is then pumped through special membranes that filter out nasties like bacteria and viruses. To be extra sure, the water is then blasted with UV light to kill off microbes. The resulting water may actually be too pure for human consumption: If you drank it, the stuff might leach minerals out of your body, so the facility has to add minerals back. (I once drank the final product. It tastes like… water.)

The recycled H2O can be pumped underground into aquifers, then pumped out again when needed, purified once more, and sent to customers. Or it may instead be used for non-potable purposes, like for agriculture or industrial processes.

Basically, you’re taking wastewater that’d normally be treated and pumped out to sea — wasting it, really — and putting it back into the terrestrial water cycle, making it readily available again to people. “Part of what makes it so important as an element of water supply portfolios is its reliability,” says Michael Kiparsky, director of the Wheeler Water Institute at the University of California, Berkeley. “To the extent that urban centers exist and produce wastewater, it can be treated. It gives a reliable source of additional water supply — even in dry years when supply is limited and developing alternative sources would be difficult or impossible.”

Grist thanks its sponsors. Become one.

Recycled water is also bankable, in a sense: Injecting it underground to recharge aquifers stores it up for use during droughts. This is likely to be particularly important in the American West, because climate change is both making droughts more punishing and futzing with the dynamics of rain. Modeling from climate scientists shows that future storms will be more intense, yet arrive less often. And by the end of the century, the mountain snowpack—which normally banks much of the West’s water until it melts into the spring runoff—is predicted to shrink by about half.

“Our hydrologic cycle is going to get more unpredictable,” says Rafael Villegas, program manager of Operation NEXT at the Los Angeles Department of Water and Power, which has been recycling water since the 1970s for non-potable reuse. “Coupled with population growth, not only here in California, but where the water comes from — Nevada, Arizona, and Northern California — you can expect that there’s going to be additional demand on those systems. So we’re at the end of the straw, right? We have to then start thinking, how do we become more efficient with the water that we do have?”

Currently in California, about 10 percent of wastewater in municipal and industrial usage is recycled. The goal of Operation NEXT is to upgrade the Hyperion Water Reclamation Plant so that it recycles 100 percent of its wastewater by 2035, producing enough purified water to sustain nearly a million households in LA.

The technology is there—it’s just a matter of deploying it all over the West. “This isn’t a moonshot, if you will,” says Brad Coffey, water resource manager at the Metropolitan Water District of Southern California, which has partnered with the Los Angeles County Sanitation Districts on a water recycling demonstration facility. “This is really putting the building blocks together that have been tested and proven in many other facilities, and applying it to a regional scale.”

While water recycling is not a newfangled technology, it’s not a simple or cheap process, either. It takes time to retrofit a wastewater facility for efficient recycling, and the tab for building one from scratch can run into the billions. And once a facility is up and running, it takes a good amount of energy to push all that water through the filtering membranes and other equipment, which is also expensive.

Still, says Villegas, the bigger cost would be running out of time. “If we wait to act, we’re going to be too late,” says Villegas. While the bill would fund $750 million for projects over the next six years, it will take longer to actually build those facilities and bring them online. “A program like this is going to take multiple decades,” he continues. “So if you react a couple of decades later, then you’re already behind the eight ball.”

Water recycling is only one strategy for adapting the American West to a climate emergency that has created a water emergency. Since the 1980s, per capita water use in Southern California has plummeted by 40 percent, thanks in large part to changes in building codes, but also to behavioral changes among residents, like replacing lawns with drought-tolerant native plants. Cities are also adapting. For example, the LA Department of Water and Power has been experimenting with turning medians and roadsides into green catchment zones that direct stormwater into tanks underground, so LA doesn’t have to import as much water from Northern California and the Colorado River.

While these individual and local efforts help reduce demand and increase supply, $750 million from the Feds would be a huge stimulus for building out the recycling infrastructure that’ll help the West survive climate change. “The magnitude of changes that we’re seeing with climate change, and with long and persistent droughts—that’s not about how many gallons per flush a toilet is,” says Coffey. “It’s really a broader issue that we have to attack from the supply side as well.”