Named Quarry Studios, the project was hailed by the jury for being "a high quality and tactile building that is full of detail".
Awarded by the Royal Incorporation of Architects in Scotland (RIAS), the Andrew Doolan Best Building in Scotland Award is an annual honour with a prize of £10,000.
Moxon Architects' design was also praised for the way it has transformed a former rubbish tip into a natural landscape to be enjoyed by both nature and the community.
"Moxon Architects have designed a building that is highly sustainable – not only in terms of its carbon footprint and support for local biodiversity, but also in how it acts as a catalyst for supporting local businesses and its community," reflected architect Amin Taha who served as chair of this year's jury.
"Quarry Studios by Moxon Architects finds ways to regenerate what was brownfield back into the landscape while creating community resource and a self-developed place of work," added the RIAS president Christ Stewart.
Quarry Studios is a low-lying building on the site of a former quarry surrounded by woodland, which had more recently been used as a rubbish tip.
It contains Moxon Architects' own office space, which is linked to a cafe for visitors to the Cairngorms National Park by a sheltered walkway.
The studio's ambition for the project was for it to form part of the landscape, encouraging wildlife to take back over the site, while also taking advantage of its scenic surroundings.
This is achieved in part through the use of natural and simple materials, such as local Douglas fir, chosen to help blend in with the surrounding trees.
The Andrew Doolan Best Building in Scotland Award is named after Scottish architect Andrew Doolan, who passed away in 2004. It is awarded annually to buildings of all typologies.
Quarry Studios was chosen for this year's award ahead of four other shortlisted projects, which were featured in a series of videos produced by Stephenson& and published by Dezeen with RIAS to document the shortlist ahead of the winner's announcement.
Previous winners of the Andrew Doolan Best Building in Scotland Award include The Macallan Distillery and Visitor Experience by Rogers Stirk Harbour + Partners, Nucleus by Reiach and Hall Architects and the Maggie's Cancer Care Centre in Glasgow by OMA.