The quake was centered just northeast of the capital city in Ibaragi prefecture, about 40 kilometers (24 miles) underground, the agency said. There was no danger of tsunami waves, it said.
With some 35 million residents, Tokyo's metropolitan area is home to about a quarter of Japan's population.
A quake with an estimated magnitude of 8.3 hit Tokyo in 1923, killing 142,000 people. Powerful quakes in 1703, 1782, 1812 and 1855 also caused vast damage in the capital.
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, AP reports.
A nuclear-powered submarine of the British Navy surfaced in the ice of the Arctic for the first time in many years
President Putin never speaks about the things that do not exist, nor does he do the things that he can not do. Yet, some believe that Russian weapons are a fake