John Ferguson (c. 1777—September 5, 1832) was an American attorney and politician from New York City.
Ferguson graduated from Columbia University in 1795, studied law, and became an attorney.
In 1813, he was appointed Naval Officer of the Port of New York, a lucrative federal position, in which he served until his death.
President James Monroe requested that Ferguson choose which office he preferred to hold, and resign the other.
Ferguson's daughter Louisa (1807-1845) was the wife of Robert Walter Weir.