City figures · Side by side

Sunnyvale vs. Palo Alto.
Side by side.

This page sets the official housing figures that our Sunnyvale and Palo Alto neighborhood pages both print side by side, counted the same way.

From our Sunnyvale neighborhoods page. “Sunnyvale's neighborhoods are defined largely by the city's registry … here they are grouped into North Sunnyvale, the downtown and central core between the Caltrain line and El Camino Real, and the residential southern half…”

From our Palo Alto neighborhoods page. “…older homes from the 1890s through the 1930s concentrated north of Oregon Expressway and much of the area to the south built in the two decades after World War II.”

See the figures ↓

What this page compares

  • Housing units
  • Share of units that are single detached
  • Median year built
  • Median rooms per home
  • Square miles of land inside the city limit
  • Housing units per square mile of land
  • Building type, era built, bedrooms and rooms

Figures describe the housing stock, not any one property or neighborhood.

01 · At a glance

The official figures,
side by side.

SunnyvalePalo Alto
Housing unitsJanuary 1, 2026, provisional · California Department of Finance
Sunnyvale65,652Housing units in Sunnyvale
Palo Alto29,876Housing units in Palo Alto
Share of units that are single detachedJanuary 1, 2026, provisional · California Department of Finance
Sunnyvale34.1%Share of units that are single detached
Palo Alto55.7%Share of units that are single detached
Median year builtACS 2020–2024 5-year estimates · U.S. Census Bureau
Sunnyvale1976margin ±1
Palo Alto1963margin ±2
Median rooms per homeACS 2020–2024 5-year estimates, tables B25017 and B25018 · U.S. Census Bureau
Sunnyvale4.3 ±0.2Median rooms per home, Sunnyvale
Palo Alto5.1 ±0.1Median rooms per home, Palo Alto
Square miles of land inside the city limitU.S. Census Bureau, 2026 Gazetteer Files
Sunnyvale22.1Square miles of land inside the city limit
Palo Alto24.1Square miles of land inside the city limit
Housing units per square mile of landDepartment of Finance units for January 1, 2026 (provisional) divided by that land area
Sunnyvale2,976Housing units per square mile of land
Palo Alto1,242Housing units per square mile of land

Sunnyvale has 65,652 housing units and Palo Alto has 29,876, 35,776 apart (January 1, 2026, provisional). Single detached units are 34.1% of all housing units in Sunnyvale and 55.7% in Palo Alto, 21.6 percentage points apart. Land inside the city limit is 22.1 square miles in Sunnyvale and 24.1 in Palo Alto, 2.0 square miles apart. Housing units per square mile of land are 2,976 in Sunnyvale and 1,242 in Palo Alto, 1,734 apart. The median year built is 1976 (margin ±1) in Sunnyvale and 1963 (margin ±2) in Palo Alto; these are survey estimates, so this page does not subtract them.

02 · The housing stock

Building type, age
and size.

Homes by building type · share of housing units

SunnyvalePalo Alto

Single detached34.1%55.7%
Single attached10.8%5.2%
Two to four units7.8%6.4%
Five or more units41.8%32.4%
Mobile homes5.6%0.3%

Sunnyvale in black, Palo Alto in gray. Shares of all housing units, January 1, 2026 (provisional), rounded to one decimal. California Department of Finance, Report E-5

Homes by era built · share of housing units

SunnyvalePalo Alto

Built 1949 or earlier4.1% ±0.621.6% ±1.6
Built 1950 to 196936.0% ±1.437.2% ±2.3
Built 1970 to 198929.6% ±1.618.5% ±1.8
Built 1990 or later30.3% ±1.622.6% ±1.9

Sunnyvale in black, Palo Alto in gray. Estimates shown with margins of error at the 90 percent level. ACS 2020–2024 5-year estimates · U.S. Census Bureau

Homes by bedroom count · share of housing units

SunnyvalePalo Alto

0–1 bedroom25.2% ±1.621.0% ±1.9
2 bedrooms28.8% ±1.623.7% ±1.8
3 bedrooms29.3% ±1.424.4% ±1.5
4 bedrooms13.6% ±0.822.4% ±1.9
5 or more bedrooms3.1% ±0.58.5% ±1.1

Sunnyvale in black, Palo Alto in gray. Estimates shown with margins of error at the 90 percent level. ACS 2020–2024 5-year estimates · U.S. Census Bureau

Homes by number of rooms · share of housing units

SunnyvalePalo Alto

1–3 rooms32.0% ±1.923.3% ±2.4
4–5 rooms37.7% ±1.833.3% ±2.5
6–7 rooms21.3% ±1.124.0% ±2.1
8 or more rooms9.0% ±0.819.3% ±1.7

Sunnyvale in black, Palo Alto in gray. Rooms include living and dining rooms, kitchens, bedrooms and finished rooms; bathrooms, halls, porches and unfinished spaces are not counted. Estimates shown with margins of error at the 90 percent level. ACS 2020–2024 5-year estimates, tables B25017 and B25018 · U.S. Census Bureau

03 · How we counted

Sources and method.

This page repeats the city figures that both neighborhood pages print from the same sources and in the same way: housing units and building types from the California Department of Finance (Report E-5, January 1, 2026, provisional), year built, bedrooms and rooms from the Census Bureau’s ACS 2020–2024 5-year estimates, and land area from the Census Bureau’s 2026 Gazetteer Files. Differences are worked out between two printed figures from the same state or Census count; survey estimates are shown with their margins of error at the 90 percent level and are not subtracted. The neighborhood counts on our neighborhood pages are not repeated here: each city or town counts from its own parcel layer and definition, and those counts are not city totals. Figures describe the housing stock, not any one property or neighborhood. They say nothing about prices or about who lives in either place. This page sets measured figures side by side.

Sources: California Department of Finance, Report E-5 (January 1, 2026, provisional); U.S. Census Bureau, ACS 2020–2024 5-year estimates (tables B25017 and B25018 for rooms); U.S. Census Bureau, 2026 Gazetteer Files; as printed on our Sunnyvale and Palo Alto neighborhood pages. Read December 4, 2026.

04 · Keep going

Questions about
either one?

The Property Nerds® at Compass can walk you through where each figure comes from, what it measures and what it can and can’t tell you about a particular home.