 MacDonald's contract at Morton expired in May 2013.On 5 June 2013, it was announced that MacDonald had signed with recently relegated SPL side Dundee with fellow former Morton full-back Willie Dyer.MacDonald scored his first goal for The Dees in a 5–0 win at Clyde in a pre-season friendly.