John Ferguson (c. 1777—September 5, 1832) was an American attorney and politician from New York City. A Democratic-Republican, and later a Democrat, he was most notable for his service as the 52nd Mayor of New York City from March to June 1815, Grand Sachem of Tammany Hall, and Naval Officer of the Port of New York.