Scotland has narrowly missed its target to have all its electricity used in 2020 generated by renewable sources.
Data published by the Scottish Government show that the equivalent of 98.6% of all electricity used in Scotland came from renewables.
The total for 2020 was up from 89.8% in 2019.
In addition, Scotland did not reach the target to deliver the equivalent of 11% of heat demand from renewable sources by 2020.
The official figures also show that nearly 61.8% of the electricity that Scotland generated in 2020 came from renewable sources – that compares to almost 39% in England and Wales.
Michael Matheson, Cabinet Secretary for Net Zero, Energy and Transport, said: “Whilst we do have many challenges ahead of us if we are going to meet our ambitious targets, we have laid the groundwork in 2021 for Scotland to take important leaps forward towards net zero.”
Last month, the Scottish Government allocated £350 million to decarbonise the heating of one million homes as part of a massive £2 billion climate crisis investment.