Team Melli will prepare for their September 11 World Cup qualifier against Lebanon with a clash against the North Africans in Hungary which has now been confirmed
Goal.com reported the two nations were in talks on a potential friendly earlier in the week and the Tunisian Football Federation (FTF) have confirmed now the match on its website.
Iran will use the match to prepare for their 2014 Fifa World Cup qualifier against Lebanon on September 11.
Team Melli currently have four points from two matches in the final round of qualifying for Brazil 2014 through Asia.
Carlos Queiroz's side will hold a camp in Hungary in mid-August, with the match on a Fifa date, coming ahead of another friendly against Syria in Tehran on September 4.
Hatem Trabelsi's Tunisia are preparing for an African Cup of Nations qualifier against Sierra Leone on September 7.