The Japan Football Association said Japan will face the five-times World Cup winners in Wrocklaw, Poland, on October 16, four days after a scheduled game with France in Paris.
"It's very pleasing to get the chance to play two games against such strong opposition," said Zaccheroni, bidding to guide Japan to their fifth successive World Cup.
"It is important for Japan to challenge the best teams away from home."
The two games come before the resumption of the final round of Asian 2014 World Cup qualifiers. Japan comfortably lead their group with seven points from three matches.