The United States and Mexico booked their tickets to the World Cup finals in Qatar on Wednesday after securing the results needed to claim the last two automatic qualifying places from the CONCACAF region.
The USA were beaten 2-0 by Costa Rica in San Jose to finish third in the standings, while Mexico eased past El Salvador 2-0 in Mexico City to finish second overall.
Costa Rica finished qualifying in fourth place and will face New Zealand in a playoff for a World Cup berth.
Canada, who completed their successful qualifying campaign with a 1-0 defeat in Panama on Wednesday, had already qualified for the World Cup on Sunday.
Both the US and Mexico had all-but sealed qualification after wins on Sunday meant only a freak set of results in Wednesday’s final round would see either side relegated to a playoff place.
Costa Rica needed to beat the US by six goals or more in San Jose to have a chance of qualifying.
Two second-half goals in eight minutes by Juan Vargas and Anthony Contreras raised hopes of a miracle for the home fans, but the United States regrouped to close out the game, qualifying ahead of Costa Rica on goal difference.
“I’m extremely proud of this group,” US star Christian Pulisic said after Wednesday’s defeat.
“It’s a bit of a weird feeling right now because I hate to lose so much. But I’m really proud and I can’t wait to go to the World Cup.
“It’s definitely been a roller coaster. It’s never easy to come down and play in these countries, we know that.
“We battled through most of it. And at the end of the day, we’re at the top three and we’re going to the World Cup so we should be proud.”
The United States qualification comes after their shock failure to reach the 2018 World Cup in Russia, when an upset defeat to Trinidad and Tobago shattered their campaign.
Mexico ended their see-saw qualifying campaign with a victory which ensures they will continue their record of appearing at every World Cup since the 1994 tournament.
Mexico took the lead when Uriel Antuna jabbed home from close range on 17 minutes after a rebound from a Nestor Araujo header.
Wolves striker Raul Jimenez then doubled the Mexican lead from the penalty spot to leave ‘El Tri’ on course for Qatar.
In Wednesday’s other qualifying game, Jamaica defeated Honduras 2-1.