Hosny also represented the Egyptian national team in both youth and senior levels. He was a member of the winning squad of the 2008 and 2010 Africa Cup of Nations and won the Player of the Tournament award in 2008. Hosny was also included in Egypt's 2009 FIFA Confederations Cup squad, and played all of his nation's matches during the tournament.