 On 15 November 2014 he made his 81st appearance for the national team, surpassing Zlatko Zahovič as their most capped player of all time.On 8 October 2017, Cesar became the first Slovenian player to earn 100 national team caps, in a 2–2 home draw with Scotland in the 2018 FIFA World Cup qualification.He was sent off at the end of the match.