Every City in the USA

Demographics · CA

San Francisco, CA demographics.

San Francisco, CA demographics: 830,235 residents, with a median age of 40.0 years, from the U.S. Census Bureau's American Community Survey 2020–2024 (5-year estimates).

830,235 people live in San Francisco, at a median age of 40.0 years (American Community Survey 2020–2024, a 5-year average)

Median age 40.0 years — older than the U.S. median of 38.9.

ACS 2020–2024 5-year · ACS 5-Year Estimates 2020-2024 (released 2026-01-29)

In San Francisco, the largest race group is White (39.1%); 16.2% of residents are Hispanic or Latino (of any race); 34.0% were born outside the United States.

ACS 2020–2024 · B01001 / B01002

How old is San Francisco?

The median age in San Francisco is 40.0 years (±0.1), older than the U.S. median of 38.9 years. The population is 51.3% male and 48.7% female. The largest age band is 25 to 34 at 20.6%.

Age band People Share ± margin
Under 5 34,146 4.1% ±142
5 to 17 79,362 9.6% ±1,533
18 to 24 54,969 6.6% ±930
25 to 34 170,861 20.6% ±219
35 to 44 135,980 16.4% ±2,226
45 to 54 108,850 13.1% ±211
55 to 64 99,557 12.0% ±2,150
65 to 74 82,379 9.9% ±1,795
75 and over 64,131 7.7% ±1,677

Median age by sex: 39.8 (male) · 40.2 (female).

Source: U.S. Census Bureau, ACS 5-Year 2020–2024 (B01001 sex by age, B01002 median age) · place-grain · margins of error at the 90% confidence level · methodology →

ACS 2020–2024 · B02001 / B03003

What is the racial and ethnic makeup of San Francisco?

The largest race group in San Francisco is White at 39.1% of the population. Separately, 16.2% of residents are Hispanic or Latino of any race. Race and Hispanic origin are two different questions on the census form, so their shares are reported separately and are not additive.

Race (alone, or two or more) People Share ± margin
White alone 324,342 39.1% ±1,791
Black or African American alone 41,333 5.0% ±1,305
American Indian & Alaska Native alone 6,059 0.7% ±1,124
Asian alone 292,167 35.2% ±1,796
Native Hawaiian & Pacific Islander alone 2,928 0.4% ±425
Some other race alone 64,878 7.8% ±2,869
Two or more races 98,528 11.9% ±3,218
Hispanic or Latino (of any race) 134,659 16.2% n/a

Source: U.S. Census Bureau, ACS 5-Year 2020–2024 (B02001 race, B03003 Hispanic or Latino origin) · place-grain · margins of error at the 90% confidence level · methodology →

ACS 2020–2024 · B11001 / B25010

How many households are in San Francisco?

San Francisco has 363,970 households. 46.3% are family households and 38.8% are people living alone. The average household holds 2.21 people.

Total households

363,970

ACS 2020–2024 5-yr · B11001

Avg household size

2.21

ACS 2020–2024 5-yr · B25010 · ±0.01

Family households

46.3%

Share of all households · B11001

Living alone

38.8%

Share of all households · B11001

Household type Households ± margin
Total households 363,970 ±1,953
Family households 168,501 ±2,260
Nonfamily households 195,469 ±2,347
Householder living alone 141,320 ±2,269

Source: U.S. Census Bureau, ACS 5-Year 2020–2024 (B11001 household type, B25010 average household size) · place-grain · methodology →

ACS 2020–2024 · B05002 / C16001

Where are San Francisco residents from?

34.0% of San Francisco residents were born outside the United States. 56.4% of residents age 5 and over speak only English at home. The most-spoken non-English language at home is Chinese (incl. Mandarin, Cantonese) (17.5%).

Measure Value Source / grain
Foreign-born share 34.0% 282,674 people · B05002
Speak only English at home (age 5+) 56.4% C16001
Top non-English language at home 17.5% Chinese (incl. Mandarin, Cantonese) · 139,427 speakers · C16001

Source: U.S. Census Bureau, ACS 5-Year 2020–2024 (B05002 place of birth, C16001 language spoken at home) · place-grain · methodology →

ACS 2020–2024 · B15003

What share of San Francisco has a college degree?

60.3% of adults age 25 and over in San Francisco hold a bachelor's degree or higher (the U.S. share is about 35%).

Measure Value Source / grain
Bachelor's degree or higher (age 25+) 60.3% B15003 lines 22–25 over line 1 · place-grain

Source: U.S. Census Bureau, ACS 5-Year 2020–2024 (B15003 educational attainment, population 25+) · place-grain · methodology →

Sources · provenance

Datasets on this page.

The GEOID for San Francisco is 0667000. Every figure on this page is a place-grain American Community Survey 5-Year 2020–2024 estimate (ACS 5-Year Estimates 2020-2024 (released 2026-01-29)) shown with its margin of error. Full per-dataset detail: /sources/.