List of mayors of York, Pennsylvania
The mayor of York, Pennsylvania is the city's chief executive since its incorporation on January 11, 1887. The current mayor is the 28th, and two mayors were reelected non-consecutively.
Mayors of York
| scope="col" | scope="col" | Mayor | Party | Term | Notes |
| 1 | 1 | Democrat | 1887–1893 | ||
| 2 | 2 | [United States United States Republican Party|Republican Party|Republican] | 1893–1896 | ||
| 3 | 3 | Democrat | 1896–1899 | ||
| 4 | 4 | Democrat | 1899–1900 | ||
| 5 | 5 | Democrat | 1900–1902 | ||
| 6 | 6 | Republican | 1902–1905 | ||
| 7 | 7 | 1905–1908 | |||
| 8 | 8 | Democratic | 1908–1911 | ||
| 9 | 9 | Republican | 1911–1916 | ||
| 10 | 10 | Republican | 1916–1928 | ||
| 11 | 8 | Democratic | 1928–1932 | Served previously | |
| 12 | 11 | Republican | 1932–1942 | ||
| 13 | 12 | 1942–1944 | |||
| 14 | 13 | Republican | 1944–1948 | ||
| 15 | 14 | Democratic | 1948–1952 | ||
| 16 | 15 | Republican | 1952–1956 | ||
| 17 | 16 | Democratic | 1956–1962 | ||
| 18 | 13 | Republican | 1962–1969 | Served previously | |
| 19 | 17 | 1969–1970 | First appointed female mayor | ||
| 20 | 18 | Democrat | 1970–1974 | ||
| 21 | 19 | Republican | 1974–1978 | ||
| 22 | 20 | Democrat | 1978–1982 | First elected female mayor | |
| 23 | 21 | Republican | 1982–1994 | 49th president of the United States Conference of Mayors | |
| 24 | 22 | Democrat | 1994–2002 | Withdrew re-election bid after arrest | |
| 25 | 23 | Democrat | – January 4, 2010 | ||
| 26 | 24 | Democrat | – January 2, 2018 | First black mayor | |
| 27 | 25 | Democrat | – January 5, 2026 | Ran as a Republican | |
| 28 | 26 | Sandie Walker | Democrat | January 5, 2026 – present |