Newcastle United are set to face Cardiff in a pre-season friendly on August 11, a week before the start of the new Premier League campaign.
The sides last clashed at Cardiff City stadium during the Magpies' solitary season in the Championship, a successful promotion push two years ago.
On that occasion, Newcastle escaped with three points following a narrow win thanks to a Fabricio Coloccini header.
Last season Newcastle qualified for the Europa League, having narrowly missed out on fourth place to Tottenham.
The Bluebirds finished sixth in the Championship last term but were knocked out of the play-offs by West Ham United.