From June 2015 to November 2017, Rebić was not capped for Croatia. He was named in manager Zlatko Dalić's final squad for the 2018 FIFA World Cup in Russia. In the second group match against Argentina in Nizhny Novgorod, he volleyed after a mistake by opposing goalkeeper Willy Caballero to open a 3–0 Croatian win. In the Round of 16 match against Denmark, he had a chance to score near the end of extra time but was fouled by Mathias Jørgensen; Luka Modrić missed the resulting penalty but the Croats won in the shootout. Rebić started in the final, and was substituted for Andrej Kramarić after 71 minutes of a 4–2 loss to France at the Luzhniki Stadium.