The epicentre of the earthquake was off the coast of Fukushima prefecture, where strong tremors were recorded, the agency said, adding that a tsunami warning had not been issued.
There were no immediate reports of damage.
(Reporting by Kantaro Komiya; editing by Mark Heinrich)