Firefighters were called out in the early hours when a cash machine caught fire in Scarborough.
North Yorkshire Fire Service was alerted about the fire in St Thomas Street shortly after 3.40am.
Also in news: Six sentenced after violent disorder in Scarborough
A spokesman said it was believed to have started due to an electrical fault.
He said: "The fire head been extinguished prior to the crews arrival by staff using an extinguisher.
"Our crews from Scarborough checked the unit over using a thermal image camera to ensure the fire was out."