The two-story garage, attached to some row homes, is at Callowhill Street and Columbus Boulevard in Northern Liberties.
It took about 45 minutes for crews to gain the upper hand.
There are no reports of injuries, but the building suffered major structural damage.
City inspectors will take a closer look today.