New figures have shown that affordable housing approvals now total 11,926 homes, up 12% (1,252 homes) on the previous year.
Meanwhile, there was an increase of 745 homes (4%) across all sectors, from 18,683 in 2016/17 to 19,428 in 2017/18.
The government said that this was the fifth consecutive increase and the highest annual figure since 2008/09.
Kevin Stewart, Scottish housing minister, said he was proud that the government had now delivered more than 78,000 affordable homes since 2007.
"I am delighted that these figures show we are on track to deliver at least 50,000 affordable homes over this parliament, including 35,000 for social rent.
- New £4m self-build loan fund opens in Scotland
- Scottish housing minister opens £2.5m affordable housing development
- Over 1,000 Scottish affordable homes supported by charitable bonds
“This is backed by more than £3bn – the single biggest investment in, and delivery of, affordable housing since devolution and we are determined to see it benefit all parts of Scotland.”
Kevin added that the government was starting work with the housing sector to consider how it was best able to deliver affordable homes after its current programme.
“This year's programme for government included proposals to develop a vision for housing in 2040 – the first time we have taken a long-term approach to ensuring that Scotland has housing fit for the future.
"That's vital if we are to ensure we meet the needs of people in the future and continue to deliver housing for the people of Scotland."