The side, who have been playing one-day internationals since 2006, were handed Test status in June, along with Afghanistan, and will make their debut in the five-day format in the May 11-15 match.
"We are delighted that Malahide has agreed to host this historic game against Pakistan," Cricket Ireland chief executive Warren Deutrom said.
"Even in its short history of hosting our matches, the club has already given us some wonderful memories, and we trust that May 11 and its ensuing days will provide many more."
Malahide chairman Ciaran Keohane said: "Malahide Cricket Club is delighted to host the Inaugural Test Match in Ireland. We are looking forward to welcoming both teams to The Village."
Cricket has been played in Ireland for nearly 200 years but it was not until 1969 that they made the rest of the world game take notice when they bowled out the West Indies for just 25 at Sion Mills in a televised match.
Ireland have since established themselves during the course of several World Cups, recording one-day international wins over Pakistan, the West Indies and England.
First Published: November 21, 2017, 6:03 PM IST