Guest post by Dalson Figueiredo, Associate Professor of political science, and Ernani Carvalho, Professor of political science at the Federal University of Pernambuco (UFPE, Brazil).
Transparency and reproducibility are good research practices because they allow people to understand exactly how things were done. In addition, research transparency can be a tool of public accountability. By using public data and public methods, we can test hypotheses about the world and draw conclusions about social and political phenomena based on rigorous empirical analysis. We pre-registered our research design and applied fingerprint analysis, a valid and reliable method designed to detect ballot stuffing, to examine 2,849,776 polling-station records from three consecutive presidential elections in Brazil (2018, 2022, and 2026). The results indicate no sign of ballot stuffing, and the best available evidence shows no sign of election fraud in Brazilian presidential elections. More important than our null result is that nobody has to take our word for it. Replication materials, including raw data, the R scripts, and the pre-registration of the project, are publicly available at the Open Science Framework (OSF).
Once upon a time a poll worker with malice
Let’s start with a thought experiment. Imagine a poll worker really committed to rigging an election. One way to go is to transfer the ballots of the voters who never showed up to his chosen candidate. If hundreds of poll workers behave like that, two things would come up. First, by reducing the number of no-shows, turnout would increase. Second, transferring votes to the same candidate would leave a statistical trace that can be identified using scatterplots. The method that follows the trail is called fingerprint analysis and it was employed by Myagkov, Ordeshook, and Shakin (2009) to investigate the integrity of electoral data in Russia and Ukraine. More recently, Klimek et al. (2012) applied the method to examine systematic evidence of fraud in a comparative perspective. In this blog post, we apply the fingerprint analysis method to three consecutive Brazilian presidential elections (2018, 2022, and 2026). To the best of our knowledge, it is the broadest and most transparent application since it covers nearly 3 million polling-station records and R scripts go along with the working paper allowing independent replication and/or reuse of the data.
Why Brazil
We chose Brazil for three reasons. First, data availability. Within a few hours of the final count, the Tribunal Superior Eleitoral (TSE), which is the institutional equivalent in Brazil of the Federal Election Commission in the U.S., publishes results for every seção eleitoral, which is the smallest counting unit. The data is available online and gives detailed information on the number of registered voters, turnout, valid ballots for each candidate and invalid ballots (null and blank votes). There are more than 190 datasets available, including logs of the electronic voting machines used to count the votes. The level of disaggregation of the data allows us to group polling stations by electoral zone, municipality, state and geographical region. Few large democracies publish timely data in that much detail.
Second, Brazil makes an excellent case to study election fraud. International experience shows that fraud claims are usually made by the candidates who lost. Brazil breaks the pattern. Jair Bolsonaro won the presidential race in 2018 and still said that fraud in the first round prevented him from securing an even larger victory. He spent his four years as president questioning the reliability of electronic voting machines (Mello and Jurado, 2026). A claim from a defeated candidate is hard to separate from the sting of defeat; a claim from the winner cannot be put down to losing.
Finally, Flávio Bolsonaro, the son of former president Jair Bolsonaro, who is in prison for a coup attempt, led the first round on 4 October 2026 with 47.03% of the valid votes. He was mute on the reliability of the electronic machines. The Partido Liberal (PL), the political party of Flávio Bolsonaro, secured the largest delegation in Brazilian history (121 of the 513 members of the Chamber of Deputies) and the largest Senate delegation since 1988 (28 of the 81 senators). Flávio Bolsonaro received the first-round results with a broad smile and funny dance moves in the style of Donald Trump and Javier Milei. Three weeks later, Lula did what no other candidate had ever done. He won the run-off with 51.78%. It was the first time since Brazil returned to direct presidential elections in 1989 that the leader of the first round lost the second. Flávio cried fraud and left the country in the middle of the night. His party, the PL, accepted the election results. Only one party, Partido Novo, filed a lawsuit alleging abuse of economic power by President Lula’s campaign. Both rounds used the same electronic machines, the same voter registry and the same polling stations. So, we tested each round for ballot stuffing.
Results
Figure 1 – Election fingerprints across six rounds of Brazilian presidential elections

