President Hassan said the landslide occurred at Ng’alita mine in Bariadi district, Simiyu region.
“These fellow Tanzanians were small miners in the area, trying to earn a living for themselves, their families,” President Hassan said.
Defence agencies are working to remove more bodies from the rubble, she said.
He said the group of people began mining in the mineral-rich area about three weeks ago before the government brought in safety procedures.
The area was restricted because of ongoing heavy rains.
“The regional mining officer visited them and stopped them from mining as it was working on the required procedures” Mr Simalenga said.
Unregulated and illegal mining is common in Tanzaniahttps://bermimpilahlagi.com/, which is one of the largest gold producers in the world.