South African MPs will vote in secret on a motion of no-confidence in President Jacob Zuma on Tuesday, the parliament’s speaker has announced.
Baleka Mbete made the ruling after opposition parties took the case to the Constitutional Court.
They believe that in a secret ballot, MPs from the governing African National Congress (ANC) would be more likely to vote against the president.
Mr Zuma has survived several previous votes of no-confidence.
The ANC has governed South Africa since the end of white-minority rule in 1994, and has a huge majority in parliament.
Ms Mbete’s decision took many by surprise and injects a new element of uncertainty into the proceedings against the president, reports the BBC’s Nomsa Maseko in Cape Town.
The question now is whether enough ANC MPs are prepared to make a stand against the president, she adds.
At least 50 out of the ANC’s 249 MPs would need to vote against the president in order for the no-confidence motion to pass.
ANC MP Makhosi Khoza received death threats last month after she said she would vote against the president, and branded him “a disgrace”.
Opposition Democratic Alliance leader Mmusi Maimane told journalists that now with the secret ballot, the ANC MPs “have no excuse”.
In a statement, it added that the ANC will vote against the motion and not back the attempt to “collapse our democratically elected government”.
The ANC has described the no-confidence motion as a “political ploy” designed to remove the government “outside of general elections”.
This latest attempt to unseat Mr Zuma came after he fired his widely respected Finance Minister Pravin Gordhan and other ministers in a major cabinet reshuffle in March, sparking nationwide protests.
The president has also faced allegations of corruption and accusations that he has become too close to the wealthy Gupta family, who are accused of trying to influence political decisions, including the sacking of Mr Gordhan.
Mr Zuma and the Guptas have denied any wrongdoing.
Mr Zuma is due to step down as ANC leader in December. Several candidates are vying to succeed him as party leader, with the winner standing a strong chance of becoming South Africa’s next president after elections in 2019.
The current favourites are deputy president Cyril Ramaphosa and Mr Zuma’s former wife, and favoured candidate, Nkosazana Dlamini-Zuma.