Márquez made his debut with Mexico on 5 February 1997 in a friendly match against Ecuador. It was reported that his call-up was due to an error made by national team coach Bora Milutinović, who wanted to call up fellow Atlas player César Márquez. Márquez became a regular call-up for Mexico, although he was not chosen for the 1998 FIFA World Cup squad. Márquez played various tournaments with the national team, winning the 1999 FIFA Confederations Cup and losing to Canada at the 2000 CONCACAF Gold Cup. Márquez started all four of Mexico’s games during the 2002 World Cup in South Korea and Japan, where he was given the captain’s armband by then coach Javier Aguirre despite his young age of 23. He received a red card during Mexico’s second round 2–0 loss to the United States for a deliberate mid-air head butt on Cobi Jones in the final minutes of the match. Márquez was selected by Ricardo La Volpe for the 2006 World Cup in Germany. Márquez played in all of three of Mexico’s opening round matches, and scored the lone Mexican goal in a 2–1 loss to Argentina in the second round off a Pável Pardo free kick which was headed to the far post by Mario Méndez, allowing an unmarked Márquez to strike the ball into the back of the net. The winner was scored by Maxi Rodríguez in extra time after Hernán Crespo had equalised for Argentina. New Mexico coach Hugo Sánchez called-up Márquez to participate in the 2007 CONCACAF Gold Cup and the 2007 Copa América. Márquez joined up with the team Mexico for the Gold Cup’s championship game against the United States after the conclusion of 2006–07 La Liga; he started the match, which Mexico lost 2–1. Márquez captained Mexico at the 2010 World Cup, scoring Mexico’s goal in the tournament’s opening match against South Africa which ended in a 1–1 draw. In Mexico’s 2–0 win against France, Márquez assisted Javier Hernández in Mexico’s first goal. On 29 March 2011, Márquez became the eighth player in history to reach 100 caps for Mexico in a friendly match against Venezuela, where Mexico drew 1–1. During Mexico’s opening match at the 2014 World Cup – a 1–0 win over Cameroon – Márquez became the first player to captain a team in four World Cups. On 23 June, he scored the opening goal in the 3–1 win against Croatia, thus advancing to the knockout stage. This goal made Márquez the first Mexican player to score in three consecutive World Cups, and the second Mexican player ever to score in three World Cups after Cuauhtémoc Blanco. In May 2015, it was announced Márquez was included in the 23-man squad that would participate in the Copa América tournament in Chile. He was selected to start as captain in Mexico’s opening fixture of the tournament, a 0–0 draw with Bolivia in Viña del Mar. The following year, Márquez captained Mexico at the Copa América Centenario, scoring in their opening game a 3–1 victory over Uruguay. On 11 November 2016, in a 2018 World Cup qualifier in Columbus, Ohio, Márquez scored the winning goal for Mexico in the 89th minute to seal a 2–1 victory over the United States. Appearing in Mexico’s second group-stage match against New Zealand at the 2017 FIFA Confederations Cup, Márquez – at 38 years and four months – became the second-oldest player to appear in a match in Confederations Cup history. He was also making his first appearance at the tournament since 2005, setting new record for most years between consecutive matches with twelve. On 4 June 2018, Marquez was named in Mexico’s final 23-man squad for the World Cup. This meant he would travel to his fifth World Cup finals, becoming only the fourth player in history to do so, alongside German Lothar Matthäus, Italian Gianluigi Buffon and fellow Mexican Antonio Carbajal. He was substituted in for Andrés Guardado at the 74th minute in Mexico’s 1–0 win over defending-champions Germany, and became the third man in history to play at a fifth World Cup. On 2 July, in Mexico’s round of 16 match against Brazil, Márquez became the first player ever to play as a captain in five World Cups and was substituted off at half-time, marking his last appearance as a professional.