Since his appointment to the national team spot in July 2014, Petković has guided the Swiss to the Round of 16 stages of both the UEFA Euro 2016 and the 2018 FIFA World Cup, along with the quarter-finals of UEFA Euro 2020. They also reached the 2019 UEFA Nations League Finals. At the UEFA Euro 2020, he led Switzerland to defeat world champions France 5–4 on penalties in the Round of 16, after a 3–3 draw, to qualify to the quarter-finals of the European Championship for the first time in their history.