Álvarez debuted for the Mexico U17s in a 1–0 win over the Argentina U17s, and scored the only goal in the match. He was included in the roster that would participate at the 2019 U-17 World Cup. He scored four goals in the tournament, scoring the winning goal from a free-kick in the semi-final against the Netherlands as Mexico finished runner-up against Brazil.