The affected models include 2014 Chevy Silverados and GMC Sierra full-size trucks.
GM says the vehicles have problems with their software that could lead to the overheating of exhaust components and cause fires.
Eight fires from the issue have been confirmed but no one was injured.
Drivers will be contacted about the recall by mail. They can take their vehicles to dealerships for free repairs beginning next week.
In the meantime, GM urges owners of the trucks in question "to avoid leaving their trucks to idle unattended."