The meteorological agency issued its top-level evacuation alerts for the entire Japanese coast, warning of a tsunami of up to six metres (20 feet).
The quake struck about 382 kilometres (237 miles) northeast of Tokyo, the US Geological Survey said.
News that makes sense
Your trusted source for staying up-to-date with the world around you. Get free daily news updates and analysis, straight to your inbox.
Smoke could be seen rising from a building in Tokyo port.
Shinkansen bullet trains stopped when the quake struck.
