The city's ShotSpotter system recorded the shooting at 11:26 p.m. on Scotia Avenue, but officers arriving on the scene were unable to locate any victims, San Francisco police Sgt. Danielle Newman said.
Police were later called when the victim arrived at San Francisco General Hospital suffering from a gunshot wound, according to the sergeant.
She was last listed in stable condition and is expected to survive.
Newman said the woman did not cooperate with police investigating the shooting, leaving investigators with few details.