San Francisco skyline seen from the Golden Gate Bridge
Official flag of the City and County of San Francisco
City in California

San Francisco

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 Commons

San 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.

Key indicators

Population
826,079
July 2025 estimate · Census Bureau
2020 Census population
873,965
April 2020 · Census Bureau
Households
363,970
ACS 2020–2024
Population density
18,629 /mi²
2020 · Census Bureau
Median household income
$140,970
ACS 2020–2024 · 2024 dollars
Foreign-born residents
34.0%
ACS 2020–2024
Asian residents
35.2%
Asian alone · Census Bureau QuickFacts
Hispanic or Latino residents
16.2%
ACS 2020–2024
Owner-occupied housing
38.2%
ACS 2020–2024 · Census Bureau
Median owner-occupied home value
$1,394,500
ACS 2020–2024 · Census Bureau

Historical data

Pick an indicator to see its long-run evolution.

Population · decennial census

1860–2020
873,965▲ 1439%

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.

Data summary

IndicatorValueYear and source
Population estimate826,0792025 · Census Bureau, Vintage 2025
Population, 2020 Census873,9652020 · Decennial Census
Population, 2010 Census805,2352010 · Decennial Census
Households363,9702020–2024 · ACS 5-year
Population per square mile18,629.12020 · Census Bureau
Median household income$140,9702020–2024 · ACS 5-year
Residents under 1813.7%Census Bureau QuickFacts
Residents 65 and over17.6%Census Bureau QuickFacts
Owner-occupied housing38.2%ACS 2020–2024
Median owner-occupied home value$1,394,5002020–2024 · ACS 5-year

San Francisco in context

Comparable indicators for the city, California and the United States.

IndicatorCityCaliforniaU.S.Reference
Population, 2020 Census873,96539,538,223331,449,2812020 · Census Bureau
Population estimate826,07939,355,309341,784,8572025 · Census Bureau, Vintage 2025

Did you know? San Francisco

One city, one county

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

Fewer residents than in 2020

The Census Bureau estimates a 6.0% decline between its April 2020 estimates base (878,550) and July 2025 (826,079).

A city with few children

Only 13.7% of residents are under 18, while 17.6% are 65 or older.

A decade with no growth

The 1930 and 1940 censuses recorded almost identical populations: 634,394 and 634,536 residents.

Sources and methodology