One city, one county
San Francisco is California’s only consolidated city and county: the city limits and the county boundary are identical.

A compact peninsula city on the Golden Gate, one of the densest and highest-income places in the United States.
Photo: Mariordo · CC BY-SA 4.0 · Wikimedia CommonsSan Francisco is a consolidated city and county, so its municipal and county boundaries are the same. The 2020 Census counted 873,965 residents; the Census Bureau estimates 826,079 in July 2025. With 18,629 people per square mile in 2020, it is by far the densest large city in California.
Pick an indicator to see its long-run evolution.
U.S. Census Bureau decennial censuses (historical counts as compiled from Census publications); 2010 and 2020 confirmed against Census QuickFacts. The 1850 count was lost and is not shown.
| Indicator | Value | Year and source |
|---|---|---|
| Population estimate | 826,079 | 2025 · Census Bureau, Vintage 2025 |
| Population, 2020 Census | 873,965 | 2020 · Decennial Census |
| Population, 2010 Census | 805,235 | 2010 · Decennial Census |
| Households | 363,970 | 2020–2024 · ACS 5-year |
| Population per square mile | 18,629.1 | 2020 · Census Bureau |
| Median household income | $140,970 | 2020–2024 · ACS 5-year |
| Residents under 18 | 13.7% | Census Bureau QuickFacts |
| Residents 65 and over | 17.6% | Census Bureau QuickFacts |
| Owner-occupied housing | 38.2% | ACS 2020–2024 |
| Median owner-occupied home value | $1,394,500 | 2020–2024 · ACS 5-year |
Comparable indicators for the city, California and the United States.
| Indicator | City | California | U.S. | Reference |
|---|---|---|---|---|
| Population, 2020 Census | 873,965 | 39,538,223 | 331,449,281 | 2020 · Census Bureau |
| Population estimate | 826,079 | 39,355,309 | 341,784,857 | 2025 · Census Bureau, Vintage 2025 |
San Francisco is California’s only consolidated city and county: the city limits and the county boundary are identical.
The Census Bureau estimates a 6.0% decline between its April 2020 estimates base (878,550) and July 2025 (826,079).
Only 13.7% of residents are under 18, while 17.6% are 65 or older.
The 1930 and 1940 censuses recorded almost identical populations: 634,394 and 634,536 residents.