Fire crews were called to Mackie Academy on Tuesday morning after a fire broke out on a school bus in the parking bay.
The bus company later removed the vehicle from the site, and the excess foam was washed away.
A spokesman for Aberdeenshire Council said: “School bus service 24, which brings pupils from the Brechin and Laurencekirk areas to Mackie Academy in Stonehaven, was affected by fire this morning.
“On arrival at the school, the driver noticed the smell of smoke.
“The pupils disembarked and on checking the vehicle the driver discovered a fire had started in the engine bay.
“The fire service was immediately called to deal with the incident, pupils were cleared from the area while it was dealt with and thankfully no-one was injured.”
The incident comes in the same week as a fire in the kitchens at Laurencekirk Primary School forced the closure of the school this week.
Schools in Kincardine and Mearns are preparing to break up for the school holidays on Friday, October 10 for two weeks.