The 2012–13 Scottish Cup was the 128th season of Scotland's most prestigious football knockout competition. The tournament began on 4 August 2012 and ended on 26 May 2013. It was sponsored by bookmaker William Hill in the second season of a three-year partnership and is known as the William Hill Scottish Cup. The winner of the competition qualified for the third qualifying round of the 2013–14 UEFA Europa League. The holders Hearts were knocked out by their Edinburgh rivals Hibernian in the fourth round, in a repeat of the previous season's final.