The man, who died in the shooting in the Bayview community late Friday, was a 20-year-old San Francisco resident, local TV reports quoted police as saying.
All the five men sustained injuries in the shooting, and the victim with life-threatening wound was 24 years old, according to police.
Police said the six men, who were mostly in their 20s, were standing next to each other and shot, and the law enforcement agency was investigating the incident as homicide.
No information on the suspect has been released yet.
More about: #San-Francisco