McGregor was named as first choice goalkeeper for Scotland's Euro 2012 qualifying matches in 2010, starting the first two matches against Lithuania and Liechtenstein. In the qualifying match against the Czech Republic McGregor was given the Man of the match award even though Scotland lost 1–0. McGregor was then given the man of the match award for his performance against World and European champions Spain even though Scotland were defeated at Hampden 3–2. Spain internationalist Pablo Hernandez believed McGregor to be a world class goalkeeper and said, "He made some amazing saves, it was a fantastic performance,"