This week, amid devastating flooding, Indonesia announced it's planning to move its capital out of Jakarta, which really is nothing new—the country’s first president was talking about it way back in 1957. Part of the problem is extreme congestion, but today the city of more than 10 million is facing nothing short of obliteration by rising seas and sinking land, two opposing yet complementary forces of doom. Models predict that by 2050, 95 percent of North Jakarta could be submerged. And Jakarta is far from alone—cities the world over are drowning and sinking, and there’s very little we can do about it short of stopping climate change entirely.

Jakarta is a victim of climate change, the fault of humans the world over (though mostly the fault of corporations), but it’s also a victim of its own policies. The city is sinking—a process known as land subsidence—because residents and industries have been draining aquifers, often illegally, to the point that the land is now collapsing. Think of it like a giant underground water bottle: If you empty too much of it and give it a good squeeze, it’s going to buckle. Accordingly, parts of Jakarta are sinking by as much as 10 inches a year.

That’s destabilizing buildings in the short term—some structures have sunk straight down, enveloping their lower levels in mud—but in the long term it means that about half the city is now beneath sea level. All it takes is one storm surge to inundate a huge chunk of the metropolis: In 2007, for instance, a monsoon left half of Jakarta under as much as 13 feet of water, causing more than half a billion dollars in damage.

Matt Simon covers cannabis, robots, and climate science for WIRED.

Jakarta’s situation may be particularly dire, but it isn’t the only coastal metropolis that’s sinking. “Almost every coastal city around the world builds on loose sediment, and all of them are subsiding, regardless of pumping groundwater,” says Arizona State University geophysicist Manoochehr Shirzaei, who studies land subsidence. “In fact, vertical land motion is as important as sea level rise, but unfortunately it gets very little attention, because the process is slow.”

Consider the San Francisco Bay Area. Last year, Shirzaei published a study that showed most of its coastline is sinking around .07 inches a year, not because of groundwater drainage but because of the natural settling of soils or landfill. That’s tiny compared to Jakarta’s 10 inches of annual sinkage, sure. (And well short of Mexico City, perhaps the fastest-sinking place on Earth, at a foot a year. Also notable: California’s Central Valley, which has sunk almost 30 feet in places due to groundwater overexploitation.) But that adds up over time—the analysis estimated that the San Francisco airport could be underwater by 2100.

That’s an inevitable consequence of building on landfill, but Jakarta has the power to cut back on the groundwater pumping that’s the root of the crisis. Except, even that won’t save the day. “This has been happening for so long, that when you remove water from the ground the porous structure collapses,” says University of Oregon earth scientist Estelle Chaussard, who’s studied land subsidence in Jakarta. “The problem is that a large amount of this subsidence, and this decrease in porous storage of the aquifer, is irreversible.” Not only that, layers of the porous earth will keep deforming even if you stop pumping groundwater, potentially causing further subsidence, though at least a smaller amount of it.

LEARN MORE The WIRED Guide to Climate Change

Even if Jakarta could stop land subsidence, it’s still sitting on the edge of the sea, and seas are rising. The city has already deployed a network of canals and seawalls to stave off the threat, but with climate change the threat will only grow worse.