Gamesa said it has plans for a wind turbine manufacturing center in Leith, just north of Edinburgh.
"This is fantastic news for Scotland and shows that the U.K. remains an attractive place for foreign investment," British Prime Minister David Cameron said. "Scotland benefits from U.K.-wide initiatives to promote renewables and access to the entire U.K. consumer market."
The British government said it's on the way to generating as much as 18 gigawatts of wind energy by 2020, compared with the 1.6 GW available now.
The United Kingdom is the world leader in offshore wind capacity. The country aims to generate 15 percent of its overall energy from renewable resources by 2020.
In early March, the British government announced that Edinburgh would serve as the headquarters of the planned Green Investment Bank. The bank would serve to encourage more private investments in the clean energy sector.