Esposito was a regular for the Under-19 team of Inter, despite being only 17 at the time, also appearing in the 2022–23 UEFA Youth League.
[9] Esposito made his professional debut on 14 August 2023, coming on as a substitute in the round of 64 of the Coppa Italia against Venezia.
Between May and June 2023, he took part in the 2023 FIFA U-20 World Cup, which Italy ended as runners-up, and scored one goal during the tournament and playing also the final.
[12] Just a month later, in July, he was part of the Italy squad that won the 2023 UEFA European Under-19 Championship, scoring one goal as well.
[13] On 8 September 2023, he made his debut with the Italy U21, in the 2025 UEFA European Under-21 qualifying match against Latvia.