The number of foreign visitors coming to Scotland rose to 2.5 million in the year ending March 2014, up from less than 2.2 million the previous year.
The data, from the Office for National Statistics, also shows spending by tourists was up from £1.4 billion in the year ending March 2013 to £1.6 billion the following year.
Scottish Government minister Derek Mackay said the figures show that "despite operating in a challenging environment, our tourism industry has worked hard to make Scotland a destination offering quality experiences for visitors".
He added: "There is a huge demand from long-haul tourists for holidaying in Scotland and they are clearly prepared to spend their money in our hotels, tourism attractions and restaurants."
He said 2014 is the year "Scotland welcomes the world", adding that hosting events such as the Commonwealth Games, the Ryder Cup and the MTV Europe Awards are "putting our country on the international stage".