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
Deputy First Minister says new curriculum inform based on teachers judgement is "reliable".
Police Scotland say it has received numerous reports of collisions due to 'treacherous' driving conditions on the A75.
A wintry forecast for the Border region.