San Francisco has crime rates well above the US average, with a violent crime rate of 728 per 100,000 residents in 2023 — that's 100% above the US national average and 42% above the California state average.
Rates per 100,000 residents. Local trend approximated from FBI national curve where granular history is unavailable.
vs state and national averages, 2023
Reported offenses per 100,000 residents (2023)
Same population range (±25%). How they compare on violent crime.
Drop into any blog or site. Free, auto-updates yearly.
<iframe src="https://codeopx.com/embed/safety/california/san-francisco" width="100%" height="320" frameborder="0" style="border:1px solid #e2e8f0;border-radius:16px;max-width:520px"></iframe> <p style="font:12px/1.4 system-ui;color:#64748b">Safety data by <a href="https://codeopx.com/tools/crime-data/california/san-francisco">CodeOpx Crime Data</a></p>
Query San Francisco safety data programmatically.
GET /api/safety-score?state=california&city=san-franciscoTry it →
Crime is one piece of the puzzle. Stack up cost of living, salary, taxes, and commute to see the full picture.
Hand-curated related pages on CodeOpx.
Compare safety with nearby cities.
See how San Francisco stacks up against another US city on every offense.
Big shifts, new data drops, and city-by-city rankings — every Monday. Unsubscribe anytime.