Brazilians are voting in an election which could see the country switch from a far-right to a left-wing leader.
Voting is compulsory for the more than 156 million people eligible.
Incumbent Jair Bolsonaro is seeking a second term but faces a challenge from ex-President Luiz Inácio Lula da Silva.
After voting, Lula said he wanted to get the country “back to normal”. Mr Bolsonaro – who has often questioned the electronic voting system – said “clean elections” must be respected.
He did not directly answer journalists’ questions on whether he would respect the result if he lost, the AFP news agency reported.
The poll is taking place in one the world’s most populous democracies, and a result is expected within hours after polls close at 17:00 (20:00 GMT).
The campaign has been acrimonious and polarising with the two main candidates trading insults.
During a televised debate on Thursday, President Bolsonaro called Lula, who served time in prison after being convicted on corruption…