The 10 Most Dangerous And Worst Neighborhoods In San Francisco, CA

The most dangerous and worst San Francisco neighborhoods are Bayview and Visitacion Valley for 2026 based on Saturday Night Science.

San Francisco’s neighborhoods conjure up too many stereotypes to count. You’ve got hipster areas, preppy places, neighborhoods where college kids thrive, and of course, ghettos.

It seems as if there’s a neighborhood for everyone in San Francisco.

And while the city consistently ranks as one of the best places to live in California thanks in part to tons of entertainment and jobs, it’s not all rainbows and sunshine in San Francisco. Some neighborhoods aren’t as safe as others.

So the question arises, which San Francisco neighborhoods are the most dangerous and which are the safest?

Today, we’ll use Saturday Night Science to determine which San Francisco hoods need a little tender loving care. We examined 34 of San Francisco’s neighborhoods to find out the most dangerous places to live.

1

No. 1 worst neighborhood in San Francisco

Bayview, CA

22,475 people
$90,666 median income
Located in San Francisco County, California
Median home value +5% vs CA
$809,839
CA $775k
Median income -9% vs CA
$90,666
CA $99k
2

No. 2 worst neighborhood in San Francisco

Visitacion Valley, CA

21,563 people
$74,577 median income
Located in San Francisco County, California
Median home value +8% vs CA
$835,962
CA $775k
Median income -25% vs CA
$74,577
CA $99k
3

No. 3 worst neighborhood in San Francisco

North Beach, CA

6,775 people
$49,026 median income
Located in San Francisco County, California
Median home value +69% vs CA
$1,309,850
CA $775k
Median income -51% vs CA
$49,026
CA $99k
4

No. 4 worst neighborhood in San Francisco

Lakeshore, CA

4,596 people
$102,761 median income
Located in San Francisco County, California
Median home value +73% vs CA
$1,341,175
CA $775k
Median income +4% vs CA
$102,761
CA $99k
5

No. 5 worst neighborhood in San Francisco

Ocean View, CA

30,618 people
$78,895 median income
Located in San Francisco County, California
Median home value -12% vs CA
$678,568
CA $775k
Median income -20% vs CA
$78,895
CA $99k
5

No. 5 worst neighborhood in San Francisco

Downtown, CA

19,497 people
$76,499 median income
Located in San Francisco County, California
Median home value +47% vs CA
$1,135,756
CA $775k
Median income -23% vs CA
$76,499
CA $99k
7

No. 7 worst neighborhood in San Francisco

Castro-Upper Market, CA

21,884 people
$127,427 median income
Located in San Francisco County, California
Median home value +38% vs CA
$1,067,308
CA $775k
Median income +29% vs CA
$127,427
CA $99k
8

No. 8 worst neighborhood in San Francisco

Outer Mission, CA

11,675 people
$103,917 median income
Located in San Francisco County, California
Median home value +15% vs CA
$888,962
CA $775k
Median income +5% vs CA
$103,917
CA $99k
9

No. 9 worst neighborhood in San Francisco

Excelsior, CA

25,088 people
$86,292 median income
Located in San Francisco County, California
Median home value +16% vs CA
$900,731
CA $775k
Median income -13% vs CA
$86,292
CA $99k
10

No. 10 worst neighborhood in San Francisco

Outer Sunset, CA

18,347 people
$121,072 median income
Located in San Francisco County, California
Median home value +32% vs CA
$1,023,558
CA $775k
Median income +22% vs CA
$121,072
CA $99k

The receipts

Compare the top ten

Pick a metric. The bars rescale. The red line is California’s statewide median.

City Median home value vs CA
1 Bayview $809,839 +5%
2 Visitacion Valley $835,962 +8%
3 North Beach $1,309,850 +69%
4 Lakeshore $1,341,175 +73%
5 Ocean View $678,568 -12%
5 Downtown $1,135,756 +47%
7 Castro-Upper Market $1,067,308 +38%
8 Outer Mission $888,962 +15%
9 Excelsior $900,731 +16%
10 Outer Sunset $1,023,558 +32%

California statewide median: $774,582

City Median income vs CA
1 Bayview $90,666 -9%
2 Visitacion Valley $74,577 -25%
3 North Beach $49,026 -51%
4 Lakeshore $102,761 +4%
5 Ocean View $78,895 -20%
5 Downtown $76,499 -23%
7 Castro-Upper Market $127,427 +29%
8 Outer Mission $103,917 +5%
9 Excelsior $86,292 -13%
10 Outer Sunset $121,072 +22%

California statewide median: $99,122

City Population vs CA
1 Bayview 22,475
2 Visitacion Valley 21,563
3 North Beach 6,775
4 Lakeshore 4,596
5 Ocean View 30,618
5 Downtown 19,497
7 Castro-Upper Market 21,884
8 Outer Mission 11,675
9 Excelsior 25,088
10 Outer Sunset 18,347

Saturday Night Science

Methodology: How we determined the most dangerous San Francisco neighborhoods in 2026

