Refugees wait for registration at a camp in Malawi's Mwanza district in 2016. Photo: Reuters

The authorities in Malawi say they have arrested more than 400 refugees and asylum-seekers in the capital.

Those arrested had refused to return to a refugee camp outside the city, the government said on Thursday.

The ministry of homeland security said 408 people, including more than 100 children, were held during a two-day operation that began with pre-dawn raids in several townships in Lilongwe on Wednesday.

The crackdown came about two months after the government issued an ultimatum for people to return to Dzaleka, a camp about 40 kilometres (25 miles) north of the city.

"The period we had given them had expired," ministry spokesman Patrick Botha told AFP news agency.

"We have indicated that failure to relocate will call for the police... to enforce the relocation."

Most refugees and asylum-seekers in Malawi come from the conflict-torn Democratic Republic of Congo, as well as Rwanda and Burundi.

Those held are undergoing screening at a local prison to verify whether some might have been in the country illegally, Botha said.

Authorities have also accused some refugees and asylum-seekers of operating stores without authorisation.

The leader of the Burundian community in Lilongwe, Bantubino Leopold, said he was "surprised" by the raids as the government had promised to protect refugees.

"We have an agreement... that allows refugees who can stand on their own to run businesses in the country, so that they do not rely on handouts," Leopold told AFP.

Malawi is home to almost 70,000 refugees and asylum-seekers, according to the UN's refugee agency, the UNHCR.

Most live in Dzaleka, a refugee camp set up in 1994 to accommodate about 12,000 people but currently hosting more than 56,000, according to the UNHCR.

TRT Afrika and agencies