MIT Election and Data Science Lab
GovernmentThe MIT Election and Data Science Lab (MEDSL) is an academic research initiative that compiles and publishes comprehensive election datasets covering US federal, state, and local elections. Their data includes precinct-level vote totals, candidate information, and election administration details. MEDSL makes raw election data accessible and standardized, enabling researchers, journalists, and civic organizations to analyze electoral patterns and outcomes. The lab's datasets are widely used in academic research on voting behavior, redistricting, and election administration.
Pinned datasets
MEDSL State Precinct-Level Election Returns
This is the raw vote count from precincts across the entire country for the 2024 election. Every row shows one candidate's vote total in one precinct, with breakdowns for mail-in ballots, in-person voting on election day, and other vote types. It's the granular building block that state and national election results are made from. Useful if you're analyzing voting patterns by location, studying turnout differences between voting methods, or comparing candidate performance across precincts.
MEDSL Federal Precinct-Level Election Returns 2024 (President, Senate, House)
How did your precinct vote in 2024? This dataset breaks down every vote cast in every precinct across the country for President, Senate, and House races. You get actual vote counts, not polls or predictions. The data separates votes by how people cast them (election day, mail-in, early voting, etc.), so you can see whether candidates had different support among different voting modes. With 4.46 million rows of precinct-by-candidate data, you can zoom way in on local results or aggregate up to state or national levels.