Smoke was reported coming from the building around 1:00 p.m. at Old York Road and Church Road in Elkins Park.
Firefighters found equipment smoldering inside the substation.
Peco cut power to 2300 customers so utility crews could replace the damaged equipment.
Peco says power was fully restored to all customers by 2:05 p.m.