Silva was selected for the 2017 FIFA Confederations Cup, making his tournament debut when he replaced Ricardo Quaresma for the last eight minutes of the 2–2 group stage draw with Mexico. He scored his first goal in the competition on 24 June, playing the full 90 minutes in the 4–0 win against New Zealand. In the third-place play-off, in which his team eventually defeated Mexico 2–1 after extra time, he had his early penalty saved by Guillermo Ochoa.