TOKYO  — A powerful typhoon blew over Japan's southernmost islands on Tuesday and was headed toward the country's main southern island and the Korean Peninsula.

More than 20,000 homes were left without electricity, according to Okinawa Electric Power Co. As of noon, Typhoon Maysak had already traveled past the area around Okinawa, home to U.S. military bases, but warnings continued to be issued about strong gusts that could cause homes to collapse.

Extremely high tides were a risk as well.

'EXCESSIVE' SUMMER MONSOON RAINS IN ASIA DISPLACE MILLIONS, CAUSE AT LEAST 500 DEATHS

The Japanese Meteorological Agency had said earlier that Maysak was expected to later make landfall on Kyushu, Japan’s main southern island, but its course appeared to be swerving away.

This Monday, Aug. 31, 2020, satellite image released by NASA shows Typhoon Maysak over Japan's southernmost islands, including Okinawa, center. (NASA Worldview, Earth Observing System Data and Information System (EOSDIS) via AP)

Still, its passing close by could bring strong winds and rain.

The storm is on course to hit South Korea by Thursday. A typhoon that hit the Korean Peninsula last week caused scattered minor damage in both Koreas.

CLICK HERE FOR MORE WEATHER COVERAGE FROM FOX NEWS

Maysak was packing maximum winds of 112 miles per hour at its center by midday, the meteorological agency said.

A broken tree blocks a road as a powerful typhoon blew over Naha city, Okinawa, southern Japan Tuesday, Sept. 1, 2020. (Kyodo News via AP)

Japan's southern islands are often been hit by mudslides and flooding during typhoon season.

CLICK HERE FOR THE FOX NEWS APP