Nearly 10,000 customers of Westar Energy were affected by the outage Monday afternoon.
Authorities say a squirrel crawled into equipment at a substation, causing a transformer to blow out. A fire then broke out at the substation. Firefighters were quickly able to bring it under control.
Power was restored to the Westar customers in about one hour.