Taiwan thanked its former colonial master for its generosity.
"The relationship between Taiwan and Japan has always been extremely close, and our friendship is firm and deep," Taiwan's Foreign Ministry said. "Whenever disasters or accidents occur, both sides immediately lend a helping hand to each other and send help in the hour of need."
The donation is a triumph for Taiwan President Tsai Ing-wen, who has faced public anger about the slow arrival of vaccines and small protests by the main opposition party the Kuomintang outside her offices.
The donation "reflects the results of close exchanges between the Tsai Ing-wen government and the Japanese government over the past five years", Taiwan's ruling Democratic Progressive Party said.