South Africa’s government has said it will not help about 4,000 illegal workers inside a closed mine in the country’s North West province as part of an official policy against the practice.

The miners in the mineshaft in Stilfontein are believed to be suffering from a lack of food, water and other basic necessities after police closed off the entrances used to transport their supplies underground.

It is part of the police’s Vala Umgodi, or Close The Hole, operation, which includes cutting off miners’ supplies to force them to return to the surface and be arrested.

In the last few weeks, more than 1,000 miners have surfaced at various mines in North West province, with many reported to be weak, hungry and sick after going for weeks without basic supplies.

Relatives of miners and community members wait at a mine shaft where an estimated 4,000 illegal miners are trapped (AP)

About 20 miners have surfaced from the mineshaft in Stilfontein this week as police guard areas to catch all those appearing from underground.

Cabinet minister Khumbudzo Ntshavheni told reporters that the government would not send any help to the illegal miners because they are involved in a criminal act.

“We are not sending help to criminals. We are going to smoke them out. They will come out. Criminals are not to be helped, criminals are to be prosecuted. We didn’t send them there,” Ms Ntshavheni said.

Illegal mining remains common in South Africa’s old gold-mining areas, with miners going into closed shafts to dig for any possible remaining deposits.

The illegal miners are often from neighbouring countries and police say the illegal operations involve larger syndicates that employ the miners.

Their presence in closed mines have also created problems with nearby communities, which complain that the illegal miners commit crimes ranging from robberies to rape.

Illegal mining groups are known to be heavily armed and disputes between rival groups sometimes result in fatal confrontations.