Residents of a small Alaskan village voted this week to relocate their entire community from a barrier island that has been steadily disappearing because of erosion and flooding attributed to climate change.

In the unofficial results of an election on Tuesday in the village, Shishmaref, residents voted 89 to 78 to leave. The plan would move the village, which is 120 miles north of Nome, to one of two sites on the mainland about five miles away, officials said. But the village needs an estimated $180 million from a patchwork of sources to complete the move, according to a 2004 estimate.

Shishmaref is an Inupiat community of about 600 people on Sarichef, an island north of the Bering Strait that is about one-quarter mile wide and two and a half miles long. It has been grappling for decades with the loss of buildings and infrastructure caused by storm surges, and it has shrunk over the past 40 years — more than 200 feet of the shore has been eaten away since 1969, according to a relocation study published in February.