The shooting was reported just after 2 p.m. near 26th Avenue and Eucalyptus Drive near Lowell High School, according to the San Francisco Police Department.
When officers arrived at the scene, they found the victim suffering from a gunshot wound. The victim was transported to a hospital with life-threatening injuries.
Police said the shooting was an isolated incident and did not involve the high school. The school was locked down as a precaution.
The incident is under investigation.