Best suburbs of San Francisco

We scored all 66 towns and communities of 10,000+ people in the San Francisco-Oakland-Fremont, CA metro area on what most people weigh when they pick a suburb: what homes cost compared with local pay, household income, poverty, commute times, education, homeownership and how many families with kids live there. Tamalpais-Homestead Valley, Hillsborough and Danville come out on top.

Ashland: #66, score 19Berkeley: #65, score 26Oakland: #64, score 26San Leandro: #63, score 27Cherryland: #62, score 30North Fair Oaks: #61, score 31San Rafael: #60, score 31East Palo Alto: #59, score 32Richmond: #58, score 32Daly City: #57, score 34Larkspur: #56, score 35Bay Point: #55, score 35San Pablo: #54, score 35El Cerrito: #53, score 37Hayward: #52, score 37Novato: #51, score 38Union City: #50, score 38Concord: #49, score 38Alameda: #48, score 39San Mateo: #47, score 39Antioch: #46, score 39Burlingame: #45, score 41Pittsburg: #44, score 41El Sobrante: #43, score 42Redwood City: #42, score 44Millbrae: #41, score 45South San Francisco: #40, score 45Half Moon Bay: #39, score 47Emeryville: #38, score 47Pinole: #37, score 47Albany: #36, score 47Walnut Creek: #35, score 47San Bruno: #34, score 48San Anselmo: #33, score 50Discovery Bay: #32, score 50San Lorenzo: #31, score 50Castro Valley: #30, score 50Pleasant Hill: #29, score 52Belmont: #28, score 54Hercules: #27, score 55Pacifica: #26, score 55Pleasanton: #25, score 55Foster City: #24, score 56Menlo Park: #23, score 56Martinez: #22, score 56Brentwood: #21, score 56Blackhawk: #20, score 57Mill Valley: #19, score 57Oakley: #18, score 58Fairview: #17, score 59Fremont: #16, score 63Moraga: #15, score 64Livermore: #14, score 64San Ramon: #13, score 66Newark: #12, score 68Clayton: #11, score 69San Carlos: #10, score 70Dublin: #9, score 70Corte Madera: #8, score 72Lafayette: #7, score 72Piedmont: #6, score 73Alamo: #5, score 74Orinda: #4, score 75Danville: #3, score 75Hillsborough: #2, score 79Tamalpais-Homestead Valley: #1, score 791. Tamalpais-Homestead Valley2. Hillsborough3. Danville4. Orinda5. Alamo6. Piedmont7. Lafayette8. Corte Madera9. Dublin10. San CarlosSan Francisco
top 10 upper half lower half San Francisco. Dot size shows population.

The top 25

