Marking the 81st anniversary of Japan's surrender in World War II, Koizumi wore a dark suit and tie as he visited Yasukuni Shrine on Saturday.
Kimi Onoda, minister for economic security, also visited, public broadcaster NHK reported.
Prime Minister Sanae Takaichi, who visited the shrine in central Tokyo multiple times before becoming leader in October 2025, sent a ritual offering, Kyodo news agency reported.
"China strongly condemns the negative moves by the Japanese side concerning the Yasukuni Shrine, and has already lodged solemn representations and a strong protest with Japan," a foreign ministry spokesperson said, according to state broadcaster CCTV.
South Korea's foreign ministry expressed "deep regret" over what it called the "anachronistic" actions of Japanese leaders who sent offerings or visited Yasukuni Shrine, and urged Japan's leaders to face history and demonstrate through actions "humble reflection and sincere remorse" for the past.
The ministry said this was an important basis for building future-oriented bilateral relations based on trust.
China and South Korea have said visits by senior Japanese officials gloss over Tokyo's wartime actions and damage diplomatic ties.
Among the 2.5 million war dead commemorated at Yasukuni are 14 wartime leaders convicted of the most serious war crimes, along with over 1000 others found guilty by Allied tribunals after Japan's 1945 defeat.
Japanese officials have explained past visits as being in their personal capacity to honour those who died in the nation's wars.
The last sitting Japanese prime minister to visit Yasukuni Shrine was Shinzo Abe in 2013, when he drew an expression of disappointment from the administration of then-US president Barack Obama.
Koizumi has visited the shrine in the past, including as agriculture minister in 2025.
The last sitting prime minister to visit on the anniversary of Japan's surrender was his father, Junichiro, in 2006.