“Megadrought” may be the main weather concern across the West right now amid the constant threat of wildfires and earthquakes. But a new study warns another crisis is looming in California: “Megafloods.”

Climate change is increasing the risk of future floods that could submerge multiple cities and displace millions of people across California, according to a new study released Friday.

It says that an extreme month-long storm could bring feet of rain – in some places, more than 100 inches – to hundreds of miles of California. Similarly unrelenting storms have happened in the past, before the region became home to tens-of-millions of people.

Now, each degree of global warming is dramatically upping the odds and size of the next megaflood, the study says.

CLIMATE CHANGE IMPACTS:Weather hazards linked to nearly 60% of human diseases

HEAT:Climate change and severe weather have made urban heat islands worse

In a future scenario, where the flood comes in a hotter earth, “the storm sequence is bigger in almost every respect,” said Daniel Swain, UCLA climate scientist and co-author of the study, in a news release. “There’s more rain overall, more intense rainfall on an hourly basis and stronger wind.”

Climate change a factor in megafloods

In fact, the study found that climate change makes such catastrophic flooding twice as likely to occur.

Swain said that such massive statewide floods have occurred every century or two in California over the past millennia, and the current risk of such events has been substantially underestimated.

WATCH:Calif. climate migrant family settles in Vermont

Long before climate change, California’s Great Flood of 1862 stretched up to 300 miles long and 60 miles across. According to the study, a similar flood now would displace 5-10 million people, cut off the state’s major freeways for perhaps weeks or months with massive economic effects, and submerge major Central Valley cities as well as parts of Los Angeles.

The study expands upon the 2010 “ArkStorm scenario,” which is named after the atmospheric rivers that would fuel the flood – one of biblical proportions. This is the first part of a plan to revisit to that scenario, known as ArkStorm 2.0. 

Massive California flood would be a $1 trillion disaster

It is estimated that a flood like the one that happened in 1862 would be a $1 trillion disaster, according to UCLA.