#PlaceScorePopulationMedian homeHome vs incomeHousehold incomeCommutePovertyMiles away
1Tamalpais-Homestead Valley, CA7912,085$1,863,9007.7×$243,22729.3 min3.3%29
2Hillsborough, CA7911,206$2,000,000+8.0×$250,000+27.1 min5.0%39
3Danville, CA7543,302$1,681,7007.2×$232,21632.5 min3.8%58
4Orinda, CA7519,507$1,863,2007.5×$250,000+36.1 min2.2%48
5Alamo, CA7414,488$2,000,000+8.0×$250,000+29.2 min2.1%56
6Piedmont, CA7310,642$2,000,000+8.0×$250,000+31.7 min4.3%44
7Lafayette, CA7225,313$2,000,000+8.8×$228,25029.3 min2.9%51
8Corte Madera, CA729,929$1,755,2007.5×$232,76330.9 min4.6%32
9Dublin, CA7071,602$1,317,1006.1×$214,38535.9 min4.5%62
10San Carlos, CA7029,261$2,000,000+8.4×$237,47024.6 min3.3%45
11Clayton, CA6910,842$1,055,2006.0×$175,70735.5 min2.5%62
12Newark, CA6847,895$1,142,8006.8×$169,06430.6 min4.3%57
13San Ramon, CA6686,209$1,509,5007.7×$196,16134.7 min4.4%60
14Livermore, CA6483,457$1,105,6006.9×$160,77530.1 min4.9%70
15Moraga, CA6416,322$1,663,2007.7×$216,19330.6 min7.3%50
16Fremont, CA63226,442$1,403,8007.7×$181,50630.3 min5.2%62
17Fairview, CA5910,745$963,3006.5×$148,66735.0 min4.4%54
18Oakley, CA5847,583$660,2004.8×$137,67740.3 min6.1%75
19Mill Valley, CA5713,799$2,000,000+9.7×$206,21224.8 min5.9%30
20Blackhawk, CA5710,137$2,000,000+8.2×$245,20836.1 min5.6%61
21Brentwood, CA5666,607$836,6005.9×$142,49440.0 min8.3%73
22Martinez, CA5636,849$859,8006.8×$127,35528.4 min6.3%53
23Menlo Park, CA5632,713$2,000,000+9.5×$210,02523.9 min5.8%51
24Foster City, CA5632,411$1,838,2009.2×$199,14329.4 min4.1%44
25Pleasanton, CA5574,556$1,537,1008.1×$190,12434.3 min5.3%63
Show all 66 places
#PlaceScorePopulationMedian homeHome vs incomeHousehold incomeCommutePovertyMiles away
26Pacifica, CA5536,890$1,249,8007.8×$160,52327.2 min5.8%31
27Hercules, CA5526,326$769,4005.9×$129,39737.6 min5.6%45
28Belmont, CA5428,752$2,000,000+9.7×$205,29728.5 min6.9%43
29Pleasant Hill, CA5234,017$1,077,1007.4×$145,02930.2 min7.3%54
30Castro Valley, CA5065,001$1,104,6007.7×$142,77932.7 min6.7%53
31San Lorenzo, CA5029,171$847,1007.5×$112,66031.0 min4.6%49
32Discovery Bay, CA5014,911$832,0005.7×$147,11744.1 min7.4%79
33San Anselmo, CA5012,555$1,576,7009.1×$173,64130.2 min7.4%31
34San Bruno, CA4842,305$1,207,5008.5×$141,27223.7 min6.0%34
35Walnut Creek, CA4770,012$1,057,3008.1×$130,43230.6 min6.4%55
36Albany, CA4719,195$1,202,2008.3×$144,10730.8 min6.8%41
37Pinole, CA4718,543$718,6005.6×$127,71735.0 min6.9%43
38Emeryville, CA4713,251$604,8005.2×$117,09228.9 min13.8%41
39Half Moon Bay, CA4711,287$1,549,5009.8×$157,88429.3 min5.6%37
40South San Francisco, CA4564,941$1,188,8008.7×$136,57825.6 min6.7%36
41Millbrae, CA4522,869$1,934,90011.8×$163,47628.6 min6.0%36
42Redwood City, CA4482,178$1,801,70011.4×$157,81424.3 min6.3%47
43El Sobrante, CA4216,294$758,8006.6×$114,85333.8 min11.4%43
44Pittsburg, CA4177,542$597,9006.0×$99,86138.0 min11.2%65
45Burlingame, CA4131,929$2,000,000+11.5×$174,00030.7 min7.1%38
46Antioch, CA39118,958$629,7006.5×$97,46542.0 min11.4%70
47San Mateo, CA39103,337$1,618,70010.5×$153,50426.1 min8.2%41
48Alameda, CA3976,876$1,235,7009.0×$137,69731.6 min7.2%42
49Concord, CA38123,261$797,6007.3×$108,70932.6 min8.2%59
50Union City, CA3865,282$1,104,9008.3×$133,71531.9 min7.2%56
51Novato, CA3851,947$1,032,5008.9×$115,73628.1 min9.6%36
52Hayward, CA37157,113$854,4007.5×$113,31832.3 min9.6%51
53El Cerrito, CA3726,121$1,124,4008.8×$127,87633.3 min6.9%42
54San Pablo, CA3531,678$551,7006.9×$79,47832.3 min12.6%41
55Bay Point, CA3524,231$525,0006.4×$82,56536.1 min14.4%62
56Larkspur, CA3512,620$1,996,60014.2×$140,41727.5 min7.0%31
57Daly City, CA34101,261$1,115,0009.0×$123,54728.8 min7.7%31
58Richmond, CA32114,861$668,2007.0×$95,39134.2 min13.5%40
59East Palo Alto, CA3228,872$1,102,6009.7×$113,49323.7 min10.3%52
60San Rafael, CA3159,410$1,355,60011.4×$119,43525.3 min11.7%34
61North Fair Oaks, CA3113,100$1,276,90012.2×$104,88422.1 min13.0%49
62Cherryland, CA3014,143$668,8007.7×$86,41831.0 min9.7%51
63San Leandro, CA2785,353$844,2008.3×$101,42031.2 min8.3%48
64Oakland, CA26440,838$929,9009.2×$101,60029.8 min13.4%44
65Berkeley, CA26121,911$1,413,90013.1×$108,09227.8 min17.3%41
66Ashland, CA1922,210$775,8009.5×$81,70232.7 min16.4%50

Most affordable homes

  1. Oakley 4.8 years of income, $660,200
  2. Emeryville 5.2 years of income, $604,800
  3. Pinole 5.6 years of income, $718,600
  4. Discovery Bay 5.7 years of income, $832,000
  5. Brentwood 5.9 years of income, $836,600

Most families with kids

  1. Piedmont 47.6% of households
  2. Bay Point 47.2% of households
  3. Dublin 45.4% of households
  4. Brentwood 43.9% of households
  5. San Ramon 43.8% of households

How the score works

For each measure we rank the 66 places from worst to best within this metro area, then combine the ranks with these weights: home value compared with household income (20%), household income (15%), poverty rate (15%), average commute (15%), share of adults with a bachelor's degree (10%), homeownership (10%), households with children (10%) and population growth since 2020 (5%). Unincorporated communities have no official growth estimate, so they get the middle value for that part. A score of 100 would mean first on every measure.

Everything comes from the Census Bureau: the American Community Survey 2020-2024 and the 2025 population estimates. We leave out crime and school ratings because comparable official data for every town does not exist; check local school district and police data for the places on your shortlist.

Frequently asked questions

What are the best suburbs of San Francisco?

On our data-only score, Tamalpais-Homestead Valley, Hillsborough and Danville rank highest among 66 places of 10,000+ people in the San Francisco-Oakland-Fremont, CA metro area.

What is the most affordable suburb of San Francisco?

Oakley has the lowest ratio of median home value to household income (4.8 years), with a median home of $660,200.

Which San Francisco suburb has the shortest commute?

North Fair Oaks, where the average commute is 22.1 minutes each way.

Back to the San Francisco city profile, or see the best suburbs of other big cities.

Places are incorporated cities, towns and villages plus census-designated places with 10,000 or more residents, assigned to the metro area by county (OMB 2023 delineations). Distances are straight lines from the center of San Francisco. The Census Bureau caps published medians at $250,000 for income and $2,000,000 for home values, shown with a plus sign.