Italy's friendly against Spain in August will take place at Bari's Stadio San Nicola.
The two teams will play each other on August 10 in a tie which Azzurri boss Cesare Prandelli is looking forward to.
"I can't wait to play the glamour friendlies," the former Fiorentina tactician said before Tuesday's 2-0 loss against the Republic of Ireland.
"They are the kind of tests that can allow us to take a leap in quality that I expect and give my side a true dimension."
Italy have played Spain on 28 occasions, winning nine, drawing 11 and losing eight. They have scored 36 goals in those ties, conceding 28 in the process.
They last beat Spain at the 1994 World Cup, but have lost two of the next five games. Their last meeting was at Euro 2008 when the Azzurri lost on penalties.
Betting on Serie A? Bet365 are offering a 100% deposit bonus, up to £200 - find out more