The Canadian men's soccer team will host Costa Rica in a friendly May 28 in Edmonton.
The match will be part of Canada's preparation for the CONCACAF Gold Cup tournament in July. Costa Rica plays Honduras in World Cup qualifying barely a week after playing Canada.
"This match, which will serve as great preparation for the men's national team in the lead up to this summer's Gold Cup, is the result of the strong relationships the Association has been able to build with other CONCACAF nations," Canadian Soccer Association president Victor Montagliami said.
The last time the two teams met, in the 2009 Gold Cup, the game ended in a 2-2 draw. Canada has a 4-7-7 record against Costa Rica.
Canada will open the Gold Cup against Martinique July 7 in Pasadena, Calif.