The All Blacks will take on Japan at the National Stadium in Tokyo on Saturday 29 October for the newly created Challenge Cup 2022.
The test will precede the All Blacks' Northern Tour which involves matches against Wales, Scotland and England in November.
It will be the seventh time the All Blacks play Japan and the first test between the two countries since they met in Tokyo in 2018.
New Zealand Rugby chief executive Mark Robinson said: "Rugby in Japan has grown its profile in recent years and that's been reflected in the results of the national team, so the All Blacks will expect a tough test in Tokyo.
"We are looking forward to building on our relationship with Japan Rugby and our partner Taisho Pharmaceutical in October. Taisho's support for this fixture has been key and I have no doubt it will be a great occasion seeing the two teams play at the National Stadium."