In June 1997, Hiroyama was selected the Japan U-20 national team for 1997 World Youth Championship. He played 4 matches as right midfielder and scored a goal against Paraguay. On October 4, 2001, Hiroyama debuted for the Japan national team against Senegal. On October 7, he also played against Nigeria. He played 2 games for Japan in 2001.