Mayor of San Francisco

The **Mayor of the City and County of San Francisco** is the head of the executive branch of the San Francisco city and county government.

## List of mayors

|align=center|#|Image|Mayor|Term start|Term end|colspan="2" class="unsortable"|Party||||
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|align=center|1|||align=center||align=center||bgcolor=||Independent|
|align=center|2|||align=center||align=center||bgcolor=||Whig|
|align=center|3|||align=center||align=center||bgcolor=||Democratic|
|align=center|4|||align=center||align=center||bgcolor=||Whig|
|align=center|5|||align=center||align=center||bgcolor=||Whig|
|align=center|6|||align=center||align=center||bgcolor=||Know Nothing|
|align=center|7|||align=center||align=center||bgcolor=||Democratic|
|align=center|8|||align=center||align=center||bgcolor=||American|
|align=center|9|||align=center||align=center||bgcolor=||American|
|align=center|10|||align=center||align=center||bgcolor=||Populist|
|align=center|11|||align=center||align=center||bgcolor=||Populist|
|align=center|12|||align=center||align=center||bgcolor=||Democratic|
|align=center|13|||align=center||align=center||bgcolor=||Republican|
|align=center|14|||align=center||align=center||bgcolor=||Republican|
|align=center|15|||align=center||align=center||bgcolor=||Populist|
|align=center|16|||align=center||align=center||bgcolor=||Democratic|
|align=center|17|||align=center||align=center||bgcolor=||Populist|
|align=center|18|||align=center||align=center||bgcolor=||Workingmen's|
|align=center|19|||align=center||align=center||bgcolor=||Republican|
|align=center|20|||align=center||align=center||bgcolor=||Democratic|
|align=center|21|||align=center||align=center||bgcolor=||Democratic|
|align=center|22|||align=center||align=center||bgcolor=||Republican|
|align=center|23|||align=center||align=center||bgcolor=||Republican|
|align=center|24|||align=center||align=center||bgcolor=||Populist|
|align=center|25|||align=center||align=center||bgcolor=||Democratic|
|align=center|26|||align=center||align=center||bgcolor=||Union Labor|
|align=center|27|||align=center||align=center||bgcolor=||Union Labor|
|align=center|28|||align=center||align=center||bgcolor=||Democratic|
|align=center|29|||align=center||align=center||bgcolor=||Union Labor|
|align=center|30|||align=center||align=center||bgcolor=||Republican|
|align=center|31|||align=center||align=center||bgcolor=||Republican|
|align=center|32|||align=center||align=center||bgcolor=||Republican|
|align=center|33|||align=center||align=center||bgcolor=||Republican|
|align=center|34|||align=center||align=center||bgcolor=||Republican|
|align=center|35|||align=center||align=center||bgcolor=||Democratic|
|align=center|36|||align=center||align=center||bgcolor=||Democratic|
|align=center|37|||align=center||align=center||bgcolor=||Democratic|
|align=center|38|||align=center||align=center||bgcolor=||Democratic|
|align=center|39|||align=center||align=center||bgcolor=||Democratic|
|align=center|40|||align=center||align=center||bgcolor=||Democratic|
|align=center|41|||align=center||align=center||bgcolor=||Democratic|
|align=center|42|||align=center||align=center||bgcolor=||Democratic|
|align=center|43|||align=center||align=center||bgcolor=||Democratic|
|align=center|44|||align=center||align=center||bgcolor=||Democratic|
|align=center|45|||align=center||align=center||bgcolor=||Democratic|
|align=center|46|||align=center||align=center|Incumbent|bgcolor=||Democratic|

## Infobox (political post)

- **post**: Mayor
- **body**: the
City and County of
San Francisco
- **insignia**: Seal of San Francisco.svg
- **insigniasize**: 100px
- **insigniacaption**: Seal of San Francisco
- **image**: Daniel Lurie Headshot.jpg
- **incumbent**: Daniel Lurie
- **incumbentsince**: January 8, 2025
- **department**: Government of San Francisco
- **style**: His Honor
 Mr. Mayor
- **termlength**: Four years, renewable once
- **residence**: No official residence
- **formation**: 1850
- **inaugural**: John W. Geary
- **website**: [https://sfmayor.org/ Office of the Mayor]
- **flag**: Flag of San Francisco, California.svg
- **flagcaption**: Flag of San Francisco