An accumulating body of research suggests that African Americans cast invalid ballots at a higher rate than whites. Our analysis of a unique precinct-level dataset from South Carolina and Louisiana shows that the black-white gap in voidedWe thank Chris Achen, Steve Ansolabehere, Mo Fiorina, Mike Herron, Simon Jackman, John Jackson, David Lublin, Phil Shively, Ken Shotts, Paul Sniderman, Wendy Tam, the reviewers, and AJPS editors Kim Quaile Hill and Jan E. Leighley for very helpful comments. We are grateful to David Brady and the Stanford Institute for the Quantitative Study of Society for financial support and to the many public servants in South Carolina and Louisiana who helped obtain the data for this research. Part of this research was conducted while Van Houweling was a visiting scholar at Stanford University. der all major types of voting machines. We find that, unlike centrally counted optical ballots and punch cards, DRE and lever machines nearly eliminate the racial gap in voided ballots.Our analysis is based on an original dataset, constructed from millions of voter history records in South Carolina and Louisiana. Relative to other datasets, ours is especially appropriate for several reasons. First, it contains accurate measures of turnout by race, our key explanatory variable. Among U.S. states only South Carolina and Louisiana officially report this information, instead of imperfect proxies such as the racial composition of the registered electorate or the general population. Second, our data distinguish between in-person voters, who use the machines in question on election day, and absentee voters, who do not. Third, we aggregate the data by precinct (rather than county or congressional district) to maximize variation on our explanatory and dependent variables, thereby increasing the precision of our estimates. Finally, our dataset covers the main technologies in use nationwide: punch cards, optical scanners, DREs, and lever machines. For these four reasons our