Goals from Raul Jimenez and Marco Fabian propelled Mexico to a 2-0 win over Canada on Thursday in Gold Cup Group A action.
Both sides dropped their opening match of the tournament, with Mexico losing 2-1 to Panama, while Canada suffered a 1-0 defeat at the hands of Martinique.
And with pressure mounting on Mexico head coach Jose Manuel de la Torre, his side responded with three points on Thursday to remain in the hunt.
The first goal arrived after 42 minutes from a corner kick when Jorge Enriquez flicked on a cross from Luis Montes, allowing Jimenez to dart in front of his defender and finish from eight yards.
Fabian drew a penalty kick in the 57th when he was tripped after just entering the area by Canada's David Edgar, and he picked himself up and fired home the spot kick.
The loss eliminates Canada from the competition, while Mexico will next face Martinique on Sunday.
Martinique and Mexico will both enter the match on three points after Martinique lost 1-0 to Panama on Thursday to an 85th-minute goal from Panama's Gabriel Torres, who scored from the penalty spot.