He played for Ecuador in the Copa América 2007. In that tournament he scored a consolation goal against Mexico as they were eliminated 2-1. On February 26, 2008, Mendez announced his retirement from the national team, to the surprise of most Ecuadorians and the Latin American world. He has stated that one of the reasons for his early retirement is dissatisfaction with the newly appointed Ecuador coach, Sixto Vizuete. However, on 12 May 2008, Méndez announced his return to the national team, after a meeting with Vizuete and the FEF president, Luis Chiriboga, in which they solved any differences and misunderstandings that could have led the player to his early retirement.