BAGHDAD -- The top U.S. general in Iraq warned Thursday of the potential collapse of Mosul Dam in the country's north, saying such an event could prove "catastrophic."

The U.S.-led coalition is still determining the likelihood the hydroelectric dam could collapse but has developed a contingency plan alongside the Iraqi government, said U.S. Army Lt. Gen. Sean MacFarland.

Built in the early 1980s, the dam is made largely of earth and situated on soft mineral foundations, which are easily dissolved by water. A report in 2006 by the U.S. Army Corps of Engineers called it "the most dangerous dam in the world" because of its propensity to erode.

Since the Islamic State group extended its territory across Iraq in summer 2014, maintenance teams have at times struggled to gain access to the site. IS seized the dam in July of that year, but Iraqi forces and Kurdish fighters, with coalition air support, took it back within weeks.

Situated on the Tigris River, the dam is the largest in Iraq and the fourth-largest in the Middle East. It once supplied electricity and water to much of the country, but now only operates at partial capacity.

The coalition and Iraqi forces have drafted plans to move civilians to safety should the dam collapse, MacFarland said, warning that "when it goes, it's going to go fast, and that's bad."

Speaking to The Associated Press by phone, Riyadh Izeddin, the director general of the dam, said he had not been informed by the U.S. about any such contingency plan.

"The Americans didn't tell us anything," he said, countering the coalition's assessment that the structure is in serious danger.

"There is nothing to be afraid of. There is nothing seriously wrong with the dam," Izeddin said.

The 2006 report by the corps said the dam's collapse would put Mosul -- Iraq's second-largest city -- under 20 metres (65 feet) of water and kill an estimated half a million people.

"If this dam was in the United States, we would have drained the lake behind it," MacFarland said.

Associated Press writers Salar Salim and Bram Janssen contributed to this report.