Aftershocks rattled communities in southern Japan as businesses and residents examined the widespread damage from an unusually strong earthquake in which nine people were killed and about 800 others injured.

Rescue workers were combing through the wreckage in hard-hit areas to make sure there were no more trapped people, said Shotaro Sakamoto, a Kumamoto prefecture official.

Concern about aftershocks was keeping many people from starting the huge task of cleaning up, police said.

Prime Minister Shinzo Abe told reporters the government wants to prevent any secondary disasters from aftershocks.

The magnitude 6.5 quake struck at 9.26pm local time on Thursday at a depth of seven miles (11km) near Kumamoto city on the island of Kyushu, the southernmost of Japan's four main islands.

About 44,000 people evacuated their homes and stayed in shelters overnight. Many left the next day, but Mr Sakamoto said he was not sure if many would return for another night, depending on the conditions of their homes and if power is restored.

In the hardest-hit town of Mashiki, about nine miles (15km) from the centre of Kumamoto city, entire buildings collapsed, roofs slid off, and windows and walls crumbled, scattering glass and debris.

Huge boulder-like rocks tumbled from the walls of historic Kumamoto castle, which was closed to the public on Friday.

Five women and four men were killed, the Fire and Disaster Management Agency said. One man in his 20s died; the other victims ranged from their 50s to one woman in her 90s. Eight of the nine victims were from Mashiki.

There were varying reports on the number of injured. The government's chief spokesman, Yoshihide Suga, said at least 860 people had been injured, 53 seriously. Kumamoto prefecture tallied 784 injured.

Mr Suga said 1,600 soldiers had joined the relief and rescue efforts. TV reports showed troops delivering blankets and other supplies to those who took shelter.

The area is 800 miles (1,300km) south-west of Tokyo.

Rescue efforts, repeatedly disrupted by more than 100 aftershocks, continued through the night. Japanese television showed a baby wrapped in a blanket being carried out of the rubble of a home.

Electricity and water services were cut off in some area, and some residents were hauling water from local offices to their homes to flush toilets.

TV broadcasters were urging residents to check on elderly people living alone who might not have been able to escape their homes unaided.

Mr Suga said there were no abnormalities at nearby nuclear facilities. The epicentre was 74 miles (120km) north-east of Kyushu Electric Power Co's Sendai nuclear plant, the only one operating in the country.

Most of Japan's nuclear reactors remain offline following the meltdowns at the Tokyo Electric Power Co's Fukushima plant in 2011 after a magnitude 9.0 earthquake triggered a huge tsunami.

According to the Japan Meteorological Agency, Mashiki sits near two faults on Kyushu. The area is also near Mount Aso, a huge, active volcano. JMA officials said the quake was unusually strong for Kyushu.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.