Electronic voting
Electronic voting (e-voting) is voting that uses electronic devices to record votes, count them, or both. It covers scanners that count paper ballots, touchscreen voting machines, and voting over the Internet from a phone or computer.[1][2] Many countries use it, from India's standalone voting machines to Estonia's Internet voting.[3][4]
The main challenge is trust. An election has to be accurate and keep each vote secret, and it also has to convince the losing side that it lost. Computers can fail or be hacked without leaving visible traces, so experts in computer security stress keeping independent evidence of the result, such as voter-checked paper ballots, statistical audits, and cryptographic proofs.[5][6]
What a voting system must do
A public election has several goals that pull against each other. Researchers group them as follows.[6][1]
- Accuracy: the reported winners must be the people the voters chose.
- Ballot secrecy: no one should be able to learn how a given person voted.
- Evidence: the system should produce convincing public proof that the outcome is correct.
- Accessibility and usability: voters with and without disabilities must be able to vote privately and correctly.
- Availability: voters must be able to cast ballots on time, even under attack.
Evidence and secrecy are in direct tension. Convincing evidence that the outcome is right must not become evidence of how any one person voted.[6] Much of the research on electronic voting is about meeting both goals at once.
Kinds of electronic voting
Electronic voting systems differ in two ways: how the voter marks a choice, and how the votes are counted. The table compares the main types used in public elections.[2][1][7]
| Type | How the voter votes | How votes are counted | Paper record the voter can check |
|---|---|---|---|
| Hand-marked paper with optical scan | Fills in ovals or boxes on paper with a pen | A scanner reads the marks | Yes, the ballot itself |
| Ballot-marking device (BMD) | Makes choices on a screen; the device prints a paper ballot | A scanner reads the printed ballot | Yes, the printout, if the voter reads it |
| Direct-recording electronic (DRE) machine without paper | Touchscreen or buttons | The machine stores votes in memory | No |
| DRE with voter-verified paper audit trail (VVPAT) | Touchscreen or buttons | The machine stores votes in memory and prints a record | Yes, a printout behind a window |
| Internet voting | Voter's own phone, tablet, or computer | Ballots are sent over the network to a server | No |
An optical scan system counts votes from marks on a paper ballot or from a barcode printed on it.[2] A ballot-marking device shows the ballot on a screen and prints a human-readable paper ballot, but keeps no other lasting record of the voter's choices.[2] A DRE presents the ballot electronically and stores each voter's choices as electronic records.[2]
History
From levers to computers in the United States
The United States moved from mechanical devices to computers over about a century. The MIT Election Data and Science Lab gives this sequence.[7]
- 1890s: mechanical lever machines appear. Voters press a lever next to a candidate's name.
- 1960s: punch-card machines are developed, and optical scanners are first used to count paper ballots.
- 1970s: jurisdictions start adopting DREs. Early models were electronic versions of lever machines, with buttons and electronic counters.
- Late 1970s and 1980s: lever machines are phased out, and punch-card machines peak in use in the 1980s.
The 2000 presidential election was a turning point. During Florida's statewide recount, officials struggled to read punch cards with "hanging chads," bits of paper that had not fully separated.[7] Congress then passed the Help America Vote Act of 2002 (HAVA), which funded new equipment and effectively retired punch-card and lever machines.[1][7]
HAVA also required at least one voting system per polling place that disabled voters could use, and DREs were widely adopted to meet this rule.[1] DRE use grew between 2000 and 2004, then declined after 2008 as computer scientists raised concerns, especially about DREs with no paper record.[7]
By the mid-2020s most US voters used paper ballots, marked by hand or with a BMD. DREs were common in only Louisiana, Tennessee, and Indiana.[7]
Around the world
Several countries adopted electronic voting on a national scale.
- India: electronic voting machines (EVMs) were first used in 1982 in the Parur assembly constituency of Kerala.[3] India later added VVPAT printers. After each vote, a slip with the candidate's serial number, name, and symbol shows behind a window for 7 seconds, then drops into a sealed box.[3]
- Brazil: the electoral court developed its electronic ballot box in 1995 and first used it in 1996 in more than 50 municipalities.[8] Elections became entirely electronic in 2000.[9] The machines are standalone DREs with no network hardware.[9]
- Estonia: Internet voting ("i-voting") was first offered in the 2005 local elections, when 9,317 people, 1.9% of those who voted, voted online.[4] In the 2023 parliamentary election, 51.1% of participating voters voted online.[4]
Security problems
Why voting computers are hard to trust
A voting computer can be attacked at every step, from the screen the voter touches to the software that adds up totals. Malicious software can stop people from voting, change electronic records, or make scanners and DREs miscount.[5] The National Academies of Sciences, Engineering, and Medicine concluded in 2018 that there is "no realistic mechanism" to fully secure vote casting and counting computers from cyber threats.[5]
A 2006 Princeton study of a Diebold AccuVote-TS DRE showed how serious this can be. Ariel Feldman, J. Alex Halderman, and Edward Felten found that an attacker with as little as one minute of access to the machine or its memory card could install malicious code.[10] That code could steal votes without detection by changing all records, logs, and counters to match, and it could spread from machine to machine as a "voting-machine virus."[10]
The deeper problem is that a paperless machine leaves no independent evidence. If its software is wrong, every record it produces may be wrong in the same way.[5] DREs also brought usability problems, such as miscalibrated touchscreens that register a vote for the wrong candidate.[1]
Internet voting
Internet voting adds risks that polling-place machines do not have. Ballots are marked on voters' own devices and sent over networks, so they face malware on those devices, attacks on servers, and denial-of-service attacks that can block voting.[5] The National Academies found that all Internet voting schemes are vulnerable to denial-of-service attacks.[5]
Independent reviews of deployed systems have found serious flaws.
- Estonia (2014): researchers who studied the i-voting system built client-side malware in a lab copy that captured national ID smartcard PINs and silently replaced votes.[11] They also showed that malware on the counting server could change votes, and they recommended ending the system. Estonia's National Electoral Committee rejected these findings, saying the threats were already covered and the attacks were not feasible.[11]
- Voatz (2020): in 2018, West Virginia let some voters vote with the Voatz phone app. MIT researchers found flaws that let attackers alter, stop, or expose a user's vote.[12] After the analysis, West Virginia and one Washington county dropped Voatz for the 2020 primaries.[12]
Software independence and paper records
The central idea in modern voting security is software independence. Ronald Rivest and John Wack defined it this way: "A voting system is software independent if an (undetected) change or error in its software cannot cause an undetectable change or error in an election outcome."[13] Optical scan systems and some cryptographic systems are software independent, and paperless DREs are not.[13][14]
In practice, a system gains software independence when voters can check a paper record of their choices that can later be compared with the electronic totals.[2] Such ballots form a body of evidence that faulty hardware or software cannot alter.[5] Electronic evidence, such as ballot images or electronic cast-vote records, does not qualify on its own, because compromised software can change it.[5]
Voter-verified paper
A VVPAT is a paper record that the voter can review before casting the ballot.[2] It helps only if voters actually read it, and the memory of the machine may still disagree with what it printed.[1] Research found VVPATs are not usable or reliable for checking that the record matches the voter's intent, and voters with vision or other impairments may be unable to check them at all.[1]
Researchers prefer paper ballots marked by hand or by a ballot-marking device over a VVPAT, which is a cash-register-style printout the voter cannot touch.[6] Lindeman and Stark describe a good audit trail as voter-verifiable, meaning voters had the chance to check that the records show their choices correctly. Paperless touchscreen systems cannot be audited this way.[15]
The ballot-marking device debate
BMDs help voters with disabilities, but voters may not notice if the machine prints the wrong choice. A voter who marks a ballot by hand looks at the marks while making them, while a BMD printout need not be reviewed at all.[1] BMDs that print only the selected names, with short contest labels, are "virtually unusable" for checking intent unless the voter took notes.[1]
Studies disagree on how much this matters. Earlier work found that few voters check their BMD printouts, while a 2020 experiment found that 76% of participants who did examine the printout spotted the changed votes.[16] The National Academies recommended hand-marked paper ballots when possible and called for more research on BMDs.[1]
Risk-limiting audits
A paper record helps only if someone checks it against the electronic count. A risk-limiting audit (RLA) does this by examining randomly chosen paper ballots until there is strong statistical evidence that the reported winner really won.[5] The first RLA was run in February 2008 in Marin County, California, by a group that included statistician Philip Stark.[17]
The risk limit is the largest chance that the audit stops without a full hand count when the reported outcome is in fact wrong, whatever the cause.[15] With a 10% risk limit, a wrong outcome has at least a 90% chance of being corrected.[15] A full hand count is the simplest RLA, and the goal is to check far fewer ballots when the outcome is right.[6]
An RLA confirms who won, not the exact vote totals.[6] It also relies on the paper itself being trustworthy, so ballots must be kept secure in a chain of custody, a documented record of who handled them and when.[5] The audit tools must also be independent of the equipment that produced the first count.[5]
Ballot-polling audits
A ballot-polling audit needs only the reported winner, not detailed data from the voting system.[15] Lindeman and Stark give this procedure for a two-way contest with a 10% risk limit. It applies when the winner's reported share of valid votes is above 50%.[15]
- Choose a small tolerance so that is still above 50%. Set .
- Draw a ballot at random. If it has no valid vote, draw again.
- Update using the rule below.
- If , stop: the outcome is confirmed.
- If , do a full hand count. Otherwise return to step 2.
Here is a running test statistic, is the winner's reported share, and is the tolerance. The method is based on Wald's sequential probability ratio test.[15]
The tolerance trades one kind of work for another. Increasing lowers the chance of a needless full hand count when the reported outcome is correct, but raises the expected number of ballots checked.[15]
Wide margins need few ballots. With and , if the first 14 ballots all show the winner, and the audit stops.[15]
In the 2008 US presidential election, 13.7 million ballots were cast in California and Barack Obama was reported to win 61.1%. With , a ballot-polling audit at a 10% risk limit could have confirmed that result by checking roughly 97 ballots, if Obama really received more than 61% of the votes.[15]
Comparison audits
A comparison audit checks the voting system's reading of chosen ballots against a hand reading of the same ballots.[15] It needs more data from the voting system, such as its interpretation of each ballot, but it usually checks fewer ballots.[15] When the reported results are correct, the number of ballots needed grows roughly in proportion to one divided by the reported margin.[6]
End-to-end verifiable voting
End-to-end verifiable (E2E-V) voting uses Cryptography so that voters and the public can check an election without trusting its software or officials. It builds on methods first developed by David Chaum.[5] Voters get a receipt that lets them confirm their vote was counted without revealing how they voted.[2]
The page on the end-to-end auditable voting system covers these systems in more detail.
Three checks
An election is E2E-verifiable if it meets three goals.[5]
- Cast as intended: voters can confirm their choices were properly recorded.
- Recorded as cast: each voter can confirm their ballot is included in the tally.
- Counted as recorded: anyone can confirm the final tally is correct for the set of ballots collected.
These checks can catch errors or tampering by outside attackers, election officials, broken equipment, or vendors.[5]
Counting encrypted votes
E2E-V systems post encrypted ballots publicly and then produce a tally that can be checked. They do this in one of two main ways.[6]
- Homomorphic tallying: the ballots are combined while still encrypted, and only the total is decrypted.
- Verifiable shuffling: a mix network shuffles the encrypted ballots so that, once decrypted, they cannot be linked to voters. Each mixing step proves that its output matches its input.
Many homomorphic systems use exponential ElGamal encryption, a kind of public-key cryptography.[18][19] A vote , which is 1 for "yes" to a candidate and 0 for "no," is encrypted with fresh randomness into a ciphertext, an encrypted message made of two numbers:
Here generates a group of large prime order inside the integers modulo a large prime . The public key is , and the secret key is shared among several trustees, officials who each hold part of the secret key.[18] Multiplying two ciphertexts part by part adds the votes inside them:
Multiplying every ballot's ciphertext for one candidate gives an encryption of that candidate's total, and the trustees decrypt only that product.[19] Decryption yields for the total . Finding from is called taking a discrete logarithm, and it is fast here because is at most the number of votes cast.[19]
Each ciphertext comes with a zero-knowledge proof that it encrypts 0 or 1, so no one can sneak in a ballot worth many votes.[18][19]
Checking the machine's encryption
A voter cannot check an encryption by eye. Josh Benaloh's method lets the voter have the machine encrypt a ballot and then either cast it or challenge it.[6] A challenged ballot is opened publicly to show it was encrypted correctly and can no longer be cast, so the voter votes again.[6]
The machine must print or post each encryption before it learns whether the voter will cast or challenge it. A machine that cheats therefore risks being caught each time.[6]
Secrecy and coercion
Secrecy has to hold even against a voter who wants to prove their vote, for example to sell it. A system is receipt-free if a voter cannot prove how they voted even when working with a coercer, a point made by Benaloh and Tuinstra.[6] It is coercion resistant if a coerced voter can vote freely in a way the coercer cannot detect.[6]
All remote voting, including vote-by-mail, shares a coercion problem. Internet voting makes it worse, because coercion and vote-selling become as simple as a voter giving their voting credentials to someone else.[6]
Estonia, Norway, and Utah let voters vote again, with only the last vote counting, or let an in-person vote override a remote one. Researchers say it is not clear that this reduces coercion at all.[6] In Estonia, a paper ballot cancels a voter's i-vote.[4]
Systems in use
Several E2E-V designs have been built and used.[6][19]
- Helios: a web-based system used for elections by universities and groups such as the Association for Computing Machinery and the International Association for Cryptologic Research.
- Prêt à Voter: lists candidates in a random order on each ballot, so the position of the mark acts as an encryption.
- Scantegrity: optical scan ballots with confirmation codes printed in invisible ink that appear when the voter fills an oval.
- STAR-Vote: a design developed with Travis County, Texas, that pairs a paper trail with E2E cryptography and supports RLAs.
- ElectionGuard: an open-source set of tools that adds E2E verifiability to existing election systems.
E2E-V methods address some Internet voting risks, but not all. They cannot stop denial-of-service attacks, and many false claims of altered votes could erode confidence before they are disproved.[5]
Blockchain voting
Some proposals store ballots on a Blockchain, claiming this makes them tamper-proof. The National Academies found that this does not give software independence, because checking the ballots still requires software, and corrupt software would make the checks meaningless.[5] A 2021 review found that Internet and blockchain voting "would greatly increase the risk of undetectable, nation-scale election failures," and that blockchains may add new problems.[20]
Voatz claimed to use a permissioned blockchain, but the MIT analysis found its use of the blockchain was unlikely to protect against attacks on its servers.[12] See blockchain-based voting for more.
Standards and recommendations
In the United States, the Voluntary Voting System Guidelines (VVSG) set requirements against which voting systems are tested. HAVA requires the Election Assistance Commission (EAC) to maintain them, but following them is voluntary except in states whose laws require it.[21] The EAC adopted VVSG 2.0 unanimously on February 10, 2021.[21]
VVSG 2.0 requires software independence, achieved either with voter-verifiable paper records or with cryptographic E2E-V systems.[14] Under it, the paperless DRE is no longer conformant.[14] It also requires that systems such as electronic pollbooks be air-gapped, meaning kept off any network that connects to the voting system.[14]
The National Academies' 2018 report made these main recommendations.[22]
- Use human-readable paper ballots, marked by hand or by machine, in all US elections by the 2020 presidential election.
- Remove machines that cannot be independently audited, such as those with no VVPAT, as soon as possible.
- Require risk-limiting audits before certifying results, and put them in place within a decade.
- Pilot E2E-verifiable systems in elections that use paper ballots.
- Do not use the Internet, or any network connected to it, to return marked ballots.
Open questions
Several problems remain unsolved.
- Secure Internet voting: the National Academies said Internet voting should not be used until strong guarantees of security and verifiability exist, since no known technology provides them for a ballot sent over the Internet.[22]
- Usable verification: it is still unclear how to get most voters to check BMD printouts or cryptographic receipts.[16][1]
- Coercion: proposed defenses for remote voting are at best partial, partly because they are hard to use.[6]
- Public trust: the National Academies identified efforts to undermine the credibility of election results, including by foreign actors, as the most serious threat they found.[23] The MIT Election Lab notes that claims after the 2020 US election that rigged machines caused widespread fraud "have been regularly refuted."[7]
References
- Securing the Vote: Protecting American Democracy, Chapter 4, National Academies of Sciences, Engineering, and Medicine, 2018.
- NIST Election Terminology Glossary (Draft Version 1.0), National Institute of Standards and Technology, accessed 2026.
- Electronic Voting Machine: General Q/A, Election Commission of India, accessed 2026.
- Statistics about Internet voting in Estonia, Estonian State Electoral Office, accessed 2026.
- Securing the Vote: Protecting American Democracy, Chapter 5, National Academies of Sciences, Engineering, and Medicine, 2018.
- Public Evidence from Secret Ballots, M. Bernhard et al., arXiv, 2017.
- Voting technology, MIT Election Data and Science Lab, accessed 2026.
- Electronic ballot box: History, Superior Electoral Court of Brazil, accessed 2026.
- Security and Threats in the Brazilian e-Voting System: A Documentary Case Study Based on Public Security Tests, ACM, 2021.
- Security Analysis of the Diebold AccuVote-TS Voting Machine, A. J. Feldman, J. A. Halderman, and E. W. Felten, Princeton Center for Information Technology Policy, 2006.
- Security Analysis of the Estonian Internet Voting System, D. Springall et al., ACM Conference on Computer and Communications Security, 2014.
- The Ballot is Busted Before the Blockchain: A Security Analysis of Voatz, M. A. Specter, J. Koppel, and D. Weitzner, USENIX Security Symposium, 2020.
- On the notion of 'software independence' in voting systems, R. L. Rivest and J. P. Wack, Philosophical Transactions of the Royal Society A, 2008.
- Voluntary Voting System Guidelines Version 2.0, U.S. Election Assistance Commission, 2021.
- A Gentle Introduction to Risk-Limiting Audits, M. Lindeman and P. B. Stark, IEEE Security and Privacy, 2012.
- Voter Verification of BMD Ballots Is a Two-Part Question: Can They? Mostly, They Can. Do They? Mostly, They Don't, arXiv, 2020.
- Implementing Risk-Limiting Post-Election Audits in California, J. L. Hall, L. W. Miratrix, P. B. Stark et al., EVT/WOTE 2009 (arXiv), 2009.
- How to Verifiably Encrypt Many Bits for an Election?, H. Devillez, O. Pereira, and T. Peters, International Journal of Information Security, 2025.
- ElectionGuard: a Cryptographic Toolkit to Enable Verifiable Elections, J. Benaloh et al., USENIX Security Symposium, 2024.
- Going from bad to worse: from Internet voting to blockchain voting, Journal of Cybersecurity, 2021.
- Voluntary Voting System Guidelines, U.S. Election Assistance Commission, accessed 2026.
- Securing the Vote: Protecting American Democracy, Summary, National Academies of Sciences, Engineering, and Medicine, 2018.
- Securing the Vote: Protecting American Democracy, Preface, National Academies of Sciences, Engineering, and Medicine, 2018.
