The mass murder took place in Mabaleni on the south coast last week.
An elderly man and three young children were among those hacked to death.
The two suspects pleaded guilty to all eight charges and were also given an additional 20 years each.
Hawks spokesperson Hangwani Mulaudzi say the accused, aged 26 and 28, hacked their family members to death in what appears to have been a witchcraft ritual.