Career
Bain began his footballing career at Aberdeen"s Academy, and was loaned to Elgin City shortly after being promoted to the first team squad. He made his senior debut on 21 August 2010, in a 0–2 home loss against East Stirlingshire. After being released by Aberdeen in May 2011, Bain signed a one-year deal with Scottish Third Division side Alloa Athletic on 9 June.
He established himself as a first-team regular, being promoted twice in his first two seasons at the club
On 29 May 2014, Bain signed a three-year deal with Dundee. Bain made a first league appearance for Dundee in October 2014, when Kyle Letheren was injured during a pre-match exercise.
On 6 April 2015, he signed a new contract with Dundee, extending his deal with the club until 2018. Due to an injury to Allan McGregor, manager Gordon Strachan called Bain into the Scotland national football team for the first time in May 2015, ahead of a friendly with Qatar and a Union of European Football Associations Euro 2016 qualifying match with the Republic of Ireland the following month.