Explanatory journalism with depth and rigorPTENES
Explosão SolarContext. Not just headlines.Search

How the Brazilian Electoral System Works: From Electronic Voting Machines

From the creation of the Electoral Justice in 1932 to the electronic totalization of votes, a definitive guide on the path your vote takes to become a mandate

Daniele Morais
July 31, 2026 · 6 min read
ShareWhatsAppXFacebook
How the Brazilian Electoral System Works: From Electronic Voting Machines
Photo: "Justice" by Loozrboy is licensed under CC BY-SA 2.0. To view a copy of this license, visit https://creativecommons.org/licenses/by-sa/2.0/.

Every two years, Brazil carries out one of the largest logistical operations on the planet: on a single Sunday, over 150 million voters are eligible to go to the polls, from major capitals to the most remote districts of the Amazon - and the result is usually known just a few hours after the end of voting. Behind this machinery are three pillars that every citizen should know: a specialized electoral justice system, electronic voting machines, and a set of rules that define who votes, how to vote, and, above all, how votes become mandates.

A Justice System Created Just for Elections

Brazil is one of the few countries in the world that maintains an entire branch of the judiciary dedicated exclusively to the electoral process. The Electoral Justice system was born in 1932, with the first Electoral Code, in the same historical movement that instituted secret voting and extended the right to vote to women. Before that, in the Old Republic, elections were organized and counted by the dominant political groups themselves - a recipe that fueled famous frauds, from coerced voting to tampered ballots.

At the top of this structure is the Superior Electoral Court, the TSE, composed of seven ministers: three from the Federal Supreme Court, two from the Superior Court of Justice, and two lawyers appointed by the President of the Republic from lists drawn up by the Supreme Court. The terms of office are temporary, which prevents the formation of a permanent electoral leadership. Below the TSE are the Regional Electoral Courts, one in each state and in the Federal District, as well as electoral judges and notaries spread throughout the country. On election day, this machine is reinforced by an army of poll workers - ordinary citizens, summoned or volunteer, who are the most visible face of the election.

The Electoral Justice system accumulates functions that, in other countries, are divided among distinct bodies: it organizes the logistics of voting, registers candidacies, judges campaign irregularities, certifies the elected, and still maintains the national voter registry.

The Electronic Voting Machine: How Your Vote Becomes a Number

First used in 1996 and adopted throughout the national territory since 2000, the electronic voting machine is, in practice, a single-purpose computer. It has no internet connection, does not accept external programs, and records each vote in a scrambled and encrypted manner, precisely to prevent the order in which voters voted from being discovered.

The transparency ritual begins before the first vote: on the morning of the election, each polling station prints the so-called zerésima, a report that proves there are no votes stored in the machine. At the end of the day, the voting machine prints the ballot box bulletin, with the sum of the votes from that polling station. This bulletin is posted at the polling station and delivered to party officials - anyone can photograph it and compare it later with the official numbers from the totalization, carried out on the Electoral Justice's closed network.

The system is also subject to permanent scrutiny. The source code of the voting machines is open to inspection by political parties, the Brazilian Bar Association, the Public Prosecutor's Office, and universities months before each election, and the TSE periodically promotes Public Security Tests, in which specialists are invited to try to violate the equipment in a controlled environment. Biometric identification of voters, adopted progressively, has added another layer of protection against old-fashioned fraud, such as voting in someone else's place.

Who Votes - and Who Is Required to Vote

In Brazil, voting is direct, secret, universal, and periodic - and this formula is a clause that cannot be abolished, not even by constitutional amendment. Voting is compulsory for those between 18 and 70 years old and optional for illiterates, those over 70, and young people between 16 and 17 years old. Those who do not vote, do not justify their absence, and do not pay the fine - of symbolic value - may face practical restrictions, such as being unable to obtain a passport or take office in a public position.

Two Systems Within the Same Voting Machine

Few voters are aware, but in a general election, two distinct systems coexist. The President, governors, senators, and mayors are elected by a majority system: whoever has the most votes wins. On the other hand, federal, state, and municipal deputies are elected by a proportional system, in which the seats are distributed first to the parties, according to their total vote, and only then to the most voted candidates of each party.

The key to this distribution is the electoral quotient: the total number of valid votes is divided by the number of vacancies in dispute, and each party wins as many seats as it reaches that number, with the remaining seats redistributed according to specific rules. This is why a highly voted candidate can pull party colleagues into parliament - the phenomenon of so-called vote pullers - and a name with expressive voting can stay out if their party does poorly. Since the reform that banned coalitions in proportional elections, the vote given to a party no longer benefits candidates from other parties.

The Runoff Election: The Search for Absolute Majority

The 1988 Constitution established that the President of the Republic, governors, and mayors of municipalities with more than 200,000 voters must be elected by absolute majority - more than half of the valid votes, excluding blank and null votes. If no candidate reaches this mark in the first round, the two most voted candidates compete in a new vote weeks later.

The logic is to give legitimacy to those who will hold the most powerful executive positions: a president elected with a third of the votes, in a fragmented field, would govern against the will of the majority. The runoff election forces alliances, brings candidates closer to the center of the electorate, and ensures that the winner has been, in the end, the choice of more than half of the valid voters. Senators and mayors of smaller cities, on the other hand, are elected in a single round, by simple majority.

A Calendar That Never Stops

Brazilian elections alternate in cycles of two years: in general elections, the President, governors, senators, and deputies are elected; two years later, in municipal elections, mayors and councilors are elected. The terms of office last four years - with the exception of senators, who stay eight years in office, with alternating renewal of one-third and two-thirds of the house in each general election.

What This Means for Your Life

Understanding these rules has immediate practical effects. First: blank and null votes do not go to any candidate - they are simply discarded from the calculation of valid votes. Second: in proportional voting, choosing a candidate is also strengthening their party; it is worth examining the party, not just the name. Third: any citizen can check the ballot box bulletin from their own polling station, follow the count, and even serve as a volunteer poll worker, seeing the process from the inside.

The Brazilian electoral system is the result of almost a century of institutional learning - from the creation of the Electoral Justice system in 1932 to the complete computerization of voting. No human system is perfect, and continuous improvement, with auditing and citizen oversight, is an essential part of its strength. But knowing the path your vote takes, from the confirmation key to the certification of the elected, is the first step to exercising it with awareness - and to defending, with arguments, the democracy it supports.

#elections#electronic voting machines#TSE#runoff elections#vote#civic education
Also inPortuguêsEspañol
ShareWhatsAppXFacebook