The shooting was reported at about 10:15 p.m. outside 32 Blythdale Ave. in the city's Visitacion Valley neighborhood.
Police found Mark Crawford on the pavement suffering from multiple gunshots. He was pronounced dead at the scene.
Crawford had a San Francisco address, according to the medical examiner's office, but police spokesman Sgt. Wilfred Williams said he had recently moved out of the city to another part of the Bay Area.
No suspect information was immediately available, and no arrests were made.
The shooting marks the 13th homicide reported this year by San Francisco police, including one that occurred last year but was not ruled a homicide until earlier this year.