The Republic of Ireland and Northern Ireland will meet in a behind-closed-doors match at the Aviva Stadium on June 4.
The game is being used as preparation for both nations before their Euro 2016 qualifiers.
"It was important for us to get a quality game before the Euro 2016 qualifier against Romania and this game provides the perfect scenario on the back of the Qatar friendly," Northern Ireland manager Michael O'Neill is quoted as saying by The Guardian.
"Having the game behind closed doors will allow both myself and Martin flexibility which we wouldn't have under normal international circumstances and it will also help greatly in terms of our preparations for the important qualifier against Romania the following weekend."
The countries last played each other in 2011 in the Nations Cup, with the Republic claiming a 5-0 victory.