The shooting occurred around 3:00 a.m. on the 1200 block of William Street.
The victim was able to walk to a nearby fire station where he was treated by medics and then taken to Temple University Hospital. He is listed in critical condition.
Police are looking for two masked men who fled the scene.