A powerful 7.3-magnitude quake jolted eastern Japan on Wednesday night, rattling the capital Tokyo and prompting a tsunami advisory for parts of the northeast coast.
There were no immediate reports of casualties and initial details suggested only small tsunami waves were hitting the coast after an advisory that warned of waves up to one metre for the Fukushima and Miyagi regions.
The undersea quake, which caused temporary power cuts to more than two million households, hit at 11:36 pm (1436 GMT) off Fukushima's coast at a depth of 60 kilometres (37 miles), the Japan Meteorological Agency (JMA) said.
It came just days after Japan marked the 11th anniversary of a massive quake that triggered a deadly tsunami and the Fukushima nuclear disaster.
JMA said waves of 30 centimetres had been measured in the city of Ishinomaki in Miyagi, calling on residents to stay away from the coast.
Authorities said they were working to assess damage from the quake, as officials warned of potentially powerful aftershocks.
"Calls have been inundating police and ambulances in Fukushima and Miyagi," government spokesman Hirokazu Matsuno told reporters. "We're doing our best to assess the extent of the damage."
"Major aftershocks often happen a couple of days after the first quake, so please stay away from any collapsed buildings... and other high-risk places."
Japan's nuclear authority said no abnormalities were detected at the Fukushima plant that went into meltdown in 2011 when the tsunami hit.
Pumps for cooling pools storing spent fuel at separate plants in Fukushima and Onagawa, in Miyagi, temporarily stopped operating at some reactors but were being quickly restored, the country's nuclear watchdog said.
TV footage showed some structural damage in the northeast, including the collapse of a stone wall of Aoba castle in Sendai city.
And a shinkansen bullet train derailed north of Fukushima city, train company JR East said, but there were no immediate reports of injuries.
An official in the emergency department of the local government of Ishinomaki told AFP he had been woken by "extremely violent shaking".
"I heard the ground rumbling. Rather than feeling scared, I immediately remembered the Great East Japan Earthquake," he said, referring to the 2011 disaster.
Multiple smaller jolts hit the region in the hours immediately after the quake.
- 'Take action to protect yourself' -
Around two million households were left without power in the eastern Kanto region, including 700,000 in Tokyo, electricity provider TEPCO said, but power was being gradually restored in the capital and elsewhere.
In the northeast, 156,000 households lost power, regional energy company Tohoku Electric Power said.
Evacuation orders were issued in some northeastern towns, NHK reported, with Rifu town in Miyagi opening shelters in its official buildings.
Prime Minister Fumio Kishida told reporters the government was gathering information on the situation.
"Large-scale power outages have occurred, but they are expected to be largely resolved within an hour in TEPCO's service area," he said.
"Please pay attention to information on the earthquake, stay away from the coast and take action to protect yourself."
Japan sits on the Pacific "Ring of Fire", an arc of intense seismic activity that stretches through Southeast Asia and across the Pacific basin.
The country is regularly hit by quakes, and has strict construction regulations intended to ensure buildings can withstand strong tremors, but it remains haunted by the memory of the 2011 catastrophe.
A minute's silence was held last Friday, the anniversary of the disaster, to remember the some 18,500 people left dead or missing, most in the tsunami.
Around the stricken Fukushima plant, extensive decontamination has been carried out, and this year five former residents of Futaba, the region's last uninhabited town, returned to live there on a trial basis.
Around 12 percent of Fukushima was once declared unsafe but no-go zones now cover just 2.4 percent of the prefecture, although populations in many towns remain far lower than before.
V.Handa--BD