Panama booked the last spot in the CONCACAF Gold Cup quarter-finals against the US with a 4-0 victory over Nicaragua in Group C on Sunday.
Mexico take top spot in the group after a 2-0 win over a Guadeloupe side who ended the game with nine men. They will face Haiti in the last eight.
Both teams went into the game having already qualified, with only top spot in the group at stake — Guadeloupe finish second and will face Costa Rica in the quarter-finals.
The other game in the last eight of the tournament features Canada against Honduras.
Panama, the Central American champions, had no trouble against a Nicaragua side who had to play the entire second half down to 10 men after Franklin Lopez was sent off for kicking Gabriel Gomez just before the break.
Panama were 1-0 up at the interval when Blas Perez slotted home in the 35th minute after some poor Nicaraguan defending.
Gabriel Gomez made it 2-0 in the 56th minute, before Luis Tejada scored twice to complete the rout.
In the late game, Mexico took the lead against Guadeloupe through a superb strike from Gerardo Torrado three minutes before the break, the midfielder taking the ball down on his thigh before blasting home from more than 20m out.
Guadeloupe, who do not feature in World Cup competition as they are not a member of FIFA, went down to 10 men after Alain Vertot was sent off for a second yellow card in the 72nd minute.
Ludovic Gotin was dismissed shortly after for a studs-up challenge.
Miguel Sabah thundered in a header from a corner five minutes from the end to ensure victory for Mexico, who were without the leadership of manager Javier Aguirre.
Aguirre clashed with Panama midfielder Ricardo Phillips in their 1-1 draw on Thursday and was given a three-match suspension.