Exports rose by £293 million in 2018, a 4.9 per cent increase year on year, according to HMRC figures.
Whisky accounted for three-quarters of Scotland’s total, up by 7.8 per cent to £4.7bn, which offset a slight decrease across other sectors.
Food exports have grown 125 per cent since 2007.
Around two-thirds of food exports go to the European Union.
James Withers, chief executive of trade industry association Scotland Food and Drink, said: “The latest figures demonstrate how valuable the EU market is. Our future strategy must rest on building our trade with Europe even further.
“That will strengthen the platform from which we can then continue the remarkable export growth momentum across North America, Asia and the Middle East.”