The first results have been announced from what is seen as South Africa's most closely fought elections since the African National Congress (ANC) came to power 30 years ago.
With results from around 14% voting districts counted so far, the ANC is leading with 43%, followed by the DA with 26%.
The radical EFF and the uMkhonto weSizwe Party (MK Party) of former President Jacob Zuma are both on around 8%.
Final results are expected over the weekend.
Opinion polls suggest the ANC could lose its majority in parliament for the first time in 30 years, forcing it into a coalition.
The ANC has lost support due to anger over high levels of corruption, crime and unemployment.
But it is too early to predict the final outcome.
Wednesday's election saw long lines of voters outside polling stations late into the night across the country.
One electoral official in Johannesburg told the BBC the queues were reminiscent of the historic 1994 election, when black people could vote for the first time, and which saw Nelson Mandela become president.
Many thousands of people were still waiting to vote when polls officially closed at 21:00 local time (19:00 GMT) but the electoral commission said they would all be allowed to cast their ballots.
Sifiso Buthelezi, who voted in Johannesburg's Joubert Park - the biggest polling station in South Africa - told the BBC: "Freedom is great but we need to tackle corruption."
Change has been a recurring sentiment, especially among young voters.
Ayanda Hlekwane, one of South Africa's "born-free" generation, meaning he was born after 1994, said despite having three degrees he still doesn't have a job.
“I’m working on my PhD proposal so that I go back to study in case I don’t get a job,” he tells the BBC in Durban.
But Mr Hlekwane said he was optimistic that things would change.
A record 70 parties and 11 independents were running, with South Africans voting for a new parliament and nine provincial legislatures.
Analysts say this shows that many people are disillusioned with the ANC.
"We are entering the next phase of our democracy, and it is going to be a big transition," political analyst Richard Calland told the BBC.
"We will either become a more competitive and mature democracy, or our politics will become more fractured."
The main opposition party, the Democratic Alliance (DA), has signed a pact with 10 other parties, agreeing to form a coalition government if they get enough votes to dislodge the ANC from power.
But this is highly unlikely, with the ANC expected to remain the biggest party, putting it in pole position to lead a coalition if its support does drop below 50%.
It got 57.5% of the vote in the last election compared to the DA's 21%.
South Africans do not directly vote for a president. Instead they vote for members of parliament who will then go on to elect the president.
So current President Cyril Ramaphosa is likely to remain in power.
Former President Jacob Zuma caused a major shock when he announced in December that he was abandoning the ANC to campaign for the new uMkhonto weSizwe (MK), which translates as Spear of the Nation.
Although he has been barred from running for parliament because of a conviction for contempt of court, his name still appeared on the ballot paper as MK leader.
The MK is expected to do especially well in Mr Zuma's home province of KwaZulu-Natal, where tensions have been high, with some incidents of violence reported during the campaign.
Police and the army have been deployed to polling stations across the country to ensure that voting takes place peacefully, and that ballot papers are not stolen.
More than 27 million people were registered to cast their ballots, including a high percentage of young voters, who could prove decisive.
Artist Njabulo Hlophe, 28, said young people in South Africa tend to get marginalised but, "this is as much our country as our parents… they're leaving it to us, so someone that really cares about the young people is someone I’m really looking at".
Support for the ANC is expected to be higher among the older generation.
One 89-year-old woman, Elayne Dykman, told the BBC in Durban she hoped that young people in South Africa did not take their vote for granted.
Latest Stories
-
35th CIMG Awards: Full list of winners
1 hour -
The Multimedia Group wins big at CIMG Awards 2023
2 hours -
Bernard Mornah wins PNC flagbearship race
3 hours -
Video: Confusion at PNC National Executives election
3 hours -
Rapper E.L. joins King Promise as Guinness Accravaganza headliner for September 21 showdown
4 hours -
PNC Congress: Bernard Mornah leads in Greater Accra Region
5 hours -
Reject violence, divisive rhetoric, embrace peace ahead of elections – Bawumia appeals to Ghanaians
5 hours -
SEFF’s debut single ‘Father’ sets stage for bold new talent
6 hours -
Super typhoon Yagi kills four in Vietnam
6 hours -
Hollard Insurance-UENR Mentoring Day: Students urged to let hard work, integrity shine to advance career
6 hours -
2024/25 GPL: Vision FC opens campaign with draw against Berekum Chelsea
6 hours -
If Baba Yara pitch was good, Mumin clears the ball – Laryea Kingston
7 hours -
GPL 2024/25: Samartex begin title defence with draw against Dreams FC
7 hours -
Financing road construction and maintenance through a special fuel levy: A sustainable solution for Ghana’s road infrastructure
8 hours -
Ghana Celebrity Impact Awards 2024 launched to honor positive social influence
8 hours