Hanitser was a member of the Algerian Under-23 National Team at the 2005 Islamic Solidarity Games in Saudi Arabia.[2] In the opening game against Palestine, he scored two goals as Algeria went on to win the game 3-0.[3] He played in Algeria's remaining games at the competition but did not score. Hanitser was also a member of the team at the 2005 Mediterranean Games in Almeria, Spain.[4] In the opening game, he scored two goals against Tunisia, with the game ending 2-2 and Algeria winning the penalty shoot-out 5-4.[5]