In 2014, Gallardo was eventually promoted to the first team by coach Guillermo Vázquez.[5] Gallardo scored his first goal with UNAM in a Copa MX group stage match against Toluca on 16 September 2014 that marked his debut with the jersey that ended 2–2 but didn't make his competitive league debut in Liga MX until 23 November 2014 which ended in a 4–2 win against Monterrey.[6]
On 9 August 2017, during an Apertura 2017 Copa MX group stage match against Monterrey, he would score the tying goal during stoppage time, leaving the match 1–1.[8]
Monterrey
On 29 May 2018, Gallardo joined Monterrey.[9] He would make his debut with the team on 21 July 2018 as a starter against Pachuca, winning 1–0.[10] On 29 September, he would score his first goal with Monterrey, scoring on the 74th minute in a 3–0 win over Tijuana.[11] On 20 October, in a league match against Toluca, he scored the tying goal at the 73rd minute in which Monterrey would later go on to win 2–1.[12]
On 23 October he scored the decisive penalty in the shootout of the Apertura 2018 Copa MX semi-finals against Pachuca, sending his team to the final.[13] On 3 November he provided an assist and scored a goal in Monterrey's 2–0 victory over Veracruz.[14]
Gallardo received his first call up to the senior national team to replace the injured Ángel Sepúlveda for matches against New Zealand and Panama in October 2016,[19] making his international debut on the 8th of the month as a starter against New Zealand in a 2–1 victory, contributing a crucial pass for the winning goal.[20]
On 28 June 2017, Gallardo was called up to participate in the 2017 CONCACAF Gold Cup,[21] managing to appear in all games until their 1–0 semi-final loss against Jamaica.
In May 2018, Gallardo was named in Mexico's preliminary 28-man squad for the World Cup,[22] and in June, was ultimately included in the final 23-man roster.[23] During Mexico's final group stage match against Sweden, he received a yellow card in the 13th second of the match for his elbow contact made with Ola Toivonen's face, marking it as the fastest yellow card given in FIFA World Cup history.[24] He went on to play as a starter in all of the group stage matches, including the round-of-16 loss against Brazil.[25]
He was included in Gerardo Martino's preliminary roster for the 2019 CONCACAF Gold Cup[26] and was eventually in the final list.[27] He appeared in all matches of the tournament, as Mexico defeated the United States in the final.[28] He was listed in the tournament's Best XI.[29] Following the victory, Martino declared Gallardo to be the best player of the match.[30]
In October 2022, Gallardo was named in Mexico's preliminary 31-man squad for the World Cup, and in November, was ultimately included in the final 26-man roster.[31]
Gallardo is known for intensity, pace, and physical strength, allowing him to be both dangerous and intense during a whole match.[33][34]FIFA described him as "Gallardo's many assets include his speed, ability to take people on and his selfless distribution. A regular source of assists and the archetypal team player, he is adept at pressing high up the pitch and catching opponents out of position."[25]
Starting off as a left-winger on the club level, former Mexico national team coach Juan Carlos Osorio used him on a more defensive position as left-back.[35][34] With the arrival of new national team coach Gerardo Martino, he chose to keep him as a left-back.[36]