The motion was brought by the Democratic Alliance following the release of the Public Protector's State of Capture report.
The motion failed when 198 MPs voted against it and 177 voted in its favour. 9 MP abstained.
Debating the motion in the National Assembly on Thursday, political parties blasted Zuma, calling him corrupt and a Gupta president.
On Monday, National Assembly Speaker Baleka Mbete announced she had heeded the call for a secret ballot.
In order for the no-confidence motion to pass, at least 50 out of the ANC's 249 MPs would have had to vote against the president.
Zuma's nine lives pay off
Zuma is celebrating after narrowly surviving his eighth no-confidence vote. He is certainly on his ninth life now.
Judging by the number of governing ANC MPs who voted with the opposition, it seems like it's going to be a short-lived celebration.
The ANC's internal squabbles have reached the back benches of parliament, and are bound to worsen.
This means that it's going to be a long road to the ANC elective conference in December, when the party will elect a new leader to replace the beleaguered Mr Zuma.
The question is whether he will survive the last two years as South Africa's president.
Some say that he will not complete his second term. But we have written his political obituary before - only for the 75-year-old president to re-emerge like a phoenix rising from the ashes.
About Article Author