Trump has been pressing automakers to build more vehicles in the United States under efforts to renegotiate the North American Free Trade Agreement (NAFTA).
"We remain committed to working with the administration on a modernized NAFTA," GM spokesman Pat Morrissey said, adding the decision was made years ago.
Trump has previously criticized GM for building vehicles in Mexico for sale in the United States.
The United Auto Workers union called the decision disappointing. "This is all happening while UAW-GM workers here in the U.S. are laid off and unemployed," the union said in a statement.
Automakers have called NAFTA a success, allowing them to integrate production throughout North America and make production competitive with Asia and Europe.
Trump has repeatedly threatened to pull out of NAFTA unless the deal can be reworked in a way that favors the United States.
Reporting by Arunima Banerjee.