Javier Hernandez scored in the 88th minute and Hector Herrera struck in stoppage time as Mexico denied Trinidad and Tobago a shock victory.
Trinidad and Tobago almost pulled off a shock result in CONCACAF World Cup qualifying on Friday, but three late goals saw Mexico claim a 3-1 win in San Luis Potosi.
Having trailed up until the 78th minute, Javier Hernandez's 88th-minute goal put Mexico ahead before Hector Herrera sealed victory in the fourth minute of stoppage time.
Mexico dominated play for the majority of the match, but Trinidad and Tobago's Shahdon Winchester opened the scoring in the 66th minute.