Skip to content

Microsoft Defending Democracy Program: ElectionGuard

ElectionGuard is an open source software development kit (SDK) that makes voting more secure, transparent and accessible. Announced on at the Build developer conference, ElectionGuard enables end-to-end verification of elections as well as support the publication of results from ballot comparison audits. The ElectionGuard SDK leverages homomorphic encryption to ensure that votes recorded by electronic systems of any type remain encrypted, secure, and secret. Results can be published online or made available to third-party organizations for secure validation, and allow individual voters to confirm their votes were correctly counted.


First time to ElectionGuard? Get started in our guide.


This library and all linked ElectionGuard projects, are licensed under the MIT license. There is no fee for using ElectionGuard.

Security Issues Reporting

We encourage the developer and security community to conduct research, report issues, and suggest improvements on this code base. However, unlike performance or feature bugs, please do not report security vulnerabilities in public Github comments. Each repository has a SECURITY file with instructions on responsibly reporting security vulnerabilities under Microsoft's CVD process.


Help defend democracy and contribute to the project.

We welcome discussions on our discussions page, feel free to check in and ask your questions and drop your suggestions regarding the specifications over there.


ElectionGuard would love for you to ask questions out in the open using Github Issues. If you really want to email the ElectionGuard team, reach out at


A huge thank you to those who helped to contribute to this project so far, including: