The power cut occurred at 4.11pm, said electricity provider Ellevio.
It affected 30,092 of its customers, mainly in southern and western Stockholm.
Several metro lines were also brought to a halt for around ten minutes, reports the TT newswire, but were later able to resume traffic.
Commuters were still advised to expect knock-on delays and cancelled trains.
The problems occurred due to an electric arc flash, which is when an electrical current jumps a gap in a circuit. The device designed to prevent this from happening, an arc guard, was activated, leading to the power cut, an Ellevio spokesperson told TT.
Power returned to the area at 17:31 on Thursday evening, TT reports.