The union had declared a strike on November 9 after coal sector wage negotiations broke down, but the industrial action was avoided at the last minute with an agreement signed on November 22.
A three-year wage agreement for contracts starting June 1 was announced on Thursday by both the NUM and the Chamber of Mines, which represented Anglo American's (LN:AAL) coal division, Kuyasa Mining's Delmas coal mine, Exxaro's (SJ:EXX) Mpumalanga coal division, Koornfontein Mines and Glencore (LN:GLEN).
The CoM said the deal included increases of R1,100 (US$79.31) in the first year (2017) and 7.5-8.5% in the second and third years for entry-level to operator employees at the larger companies.
The same employees at smaller companies will receive 6-7.5% increases in the first year and 6-7.5%, or in other cases, consumer prices index plus 1%, in the second and third years.
Both parties seemed pleased with the outcome.
"NUM wishes to express sincere gratitude to members in the coal sector for the manner in which they behaved during the negotiation period," the union said.
CoM head of employment relations Motsamai Motlhamme said the result "not only represents a reasonably balanced outcome, but will also secure stability in the industry for a three-year period. This is in the best interests of employees, the industry and the country as a whole".
The drawn-out negotiations started in July, after the previous wage agreement signed in 2015 expired at the end of June.
Other labour unions Solidarity and the United Association of South Africa previously accepted the chamber's offer.
There was one outlier to the agreement, with NUM members at Kangra Coal voting to go on strike at the Maquasa West coal mine on November 24.
These members demanded a once-off wage increase of R1,100 for 2017, with increases of 7.5% for 2018 and 8.5% for 2019.
"The purpose of the strike is to compel the company to comply with our demands with specific reference to the harmonising of housing allowance and wage increases," the NUM said.
"The highest paid employees at Kangra Coal Mine are getting housing allowances of between R11,800 and R12,600, while the lowest paid employees are getting R4,050. It is totally unacceptable … the gap must be closed."
The union said Kangra continued to be "arrogant and negotiating in bad faith," and the NUM was determined to force this company to lend an ear to its wage demands."