The official death toll from the catastrophic floods that ravaged Nepal in August has risen above 5000, after the country's government officially declared dead 3,915 people who were previously listed as missing.

The head of the country's National Disaster Risk Reduction and Management Authority (NDRRMA) confirmed the declaration to CNN, saying it would allow local authorities to issue death certificates to the families of those people.

"That will help the families to begin last rites, claim insurance and settle other issues affected in the absence of death certificates," Dharam Raj Uprety said. Of those previously listed as missing, 623 are foreign nationals from 19 countries, including 69 from the United States.

Nepali law previously stated that authorities had to wait 12 years to declare a missing person dead, Uprety said, creating problems for many families who lost loved ones in the floods.

Nepal subsequently revised that rule, allowing authorities to begin death-declaration proceedings for the thousands still listed as missing.

The flooding disaster on the Nepal-China border was sparked by the partial collapse of a glacier on a Himalayan mountain, which released a torrent of water that swept away thousands of homes, flatting entire communities. Nepal is prone to climate change-related disasters, with rocky mountainsides becoming fluid as vast swaths of ice melt across the region.

The death toll on the Chinese side of the border remains unclear. In early September, officials said at least 43 people had died and that more than 500 remained missing.

In China, each recovered body has been numbered and photographed, with DNA and dental records taken at the scene, according to state media Xinhua.

Hundreds still missing

Thursday's designation takes the death toll in Nepal to 5366, while a further 1,370 people remain listed as missing, Uprety said.

In the aftermath of the disaster, CNN visited the Gyirong Port, a major land border crossing between China and Nepal which bore the brunt of the mudslide and became a focal point for families desperate for any information about their missing loved ones.

"The most difficult part has been the conditions at the rescue site," Yang Qiqiao, commander of the ground assault team, told CNN at the time. "There's a lot of mud and silt. There are also a lot of boulders."

Elsewhere in Nepal, some recovery efforts were successful, with several flood survivors miraculously rescued more than a week after the disaster.

In September, Chinese national Lu Haitao was pulled from the hydropower tunnels where hundreds of other workers were missing, while 60-year-old Chandika Shrestha was found downriver, on the upper floor of a four-story building in the devastated community of Betrawati.

Shrestha's family had started ceremonial last rites and begun preparing for her funeral, believing she had died.

The rescues came a day after another incredible recovery where two men were pulled from an underground chamber at another hydropower plant, where crews had been searching for 42 missing workers.

Hundreds of those listed as missing at the time were hydropower workers, who were working at facilities dotted along the Trishuli River. Rescue teams, assisted by specialist crews from India and China, concentrated their efforts on these facilities, but were hampered by difficult terrain and poor weather conditions.

Lu said he had been desperately trying to attract rescue workers' attention for days, crying for help whenever he saw their lights. "Whenever I saw the lights, I shouted, 'Hey!' Really loudly, really loudly,' he told Chinese state broadcaster CCTV following the rescue. "Maybe they didn't hear me."

But away from these successful rescues, the death toll continued to rise, and the scale of the damage started to become clear, with thousands of homes damaged and tens of thousands of people left homeless.

CNN's Billy Stockwell, Issy Ronald and Simone McCarthy contributed reporting.