More than 100 African migrants have abandoned an "open" Israeli detention centre to try to march on Jerusalem in protest at a law allowing authorities to keep them in custody indefinitely, activists have said.

The march through Sunday night and into Monday is in defiance of the new detention centre, which houses about 400 migrants, which allows detainees to leave during the day but requires them to return at nightfall.

The centre in southern Israel was opened last week after parliamentary approval of a law allowing the open-ended detention of migrants in the facility pending resolution of their asylum requests, implementation of deportation orders or voluntary repatriation.

We want them to know that we are still in a prison ... [although] they call it open detention Mubarak Ali, Migrant detainee and marcher

Cheska Katz, of the Hotline for Refugees and Migrants rights group, said that 135 men, mostly from Sudan, decided not to return to the centre on Sunday night and instead set out for Jerusalem, about 75 kms away.

"They aren't trying to elude the authorities. Their aim is to reach the Knesset and ask for their freedom and to be recognised as refugees," the activist, who is taking part in the march, told the Reuters news agency.

One of the detainees on the march, Mubarak Ali, told Israel Radio, "We want them to know that we are still in a prison ... [although] they call it open detention."

An Israeli immigration official told the radio station that the protesters had up to 48 hours to return to the facility or face detention in a standard jail.

An Israeli police spokesman had no immediate comment on whether police would prevent the group from reaching the city.

Court appeal

The protest coincided with an appeal filed in Israel's Supreme Court by human rights groups against the new law, which also stipulated that new migrants caught entering the country illegally could be jailed in a standard prison for up to a year.

The legislation replaced a previous law, annulled by the court last September, that had set a maximum three-year period of detention without charge for migrants.

A fortified fence built along the Egyptian border has halted the migrant flow since last year, but the presence of tens of thousands in the country is widely viewed as a threat to the Jewish state's social makeup.

Israeli law allows Jews worldwide to apply to move there, but African Jews have accused Israel of discrimination in the law's application.