Officers responded to the area of McAllister and Fillmore streets at about 7:15 p.m. Friday on reports of shots being fired, San Francisco police Sgt. Wilfred Williams said.
Upon arrival, officers found Joshua Cameron, who had been shot by an unknown black male suspect, who is possibly in his 20s. Cameron, 18, was transported to San Francisco General Hospital, where he was pronounced dead, Williams said.
Cameron was walking southbound on Fillmore Street at McAllister Street with someone else when they were approached by the suspect who began shooting at them, and Cameron was struck by gunfire.
Alan Pringle, the chief investigator at San Francisco medical examiner's office, said Cameron was a resident of the city.
Police are seeking the public's help in locating possible witnesses. Anyone with information can contact the homicide department at (415) 553-1145, or those who wish to remain anonymous can call (415) 575-4444.