Renewable energy accounted for 42% of the total electricity consumption in Germany in 2021, compared with nearly 46% in the prior year, and the decline was primarily due to lower electricity production from wind power in the first half of the year.