The announcement was made jointly with Microsoft CEO Setya Nadella at the official residence of Los Pinos.
The Microsoft CEO hailed the sweeping reforms promoted and implemented by the government.
The one-billion-dollar investment over a period of three years will support digital inclusion and education.
President Enrique Peña Nieto hailed Microsoft’s support for efforts to achieve digital literacy in the country.
He added that the company will continue to support technology clusters in states such as Aguascalientes, Guanajuato, Jalisco, Querétaro and Puebla.