In May 2019, Allan was included in Brazil's 23-man squad for the 2019 Copa América on home soil. On 7 July, he come on as an injury-time substitute in Brazil's 3–1 victory over Peru in the final of the tournament, at the Maracanã Stadium.