Engines from across Surrey and Hampshire were sent to tackle the blaze in Beach Avenue during the early hours of Thursday morning
A derelict building in Camberley was "well alight" when crews arrived on the scene.
Six fire engines rushed to the blaze at three-storey Waysend House in Beach Avenue at around 5.20am on Thursday morning.
Two pumps from Camberley, two from Rushmoor, one from Woking and one from Farnham attended the blaze.
The building was 'well alight' when crews arrived on the scene
A firefighter from Camberley fire station said: "When they arrived, it was well alight."
Crews were still on the scene at 9.00am.
A spokesman for Surrey Fire and Rescue Service later said: "We were called to Waysend House in Beech Avenue, Camberley, at 5.17am and sent six fire engines and a water carrier.
"A derelict building of three floors and a basement were all on fire and has now been put out.
"No-one was hurt and an investigation is now underway to determine the cause of the blaze."