| 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.7%) | Seth Low, Citizens Union | 151,540 (28.9%) | Benjamin F. Tracy | 101,863 (19.5%) | Henry George, Jeff | 21,693 (4.1%) |
| 1901 | 579,301 | Edward M. Shepard | 265,177 (45.8%) | Seth Low, R-Citizens Union (Fusion) | 296,813 (51.2%) | | | | |
| 1903 | 589,898 | George B. McClellan Jr. | 314,782 (53.4%) | Seth Low, R-Citizens Union (Fusion) | 252,086 (42.7%) | | | | |
| 1905 | 604,673 | George B. McClellan Jr. | 228,407 (37.8%) | William R. Hearst, Municipal Ownership League | 224,989 (37.2%) | William M. Ivins | 137,184 (22.7%) | | |
| 1909 | 594,902 | William J. Gaynor | 250,378 (42.1%) | William R. Hearst, Civic Alliance | 154,187 (25.9%) | Otto Bannard, R-Fusion | 177,313 (29.8%) | | |
| 1913 | 627,017 | Edward McCall | 233,919 (37.3%) | John P. Mitchel, Fusion | 358,181 (57.1%) | | | Charles E. Russell, Soc | 32,057 (5.1%) |
| 1917 | 673,300 | John Francis Hylan | 314,010 (46.6%) | John P. Mitchel, Fusion (inc.) | 155,497 (23.1%) | William M. Bennett | 56,438 (8.4%) | Morris Hillquit, Soc | 145,332 (21.6%) |
| 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.2%) | | | Henry M. Curran, R-Coalition | 332,846 (28.5%) | Jacob Panken, Soc | 82,607 (7.1%) |
| 1925 | 1,137,966 | Jimmy Walker | 748,687 (65.8%) | | | Frank Waterman | 346,564 (30.5%) | Norman Thomas, Soc | 39,574 (3.5%) |
| 1929 | 1,429,385 | Jimmy Walker (inc.) | 867,522 (60.7%) | | | Fiorello La Guardia | 367,675 (25.7%) | Norman Thomas, Soc | 175,697 (12.3%) |
| 1932 | 1,990,899 | John P. O'Brien | 1,054,324 (53.0%) | Joseph McKee, Ind write-in (inc.) | 241,899 (12.2%) | Lewis H. Pounds | 443,020 (22.3%) | Morris Hillquit, Soc | 251,656 (12.6%) |
| 1933 | 2,152,505 | John P. O'Brien (inc.) | 586,672 (27.3%) | Joseph McKee, Recovery | 609,053 (28.3%) | Fiorello La Guardia, R-Fusion | 868,522 (40.4%) | Chas Solomon, Soc | 59,846 (3.0%) |
| 1937 | 2,235,386 | Jeremiah T. Mahoney, D-Trades Union-Anticommunist | 890,756 (39.8%) | | | Fiorello La Guardia, R-ALP-Fusion-Progressive (inc.) | 1,344,630 (60.2%) | | |
| 1941 | 2,263,369 | William O'Dwyer | 1,054,235 (46.6%) | | | Fiorello La Guardia, R-ALP-Fusion-United City (inc.) | 1,186,518 (52.4%) | | |
| 1945 | 1,982,361 | William O'Dwyer, D-ALP | 1,125,357 (55.3%) | Newbold Morris, No Deal | 408,348 (20.6%) | Jonah J. Goldstein, R-Lib-Fusion | 431,601 (21.2%) | | |
| 1949 | 2,591,684 | William O'Dwyer (inc.) | 1,266,512 (48.9%) | | | Newbold Morris, R-Lib-Fusion | 956,069 (36.9%) | Vito Marcantonio, ALP | 356,626 (13.8%) |
| 1950 | 2,626,476 | Ferdinand Pecora, D-Lib | 935,351 (35.6%) | Vincent Impellitteri, Exp (inc.) | 1,161,175 (44.2%) | Edward Corsi | 382,372 (14.6%) | Paul Ross, ALP | 147,578 (5.6%) |
| 1953 | 2,204,368 | Robert Wagner | 1,022,626 (46.3%) | Rudolph Halley, Lib-Ind | 467,106 (21.1%) | Harold Riegelman | 661,591 (30.0%) | | |
| 1957 | 2,179,878 | Robert Wagner, D-Lib-Fusion (inc.) | 1,509,775 (69.2%) | | | Robert K. Christenberry | 585,768 (26.9%) | | |
| 1961 | 2,424,985 | Robert Wagner, D-Lib-Brotherhood (inc.) | 1,237,421 (51.0%) | Lawrence E. Gerosa, Ind-Citizens Party | 321,604 (13.3%) | Louis Lefkowitz, R-Ind-Civic Action | 835,691 (34.5%) | | |
| 1965 | 2,554,199 | Abraham Beame, D-Civil Service Fusion | 1,046,699 (41.0%) | | | John Lindsay, R-Lib-Independent Citizens | 1,149,106 (45.0%) | William F. Buckley, Cons | 341,226 (13.4%) |
| 1969 | 2,390,834 | Mario Procaccino, D-Ind-Civil Service Ind | 831,772 (34.8%) | John Lindsay, Lib (inc.) | 1,012,633 (42.4%) | John Marchi, R-Cons | 542,411 (22.7%) | | |
| 1973 | 1,705,634 | Abraham Beame | 963,542 (56.5%) | Albert H. Blumenthal, Lib | 262,600 (15.4%) | John Marchi | 274,052 (16.1%) | Mario Biaggi, Cons | 186,977 (11.0%) |
| 1977 | 1,435,113 | Ed Koch | 717,376 (50.0%) | Mario Cuomo, Lib | 587,913 (41.0%) | Roy M. Goodman | 58,606 (4.1%) | Barry Farber, Cons | 57,437 (4.0%) |
| 1981 | 1,222,644 | Ed Koch, D-R (inc.) | 912,622 (74.6%) | Frank J. Barbaro, Unity | 162,719 (13.3%) | | | | |
| 1985 | 1,112,796 | Ed Koch, D-Ind (inc.) | 868,260 (78.0%) | Carol Bellamy, Lib | 113,471 (10.2%) | Diane McGrath, R-Cons | 101,668 (9.1%) | | |
| 1989 | 1,819,260 | David Dinkins | 917,544 (50.4%) | | | Rudy Giuliani, R-Lib-Ind Fusion | 870,464 (47.8%) | | |
| 1993 | 1,783,937 | David Dinkins (inc.) | 858,868 (48.1%) | | | Rudy Giuliani, R-Lib | 903,114 (50.6%) | | |
| 1997 | 1,116,358 | Ruth Messinger | 479,288 (42.9%) | | | Rudy Giuliani, R-Lib (inc.) | 615,829 (55.2%) | | |
| 2001 | 1,480,582 | Mark Green, D-WFP | 709,268 (47.9%) | | | Michael Bloomberg, R-Independence | 744,757 (50.3%) | | |
| 2005 | 1,289,935 | Fernando Ferrer | 503,219 (39.0%) | | | Michael Bloomberg, R-Lib-Independence (inc.) | 753,089 (58.4%) | | |
| 2009 | 1,154,802 | Bill Thompson, D-WFP | 534,869 (46.3%) | Michael Bloomberg, Independence-Jobs & Edu-R (inc.) | 585,466 (50.7%) | | | | |
| 2013 | 1,087,710 | Bill de Blasio, D-WFP | 795,679 (73.2%) | | | Joe Lhota, R-Cons | 264,420 (24.3%) | | |
| 2017 | 1,166,314 | Bill de Blasio, D-WFP (inc.) | 760,112 (66.2%) | | | Nicole Malliotakis, R-Cons | 316,947 (27.6%) | | |
| 2021 | 1,125,258 | Eric Adams | 753,801 (67.0%) | | | Curtis Sliwa, R-Ind | 312,385 (27.8%) | | |
| 2025 | 2,194,204 | Zohran Mamdani, D-WFP | 1,114,184 (50.8%) | Andrew Cuomo, Fight and Deliver | 906,614 (41.3%) | Curtis Sliwa, R-Protect Animals | 153,749 (7.0%) | | |