In March 2015, Tapia was called up by the Peru's senior team for the first time. He made his debut on 1 April 2015, in a 2–2 draw against Venezuela. He was expected to be in the Copa América for the Peru squad, but an injury prevented him from doing so. Despite this, he was included in the squad for the Copa América Centenario and played all of the four matches in the campaign. Tapia scored his first Peru goal on 7 September 2016, in a 2–1 win over Ecuador.