Poland's Barbara Nowacka hosted Japan's Yōko Kamikawa in Warsaw on Saturday.
The talks focused on Japan's support for some 150,000 Ukrainian students, who attend Polish schools after fleeing the Russian invasion with their families, according to officials.
The Polish and Japanese ministers agreed that "Poland and Japan's commitment to helping Ukraine will contribute towards building the best possible relations" between the three countries.
Nowacka said Japan had "proven to be a friend of Poland and the Polish people" and Warsaw could count on support from Tokyo, just as Japan was now "helping Ukrainians, including those staying in Poland."
Poland's education minister also said she hoped Poland and Japan would "strengthen cooperation in education policy."
Meanwhile, Japan's Kamikawa said Warsaw and Tokyo shared a "strategic partnership," adding that "Japan wants to work together with countries like Poland, which love freedom," as cited by the ministry of education in Warsaw.
Japan's foreign minister stressed the importance of "dialogue and exchange of experiences" between the two countries, "including in the field of education," Polish state news agency PAP reported.
Kamikawa on Sunday visited Kyiv, and on Monday was set to meet with Poland's top diplomat Radosław Sikorski in Warsaw.
Source: PAP, gov.pl, dzieje.pl