Leuchars near St Andrews in Fife is to become the centre of Army operations in Scotland, the Ministry of Defence has said.
Sir Michael Fallon was in Scotland and made the announcement speaking in Edinburgh.
Last year, the Government said eight military sites were to close in Scotland in the next 15 years, including MoD Caledonia in Rosyth.
Sir Michael said: “Scotland is on the frontline of defending the United Kingdom from growing threats at sea, in the air and on land.
“Our commitment to the future of defence in Scotland is underlined by increasing investment in better infrastructure for the Armed Forces, helping to keep us safe.”