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
Sunday's Pollen for the Border region
Sunday's forecast for the Border region
Sunny spells to end Sunday and start Monday - then it's 'all change' with a quite unseasonal weather story into Tuesday