The 2021 New York City Public Advocate election was held on November 2, 2021. The incumbent, Jumaane Williams, was re-elected. Williams defeated Dr. Devi Nampiaparampil, a physician running on the Republican party line in the general election.
Democratic primary.
Primary 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
Republican Party.
Endorsements.
 ;templatestyles src="Endorsements box/styles.css"/ ;Devi Nampiaparampil
Organizations
General election.
Results.
! scope="col" colspan="2" style="width: 130px"|Party
! scope="col" style="width: 17em"|Candidate
! scope="col" style="width: 5em"|Votes
! scope="col" style="width: 3.5em"|%
! scope="col" style="width: 3.5em"| ;templatestyles src="Template:Tooltip/styles.css" / ;±%
! colspan="3" style="text-align:right;" | Total votes
References.
 ;templatestyles src="Reflist/styles.css" / ;