The honest answer? You'll probably be fine. You'll also probably be bored out of your mind.
Let's separate the two issues, because they're both real. On safety: downtown SF late at night isn't the warzone that viral Twitter clips suggest, but it's not exactly a stroll through the Presidio either. Violent street crime targeting random pedestrians remains relatively uncommon compared to cities in Latin America or even some other American metros. The bigger concern is property crime — smash-and-grabs, opportunistic phone snatches, the stuff that happens when someone's stumbling out of a bar at last call not paying attention.
The more interesting problem is that San Francisco has a nightlife ceiling, and it's painfully low. Last call at bars is 2 AM. There's an assembly bill in Sacramento that would push weekend closing time to 4 AM in certain areas, but anyone who's watched California's legislative sausage-making knows "in process" can mean "in purgatory." As one local put it bluntly: "San Francisco isn't NYC — it's not a 24/7 city. There is nothing to do from 2-3 AM downtown but get into trouble."
Another SF resident offered a grimly amusing portrait of the late-night landscape: by 2-3 AM, "they're power washing the sidewalks." That's your competition for the streets — Caltrans crews and cleaning equipment.
This is a city that should have a thriving late-night economy. We have the density, the tourism, the cultural capital, and frankly, the tax revenue incentive. But decades of restrictive licensing, noise complaints weaponized by NIMBYs, and a city government more interested in regulating fun than enabling it have left us with a downtown that essentially shuts off at midnight.
For a city that fancies itself world-class, that's embarrassing. We'll spend billions on transit infrastructure people are afraid to ride after dark, but we can't figure out how to keep the lights on past last call.
So to any visitors calibrating expectations: you're unlikely to get mugged. You're very likely to find yourself standing on a deserted Market Street at 1:30 AM wondering where everyone went.
The answer is home. They went home. Because San Francisco told them to.

