 On 15 November 2014, Diouf scored in a 1–0 win against Egypt which saw Senegal qualify of the 2015 Africa Cup of Nations.At the tournament finals, Diouf scored Senegal's equalising goal as they defeated Ghana 2–1 in the team's opening match.In May 2018, he was named in Senegal's 23-man squad for the 2018 FIFA World Cup in Russia.