Joel Benedict Erhardt (February 21, 1838 – September 8, 1909) was an American politician, civil servant, lawyer and businessman. He served as the police commissioner for the New York Police Department, U.S. Marshal for the Eastern District of New York, the Collector of the Port of New York and was the Republican candidate who ran against Hugh J. Grant for the Mayor of New York in 1888.