Six fire appliances were called to a blaze at a Moray farm steading on Thursday morning along with an incident support vehicle.
Fire and Rescue Services were called at around 9.45pm to a farm incident at Mains of Allanbuie near Keith.
A pump from the Dufftown station and another from Buckie along with a water carrier were first to arrive at the scene but a further four appliances were called in from Huntly, Aberlour, Fochabers and Elgin.
Around 30 firefighters, some using breathing apparatus, tackled the blaze and eventually brought it under control – but crews were still on the site into the early evening as damping down operations continued.
Straw bales are understood to have added to the ferocity of the fire and while it was initially feared that livestock may have been in the building that proved not to be the case. It was also feared that the blaze might spread to a nearby home and workshop.
Scottish Fire & Rescue Service station manager Willie Chisholm was the incident commander at the scene. He said: “This was a well-developed barn fire and the crews did a great job to protect a nearby workshop and house from the fire.
“We now have it under control and we are carrying out damping down operations.”