A manhunt is under way after a shooting at a tavern in South Africa left nine people dead and another 10 injured.

Police said seven men and two women were killed in Bekkersdal, near Johannesburg, after about 12 unidentified gunmen arrived in two vehicles and opened fire at patrons.

The shooting happened at about 01:00 local time on Sunday (23:00 GMT Saturday), and the perpetrators continued to shoot randomly as [people] fled the scene, police added.

South Africa has one of the highest murder rates in the world. Sixty-three people were killed every day on average between April and September this year, according to police figures.

Murders are often the result of arguments, robberies, and gang violence. The motive for this attack is not clear.

At the scene, deputy provincial police commissioner Maj-Gen Fred Kekana told broadcaster Newzroom Afrika that the perpetrators, armed with pistols and one AK-47, were unprovoked.

The poor patrons were just enjoying themselves when people came and shot, he said.

Two of the victims were shot outside the tavern as they tried to flee and a third was a taxi driver who had dropped off a passenger nearby, Maj-Gen Kekana added.

After the incident, residents expressed both shock and despair at the violent atmosphere prevailing in Bekkersdal, noting that gunfire had become a nightly occurrence.

Local leaders are calling for military assistance to ensure safety in the community. There are about three million legally held firearms in South Africa, with an estimated equal number of unlicensed weapons in circulation.

The recent incident follows a troubling pattern in South Africa related to mass shootings, with taverns often being the scene of violent outbreaks.