This is a list of Mayors of San Francisco, in chronological order.
- John White Geary, from 1850 to 1851
- Charles James Brenham, from 1851
- Stephen Randall Harris, from 1852
- Charles James Brenham, from 1852 to 1853
- Cornelius Kingsland Garrison, from 1853 to 1854
- Stephen Palfrey Webb, from 1854 to 1855
- James Van Ness, from 1855 to 1856
- George J. Whelan, from 1856 (only served 6 months)
- Ephraim Willard Burr, from 1856 to 1859
- Henry F. Teschemacher, from 1859 to 1863
- Henry Perrin Coon, from 1863 to 1867
- Frank McCoppin, from 1867 to 1869
- Thomas Henry Selby, from 1869 to 1871
- William Alvord, from 1871 to 1873
- James Otis, from 1873 to 1875 (death in office)
- George Hewston, from 1875 (only served about one month)
- Andrew Jackson Bryant, from 1875 to 1879
- Isaac Smith Kalloch, from 1879 to 1881
- Maurice Carey Blake, from 1881 to 1883
- Washington Bartlett, from 1883 to 1887
- Edward B. Pond, from 1887 to 1891
- George Henry Sanderson, from 1891 to 1893
- Levi Richard Ellert, from 1893 to 1895
- Adolph Sutro, from 1895 to 1897
- James D. Phelan, from 1897 to 1902
- Eugene E. Schmitz, from 1902 to 1907
- Charles Boxton, from 1907 (for seven days)
- Edward Robeson Taylor, from 1907 to 1910
- P. H. McCarthy, from 1910 to 1912
- James Rolph, Jr., from 1912 to 1931
- Angelo Rossi, from 1931 to 1944
- Roger Lapham, from 1944 to 1948
- Elmer Robinson, from 1948 to 1956
- George Christopher, from 1956 to 1964
- John F. Shelley, from 1964 to 1968
- Joseph Lawrence Alioto, from 1968 to 1976
- George Moscone, from 1976 to 1978 (death in office)
- Dianne Feinstein, from 1978 to 1988
- Art Agnos, from 1988 to 1992
- Frank Jordan, from 1992 to 1996
- Willie Brown, from 1996 to 2004
- Gavin Newsom, from 2004 to 2011
- Edwin Mah Lee, from 2011 to 2017 (death in office)
- London Breed, from 2017 to 2018 (acting)
- Mark Farrell, from 2018 (acting)
- London Breed, from 2018 to present