Note: Each round holds 448,000 to 495,000 polling stations. We estimate the Pearson correlation between turnout and the leader’s share of the valid votes. According to Klimek et al. (2012), ballot stuffing would show up as a second blob in the top right corner.
Following the approach proposed by Myagkov, Ordeshook and Shakin (2009) and then developed by Klimek et al. (2012), we found no evidence of ballot stuffing in the Brazilian data. In particular, the extreme fraud patterns seen in Russia and Uganda are completely absent in Brazil. The station-level correlation between turnout and the leader’s share of the valid votes never reaches 0.10. The theoretical expectation under fraudulent elections is a moderate or strong positive correlation. Finally, there is the cumulative curve. The more poll workers are working together to rig the election, the larger the block of votes the stations hand the winner. Thus, the curve of cumulative votes against turnout bends upward at its right-hand end, as depicted by Figure 6 in Klimek et al. (2012). Figure 2 applies this approach to Brazil.
Figure 2 – The 2026 run-off against simulated fraud at known levels

Note: Panel (a) shows the run-off as counted and the same stations with fraud switched on at two known levels. Panel (b) shows cumulative votes for the leader against turnout in each case. Fraud bends the curve up at the right-hand end.
As we show in Figure 2, the Brazilian curve flattens. We also simulated data at known levels of mild and extreme fraud. Official data from the TSE does not look rigged at all. We are aware that none of this proves that the Brazilian elections were clean. The evidence we provide suggests that, for this particular type of fraud, Brazil is free from any statistical abnormality.
Conclusion
The fingerprint analysis revealed no anomalies in the results of the Brazilian elections. Following the BITSS principles, we publicly shared the data and the code as a way to demonstrate how research transparency can promote public accountability and rigor. The data comes from the TSE’s open data portal, and the working paper is already on SSRN. This is the third paper in a series on the integrity of Brazil’s 2026 electoral returns. The first applied the integer-percentage test of Kobak, Shpilkin and Pshenichnikov (2016) and was published here. We also applied the second-digit Benford’s Law test (Mebane, 2006) and found no anomaly, further verifying our findings of a lack of election fraud.
References
Klimek, P., Yegorov, Y., Hanel, R. and Thurner, S. (2012) ‘Statistical detection of systematic election irregularities’, Proceedings of the National Academy of Sciences, 109(41), pp. 16469–16473. Available at: https://doi.org/10.1073/pnas.1210722109.
Kobak, D., Shpilkin, S. and Pshenichnikov, M.S. (2016) ‘Statistical fingerprints of electoral fraud?’, Significance, 13(4), pp. 20–23. Available at: https://doi.org/10.1111/j.1740-9713.2016.00936.x.
Mebane, W.R. Jr. (2006) ‘Election forensics: The second-digit Benford’s Law test and recent American presidential elections’. Available at: https://websites.umich.edu/~wmebane/fraud06.pdf (Accessed: 15 November 2026).
Mello, F. and Jurado, I. (2026) ‘Following the leader against democracy? Evidence from the 2022 Brazilian presidential election’, Politics and Governance, 14, Article 11547. Available at: https://doi.org/10.17645/pag.11547.
Myagkov, M., Ordeshook, P.C. and Shakin, D. (2009) The forensics of election fraud: Russia and Ukraine. Cambridge: Cambridge University Press. Available at: https://doi.org/10.1017/CBO9780511626807.
About the Authors
Dalson Figueiredo is an Associate Professor of political science at the Federal University of Pernambuco (UFPE, Brazil), a BITSS Catalyst, and a CNPq researcher.
Ernani Carvalho is a Professor of political science at the Federal University of Pernambuco (UFPE, Brazil), head of the Public Policy Professional Program, and a CNPq researcher.