A strong earthquake rocked eastern Japan late Wednesday, shaking buildings in Tokyo and nearby areas, but there was no immediate report of injuries or damage.

The earthquake, with a preliminary magnitude of 6.5, was centered 24 miles below the sea off the coast of Ibaraki prefecture, the U.S. Geological Survey (search) said. Japan's meteorological agency earlier put the magnitude at 6.2 from the quake, which hit at 8:50 p.m. (7:50 a.m. EDT). There was no danger of tsunami, it added.

Runways at Tokyo's Narita airport (search) closed temporarily but later reopened, Kyodo News agency said. Bullet train service north of Tokyo also was suspended but quickly resumed.

A nuclear power plant in Tokaimura near the quake zone had shut down automatically, according to national broadcaster NHK.

The quake also shook buildings in Ibaraki, Chiba (search) and Fukushima prefectures.

Japan is one of the world's most earthquake-prone countries because it sits atop four tectonic plates. Since the late 1970s, the government has taken measures to strengthen its monitoring of seismic activity, and to coordinate steps with local governments on how to cope with earthquakes.

On Oct. 23, 2004, a 6.8-magnitude earthquake hit northern Japan, killing 40 people and damaging more than 6,000 homes. It was the deadliest to hit Japan since 1995, when a magnitude-7.2 quake killed 6,433 people in the western city of Kobe.