Japan will quarantine people coming from China and South Korea for two weeks on arrival to prevent the spread of the new coronavirus, the country's prime minister said Thursday.

"We will strengthen immigration quarantines on people from the two countries," Prime Minister Shinzo Abe told a cabinet-level taskforce meeting on the virus.

"We will ask them to stay in designated areas for two weeks and not to use public transport in the country," Abe added, saying the measures would come into force from March 9 and last at least until the end of the month.

The government is calling for tourists from China, where the virus emerged and South Korea, which has been hard hit by the outbreak, to put off travel to Japan and will cancel visas for travellers from the two countries, Abe said.

"In order to reduce the amount of in-bound travel from China and South Korea, we will limit arrival destinations for aircraft from the two countries to Narita and Kansai airports," he said.

"We will suspend transport of passengers by ship and cancel temporary and multiple-entry visas that have already been issued."

More than 95,000 people have been infected and over 3,200 have died worldwide from COVID-19, which has now reached some 80 countries and territories.

Japan's government has been criticised for responding slowly and for its handling of a cruise ship where more than 700 people contracted the virus despite a quarantine.

Over 300 people have been infected domestically and six deaths have been linked to the outbreak, along with six from the cruise ship.

In recent days the government has stepped up measures to contain the virus and warned that the coming two to three weeks will be crucial for halting its spread, raising questions about whether this Summer's Olympics in Tokyo will be cancelled.

Schools across the country have been closed and events scratched, with everything from football matches and sumo bouts to concerts affected.

Other countries have also taken measures to block or limit arrivals from China and nations suffering a large number of cases including South Korea, Iran and Italy.

Japan had already banned the entry of people with recent travel to several centres of the outbreak, including two provinces in China and two parts of South Korea.