In November 2020, Adams announced his candidacy for Mayor of New York City in the 2021 election. On July 6, Associated Press announced that he won the Democratic primary. Adams was elected mayor on November 2, 2021.