The 1887 San Diego mayoral election was held on November 8, 1887 to elect the mayor for San Diego. This was the first mayoral election since the position was abolished due to an 1852 city bankruptcy. William Jefferson Hunsaker was elected Mayor with a majority of the votes.
In 1887, the City of San Diego adopted a new charter reestablishing the office of mayor for the first time in 35 years since an 1852 city bankruptcy. In the interim, the City had been run by a board of trustees appointed by the State.