Around 60 soldiers from the Royal Scots Borderers, 1st Battalion the Royal Regiment of Scotland (1 Scots), will be home in time for Christmas.
The soldiers are returning from Afghanistan three months early and will spend the rest of their tour carrying out duties in Edinburgh.
Their early return home comes as part of the plans to reduce troop numbers in the country from 9,500 to 9,000.
Soldiers from 1 Scots were sent to Helmand Province in September, where they have been working with the Afghan army.
More top news
Our autumnal theme continues. But for how long?
A look ahead at the forecast for the Border region.
From Carlisle to the cobbles: Meet Corrie's new bad boy