The shooting was reported at about 2:25 a.m. near the intersection of 17th and Mission streets, San Francisco police Sgt. Mike Andraychak said.
The victim, whose name is not yet being released, was taken to a hospital where he died at about 4 a.m., Andraychak said.
A black SUV-type vehicle was seen leaving the scene of the shooting, but no arrests have been made and no other suspect information was immediately available this morning, Andraychak said.
The Police Department's gang task force is assisting homicide investigators with the case, he said.