Warren Gatland’s first match after stepping down as Wales coach later this year will be against the team he has guided for over a decade.
Gatland, who leaves his post after the World Cup in Japan, has been appointed Barbarians coach for a fixture against Wales in Cardiff on 30 November.
The first meeting between the sides since 2012 will also be Wayne Pivac’s first outing as Gatland’s successor.
“It goes without saying that this match has huge significance to me,” said Gatland, who is next week set to be unveiled as the Lions coach for the 2021 tour to South Africa.
“Wales has been my home for the last 12 years and I have thoroughly enjoyed my time here. We have had some great success with Wales and we are currently in a hugely important year, culminating at the World Cup.
“To have the opportunity to return to Cardiff after the World Cup is fantastic.
“It will be an honour to coach the Barbarians, they symbolise the very best of rugby tradition and are an important part of the international game and I’m hugely looking forward to being part of the Baa-Baas club.”
Completing the double header on 30 November will be a first meeting between women’s teams representing Wales and the Barbarians.
Jasmine Joyce and Elinor Snowsill started for Barbarians in their 40-14 defeat by England women at Twickenham last weekend and could face the invitation team in the autumn.
Wales women’s coach Rowland Phillips said: “It has been a huge honour to have three current Wales players – Elinor Snowsill, Jazz Joyce and Alisha Butchers involved in the Barbarians’ first two international games.
“All three made an excellent contribution to the club.”