 In November 2010, Gilks had to withdraw from the Scotland squad through injury.He again withdrew on 10 August 2011, hours before kick-off in a friendly against Denmark, with an ankle injury.On 15 August 2012 he made his debut for Scotland as a first-half substitute in a friendly against Australia.