To figure out how bad a place is to live in, we only needed to know what kinds of things people like and then decide what places have the least amount of those things. We plugged the following criteria into Saturday Night Science to get the worst neighborhoods in San Francisco:

  • High crime (Estimated)
  • High unemployment (Less jobs)
  • Low median income (Less pay)
  • Low population density (No things to do)
  • Low home values (No one’s willing to pay to live here)

Then, we ranked each neighborhood in San Francisco, California for each of these criteria from worst to best.

Next, we averaged the individual rankings for each criterion into a “Worst Score.”

The neighborhood with the lowest “Worst Score” ranks as the most dangerous neighborhood of San Francisco.

The article is an opinion based on facts and is meant as infotainment. We updated this article for 2026. Skip to the end to see the list of all 34 neighborhoods ranked from worst to best.

The full plate

Most dangerous neighborhoods to live in San Francisco for 2026

Click any column to sort. Search by neighborhood name.

RankNeighborhoodPopulationHome ValueMedian Income
1Bayview22,475$809,839$90,666
2Visitacion Valley21,563$835,962$74,577
3North Beach6,775$1,309,850$49,026
4Lakeshore4,596$1,341,175$102,761
5Ocean View30,618$678,568$78,895
5Downtown19,497$1,135,756$76,499
7Castro-Upper Market21,884$1,067,308$127,427
8Outer Mission11,675$888,962$103,917
9Excelsior25,088$900,731$86,292
10Outer Sunset18,347$1,023,558$121,072
11Western Addition11,227$900,512$77,757
12Financial District3,915$1,564,881$104,669
12Potrero Hill11,617$1,225,156$180,007
14Crocker Amazon13,076$933,325$92,029
15Seacliff1,429$1,346,400$134,269
16South Of Market28,489$1,032,286$131,546
17Mission59,096$1,264,405$142,907
18West Of Twin Peaks21,375$1,095,080$153,714
19Parkside18,914$1,182,169$116,184
20Twin Peaks3,830$1,359,633$159,190
21Outer Richmond16,587$1,382,200$111,188
22Chinatown6,383$1,439,650$37,799
23Diamond Heights3,183$1,040,967$151,943
24Marina13,099$1,635,620$174,122
25Nob Hill17,902$1,403,934$111,424
26Bernal Heights27,627$1,230,414$143,080
27Haight-Ashbury11,856$1,324,689$143,447
28Glen Park9,165$1,403,600$169,820
29Inner Sunset17,334$1,364,986$130,238
30Inner Richmond19,022$1,614,046$142,263
31Russian Hill14,756$1,452,611$164,460
32Noe Valley16,095$1,714,572$185,103
33Presidio Heights4,672$2,000,001$169,878
34Pacific Heights19,649$1,749,956$172,749

Source: U.S. Census ACS 2020-2024. All 34 San Francisco neighborhoods.

Summary

Summary: The worst neighborhoods around San Francisco

Well, there you have it — the worst of the neighborhoods in San Francisco with Bayview landing at the bottom of the pack.

The worst neighborhoods in San Francisco are Bayview, Visitacion Valley, North Beach, Lakeshore, Ocean View, Downtown, Castro-Upper Market, Outer Mission, Excelsior, and Outer Sunset.

As mentioned earlier, the neighborhoods in San Francisco aren’t all bad. Pacific Heights takes the cake as the best place to live in San Francisco.

We ranked the neighborhoods from worst to best in the chart below. Not sold on California? Take the two-minute Find Your Place quiz and see which state actually fits you.

Questions and answers

Worst Neighborhoods In San Francisco FAQs

What is the most dangerous neighborhood in San Francisco?

Bayview ranks as the worst neighborhood in San Francisco for 2026, according to Saturday Night Science. Visitacion Valley and North Beach are next on the list.

What are the worst neighborhoods in San Francisco?

The worst-ranked neighborhoods in San Francisco are Bayview, Visitacion Valley, North Beach, Lakeshore, Ocean View, Downtown, Castro-Upper Market, Outer Mission, Excelsior, and Outer Sunset. We scored all 34 neighborhoods in the city.

Why does Bayview rank as the worst?

Bayview posts the roughest combined numbers in San Francisco: a median household income of $90,666 and a median home value of $809,839, with crime, unemployment, and density folded into the score.

Are these neighborhoods dangerous everywhere?

No. The scores are neighborhood-wide averages, and conditions change block by block and hour by hour. Plenty of people live in these neighborhoods without incident; the numbers just say the odds run tougher.

How do you rank the worst neighborhoods?

Each neighborhood is scored on crime, unemployment, income, density, and home values, using Census tract and FBI data. The worst combined score tops the list.

Nick Johnson
About the author

Nick Johnson earned his masters in Business Administration from the Drucker School At Claremont Graduate University. He has written for 39 publications across the country and ran the media relations department at Movoto, a real estate portal based in San Francisco. He has been featured in over 500 publications as an expert in real estate and as an authority on real estate trends.

Nick's the creator of the HomeSnacks YouTube channel that now has over 900,000 subscribers and is an excellent source to learn about different parts of the country.

Get the SnackPack →