The victim, 17, was shot at about 12:30 a.m. in the courtyard of 40-03 10th St., near 40th Avenue, in the Queensbridge North Houses, according to cops.
Police said two men fled the scene on foot. No arrests have been made.
The victim was rushed to New York Hospital and her injury doesn't appear life-threatening, according to the NYPD.
It was not immediately clear if the victim was the target of the shooting, cops said.