The victim, a 39-year-old man, was shot around 12:50 a.m. in the first block of Northridge Road near Dormitory Road, police said.
He was walking to his car when he was approached by three suspects, all men believed to be between 18 and 20 years old, police said.
Two of the men started shooting at him before all three ran away, police said.
The victim suffered two gunshot wounds to his right leg and was transported to San Francisco General Hospital. He is expected to survive his injuries, according to police.
The trio remained at large as of this morning, police said.