Investigators say the suspect opened fire on the 13-year-old boy about 11:45 on Monday night.
The young victim was on the 1900 block of Hoffman Street in South Philadelphia.
He is in stable condition at Children's Hospital of Philadelphia with a gunshot wound to the leg.
So far, police have not indicated if they have any motives of suspects.