The 7.5MW Fishermen Three project, comprising three Nordex 2.5MW turbines, was completed in mid-March.
It was developed by a joint venture between Community Energy Scotland and the Berwickshire Housing Association (BHA). It is located near Cockburnspath near Scotland's border with England.
BHA will use the roughly £20 million (€23.7 million) in revenue from the project to build around 500 homes in the area over the next 20 years. Futher proceeds will be used to support other local charitable groups.
"The idea for the wind farm came when BHA realised that we had to be innovative in order to solve the dilemma of how to keep building new homes for social rental, which are so badly needed in this area, at a time when funding for new housing through traditional channels was in decline," said BHA chief executive Helen Forsyth.
"The wind farm will provide BHA with a reliable, predictable, low-maintenance source of income that will allow us to build a steady stream of new affordable homes at a time when services are all too often being cut," Forsyth said.
The project was supported by funding from Triodos Bank and the Scottish government-backed Renewable Energy Investment Fund.