Madjer played for the Algerian national team for 19 years, and was present at the 1982 and 1986 FIFA World Cup finals. He retired as the nation's top goalscorer at 28, in 87 caps, having also won the Africa Cup of Nations in 1990 as the hosts incidentally beat Nigeria twice, in the opening match 5–1 and the final 1–0.