Just under 56,000 young people left school last year – the highest number since 2010.
More than 95% of them went on to positive destination such as university, college, employment, some training and voluntary work. This was slightly lower than the previous year but one of the highest levels since 2010.
More than 67% of school leavers last year were in higher or further education three months later.
Education Secretary Jenny Gilruth said the government was committed to enhancing outcomes for young people.
She said: "It's very welcome to see the vast majority of school leavers in Scotland continuing to enter a positive destination on leaving school, with the percentage of those in a positive destination after three months (95.7%) being the second highest since records began.
"These results are testament to the hard work of the young people and all those who support them."
Scottish Conservative education spokesman Miles Briggs said: "After years of insisting that education is their priority, the SNP have been missing in action while ministers have let down pupils and teachers at every turn.
"Under John Swinney's government, it's our most deprived students who now face the narrowest options and the worst prospects."