On 17 March 2017, Foley made his debut for Ireland U20, starting for the side in their 14–10 defeat against England U20 in Donnybrook Stadium. Foley was also selected in the Ireland Under-20s squad for the 2017 World Rugby Under 20 Championship.