The shooting was reported around 10 p.m. in the 1100 block of Palou Avenue.
Someone in a white vehicle drove by the teen and fired several shots, one of which struck him in the left arm, according to police.
The teen was taken to San Francisco General Hospital to be treated for his injuries, which were not life-threatening, police said.
No arrests had been made in connection with the shooting as of Monday morning.
Anyone with information about the case is asked to call the Police Department's anonymous tip line at (415) 575-4444 or send a tip by text message to TIP411.