Gilmour was the only Rangers player to participate in the 2006 European under-19 Championship for Scotland who reached the final. Gilmour made a subs appearance in the final losing 2–1 to Spain. He was selected in the Scotland squad for the 2007 Under-20 World Cup Finals in Canada in a group along with Japan, Nigeria and Costa Rica.