In May 2018 he was named in Croatia's 23-man squad for the 2018 FIFA World Cup in Russia. He played the last match of group stage against Iceland making several crucial saves. Croatia finished as the runners-up of the tournament, losing to France in the final.