| Year | Total | Democratic | D Total (%) | Major Third Party | Third Party Total (%) | Republican | R Total (%) | Other major candidates | Other Total (%) |
| 1897 | 523,560 | Robert A. Van Wyck | 233,997 (44 %) | Seth Low, Citizens Union | 151,540 (28 %) | Benjamin F. Tracy | 101,863 (19 %) | Henry George, Jeff | 21,693 (4 %) |
| 1901 | 579,301 | Edward M. Shepard | 265,177 (45 %) | Seth Low, R-Citizens Union (Fusion) | 296,813 (51 %) | | | Ben Hanford, Social Democrat | 9,834 (1 %) |
| 1903 | 589,898 | George B. McClellan Jr. | 314,782 (53 %) | Seth Low, R-Citizens Union (Fusion) | 252,086 (42 %) | | | Charles Forman, Social Democrat | 16,956 (2 %) |
| 1905 | 604,673 | George B. McClellan Jr. | 228,407 (37 %) | William R. Hearst, Municipal Ownership League | 224,989 (37 %) | William M. Ivins | 137,184 (22 %) | Algernon Lee, Socialist | 11,817 (2 ) |
| 1909 | 594,902 | William J. Gaynor | 250,378 (42 %) | William R. Hearst, Civic Alliance | 154,187 (25 %) | Otto Bannard, R-Fusion | 177,313 (29 %) | Joseph Cassidy, Soc. | 19,768 (2 %) |
| 1913 | 627,017 | Edward McCall | 233,919 (37 %) | John P. Mitchel, Fusion | 358,181 (57 %) | | | Charles E. Russell, Soc | 32,057 (5 %) |
| 1917 | 673,300 | John Francis Hylan | 314,010 (46 %) | John P. Mitchel, Fusion (inc.) | 155,497 (23 %) | William M. Bennett | 56,438 (8 %) | Morris Hillquit, Soc | 145,332 (21 %) |
| The State of New York granted women the right to vote in 1917, doubling the potential total vote. |
| 1921 | 1,168,767 | John Francis Hylan (inc.) | 750,247 (64 %) | | | Henry M. Curran, R-Coalition | 332,846 (28 %) | Jacob Panken, Soc | 82,607 (7 %) |
| 1925 | 1,137,966 | Jimmy Walker | 748,687 (65 %) | | | Frank Waterman | 346,564 (30 %) | Norman Thomas, Soc | 39,574 (3 %) |
| 1929 | 1,429,385 | Jimmy Walker (inc.) | 867,522 (60 %) | | | Fiorello La Guardia | 367,675 (25 %) | Norman Thomas, Soc | 175,697 (12 %) |
| 1932 | 1,990,899 | John P. O'Brien | 1,054,324 (53 %) | Joseph McKee, Ind write-in (inc.) | 241,899 (12 %) | Lewis H. Pounds | 443,020 (22 %) | Morris Hillquit, Soc | 251,656 (12 %) |
| 1933 | 2,152,505 | John P. O'Brien (inc.) | 586,672 (27 %) | Joseph McKee, Recovery | 609,053 (28 %) | Fiorello La Guardia, R-Fusion | 868,522 (40 %) | Chas Solomon, Soc | 59,846 (3 %) |
| 1937 | 2,235,386 | Jeremiah T. Mahoney, D-Trades Union-Anticommunist | 890,756 (39 %) | | | Fiorello La Guardia, R-ALP-Fusion-Progressive (inc.) | 1,344,630 (60 %) | | |
| 1941 | 2,263,369 | William O'Dwyer | 1,054,235 (46 %) | | | Fiorello La Guardia, R-ALP-Fusion-United City (inc.) | 1,186,518 (52 %) | George W. Hartmann, Soc. | 24,145 (1 %) | |
| 1945 | 1,982,361 | William O'Dwyer, D-ALP | 1,125,357 (55 %) | Newbold Morris, No Deal | 408,348 (20 %) | Jonah J. Goldstein, R-Lib-Fusion | 431,601 (21 %) | Joseph G. Glass, Soc. | 9,304 (0 % | |
| 1949 | 2,591,684 | William O'Dwyer (inc.) | 1,266,512 (48 %) | | | Newbold Morris, R-Lib-Fusion | 956,069 (36 %) | Vito Marcantonio, ALP | 356,626 (13 %) |
| 1950 | 2,626,476 | Ferdinand Pecora, D-Lib | 935,351 (35 %) | Vincent Impellitteri, Exp (inc.) | 1,161,175 (44 %) | Edward Corsi | 382,372 (14 %) | Paul Ross, ALP | 147,578 (5 %) |
| 1953 | 2,204,368 | Robert Wagner | 1,022,626 (46 %) | Rudolph Halley, Lib-Ind | 467,106 (21 %) | Harold Riegelman | 661,591 (30 %) | Clifford MCAvoy,ALP | 53,048 (2 %) |
| 1957 | 2,179,878 | Robert Wagner, D-Lib-Fusion (inc.) | 1,509,775 (69 %) | | | Robert K. Christenberry | 585,768 (26 %) | Vito Battista, United Taxpayers Party | 67,266 (3 %) |
| 1961 | 2,424,985 | Robert Wagner, D-Lib-Brotherhood (inc.) | 1,237,421 (51 %) | Lawrence E. Gerosa, Ind-Citizens Party | 321,604 (13 %) | Louis Lefkowitz, R-Ind-Civic Action | 835,691 (34 %) | Vito Battista, United Taxpayers Party | 19,960 (0 %) |
| 1965 | 2,554,199 | Abraham Beame, D-Civil Service Fusion | 1,046,699 (41 %) | William F. Buckley, Cons | 341,226 (13 %) | John Lindsay, R-Lib-Independent Citizens | 1,149,106 (45 %) | Vito Battista, United Taxpayers Party | 11,104 (0 %) |
| 1969 | 2,390,834 | Mario Procaccino, D-Ind-Civil Service Ind | 831,772 (34 %) | John Lindsay, Lib-Ind (inc.) | 1,012,633 (42 %) | John Marchi, R-Cons | 542,411 (22 %) | Rasheed Storey, Communist | 4,018 (0 %) | |
| 1973 | 1,705,634 | Abraham Beame, D-Civil Service & Fusion | 963,542 (56 %) | Albert H. Blumenthal, Lib-Good Gov't | 262,600 (15 %) | John Marchi, R-Integrity | 274,052 (16 %) | Mario Biaggi, Cons-Safe City | 186,977 (11 %) |
| 1977 | 1,435,113 | Ed Koch | 717,376 (50 %) | Mario Cuomo, Lib-Neighb. Gvt. | 587,913 (41 %) | Roy M. Goodman | 58,606 (4 %) | Barry Farber, Cons | 57,437 (4 %) |
| 1981 | 1,222,644 | Ed Koch, D-R (inc.) | 912,622 (74 %) | Frank J. Barbaro, Unity | 162,719 (13 %) | | | John Eposito, Cons. | 60,100 (4 %) |
| 1985 | 1,112,796 | Ed Koch, D-Ind (inc.) | 868,260 (78 %) | Carol Bellamy, Lib | 113,471 (10 %) | Diane McGrath, R-Cons | 101,668 (9 %) | Yehudi Levin, Right to Life | 14,517 (1 %) | |
| 1989 | 1,819,695 | David Dinkins | 917,544 (50 %) | Ronald S. Lauder Cons. | 9,271 (0 %) | Rudy Giuliani, R-Lib-Ind Fusion | 870,464 (47 %) | Henry F. Hewes, Right To Life | 17,460 (1 %) | |
| 1993 | 1,783,937 | David Dinkins (inc.) | 858,868 (48 %) | | | Rudy Giuliani, R-Lib | 903,114 (50 %) | George Marlin, Cons To Life | 15,926 (0 %) | |
| 1997 | 1,367448 | Ruth Messinger | 549,335 (40 %) | | | Rudy Giuliani, R-Lib (inc.) | 783,815 (57 %) | Sal Albanese, Independence, | 14,316 (1 %) |
| 2001 | 1,480,914 | Mark Green, D-WFP | 709,268 (47 %) | | | Michael Bloomberg, R-Independence | 744,757 (50 %) | Alan Hevesi, Liberal- Better Schools | 10,331 (0 %) |
| 2005 | 1,289,935 | Fernando Ferrer | 503,219 (39 %) | | | Michael Bloomberg, R-Lib-Independence (inc.) | 753,089 (58 %) | Thomas Ognibene, Cons., | 14,630 (1 %) | |
| 2009 | 1,154,802 | Bill Thompson, D-WFP | 534,869 (46 %) | | | Michael Bloomberg, Independence-Jobs & Edu (inc.) | 585,466 (50 %) | Stephen Christopher, Cons., | 18,013 (1 %) | |
| 2013 | 1,087,710 | Bill de Blasio, D-WFP | 795,679 (73 %) | | | Joe Lhota, R-Cons-Taxes 2 High-Students First | 264,420 (24 %) | Adolfo Carrion, Independence | 8,675 (0 %) |
| 2017 | 1,166,314 | Bill de Blasio, D-WFP (inc.) | 760,112 (66 %) | Akeem Browder, Green | 16,536 (1 %) | Nicole Malliotakis, R, Cons, Stop de Blasio | 316,947 (27 %) | Sal Albanese, Reform | 24,484 (2 %) |
| 2021 | 1,125,258 | Eric Adams | 753,801 (67 %) | | | Curtis Sliwa, R-Ind | 312,385 (27 %) | Cathy Rojas, Socialism & Liberation | 27,982 (2 %) |
| 2025 | 2,194,204 | Zohran Mamdani, D-WFP | 1,114,184 (50 %) | Andrew Cuomo, Fight and Deliver | 906,614 (41 %) | Curtis Sliwa, R-Protect Animals | 153,749 (7 %) | Eric Adams, Safe and Affordable/End Anti-Semitism | 6,897 (0 %) |