 
The 2021 New York County District Attorney election was held on November 2, 2021, to elect the New York County District Attorney. The incumbent, Cyrus Vance Jr., had announced in March 2021 that he would not seek a fourth term.
The Democratic primary election was held on June 22, 2021. Despite the introduction of ranked-choice voting for other elected positions in New York City, this race used plurality voting, as it is a state position, rather than a city position.
A key issue in the election was which candidate would be best equipped to criminally prosecute or civilly sue former President Donald Trump.
Democratic primary.
Endorsements.
 ;templatestyles src="Endorsements box/styles.css"/ ;Tahanie Aboushi
U.S. senators
U.S. representatives
Local officials
State senators
State assemblymembers
Individuals
Organizations
Labor unions
 ;templatestyles src="Endorsements box/styles.css"/ ;Alvin Bragg
Federal legislators
State senators
State assemblymembers
Individuals
Organizations
Labor unions
 ;templatestyles src="Endorsements box/styles.css"/ ;Tali Farhadian Weinstein
Executive branch officials
U.S. representatives
Individuals
Newspapers
 ;templatestyles src="Endorsements box/styles.css"/ ;Diana Florence
Labor unions
 ;templatestyles src="Endorsements box/styles.css"/ ;Lucy Lang
Individuals
 ;templatestyles src="Endorsements box/styles.css"/ ;Eliza Orlins
Individuals
Organizations
Labor unions
 ;templatestyles src="Endorsements box/styles.css"/ ;Dan Quart
U.S. representatives
Local officials
State senators
State assemblymembers
Individuals
Organizations
Labor unions
Results.
! scope="col" colspan="2" style="width: 15em" |Party
! scope="col" style="width: 17em" |Candidate
! scope="col" style="width: 5em" |Votes
! scope="col" style="width: 3.5em" |%
! colspan="3" style="text-align:right;" | Total valid votes
! colspan="3" style="text-align: right; margin-right: 0.5em" | Rejected ballots
! colspan="3" style="text-align:right;" | Total votes
Republican primary.
Results.
! scope="col" colspan="2" style="width: 15em" |Party
! scope="col" style="width: 17em" |Candidate
! scope="col" style="width: 5em" |Votes
! scope="col" style="width: 3.5em" |%
! colspan="3" style="text-align:right;" | Total votes
General election.
Results.
! scope="col" colspan="2" style="width: 15em" |Party
! scope="col" style="width: 17em" |Candidate
! scope="col" style="width: 5em" |Votes
! scope="col" style="width: 3.5em" |%
! colspan="3" style="text-align:right;" | Total votes
References.
 ;templatestyles src="Reflist/styles.css" / ;