Microsoft has signed a 20-year contract with RES Americas to buy out all the electricity generated from the yet to be built Keechi Wind Farm Project.

Construction on the 110MW wind project, which is 70 miles north-west of Fort Worth, Texas, is all set to start in early 2014.

The power generated through the wind farm’s 55 turbines would be fed into the same electrical grid that supplies the software maker’s data centre in San Antonio.

Microsoft chief environmental strategist Rob Bernard said: "We have a long standing ambition to move in the direction of sourcing more clean energy as a company, so over the last few years we’ve increasingly purchased something called RECs – renewable energy credits (more than 2.3 billion kWh globally) – and so this is an opportunity to go to the next stage and invest directly in green energy."

Microsoft will also be supplied with 430,000mwh of energy generated, which is about 5-10% of the firm’s overall electricity consumption.

RES Americas president and CEO Susan Reilly said: "The Texas electrical grid is like a pool, and Microsoft is adding clean, green wind power to that pool," Reilly said.

Other firms powering their data centres with 100% renewable power include Apple, Facebook, Google, Rackspace, Salesforce and Box.