The explosion happened just before 9 p.m in the area of Margo Street and Pico Boulevard., but nobody was hurt.
Officials say about 7,000 power customers were affected in the neighborhoods of Echo Park, Silverlake and East Hollywood.
City power crews managed to restore power in the area overnight.
A cause for the explosion was not determined.