Hundreds of homes in Troon suffered a power cut on Tuesday night.
STV viewers in town, which has a population of just under 15,000, reported lights flickering at around 7.20pm before a loss of power.
A spokeswoman for Scottish Power said: "Two to three hundred customers are off-supply after a fault at Troon's main sub-station."
Engineers were said to be investigating the problem and the company hoped to have power fully restored as quickly as possible but "it was too early to say when the supply will go back on".
Some residents claimed to have heard an explosion immediately before the power cut, which the spokeswoman explained may have been industrial fuses blowing at the substation.
The company apologised for any inconvenience caused by the loss of supply.
Feedback: We want your feedback on our site. If you've got questions, spotted an inaccuracy or just want to share some ideas about our news service, please email us on email@example.com.
Download: The STV News app is Scotland's favourite and is available for iPhone from the Apple store and for Android from Google Play. Download it today and continue to enjoy STV News wherever you are.
People who read this story also read
- Scots taekwon-do champion dies after heart attack during session
- Arrest after woman delegate found dead at HIV conference at SECC
- Award-winning primary school closed after structural faults found
- Man denies murdering his grandmother at home with blunt instrument
- Rangers pay tribute to soldier who was shot dead in Afghanistan