The Japan Meteorological Agency said a local tsunami of up to one metre (3.3 feet) could impact the Pacific coastline in Fukushima, Iwate and Miyagi prefectures after the quake, whose epicentre US geologists placed at a depth of 13 kilometres.
Large areas of the coastline covered by the advisory are still recovering from the 2011 quake and tsunami disaster that killed more than 18,000 people and triggered a meltdown at the Fukushima Daiichi nuclear plant.
Plant operators Tokyo Electric said there were no immediate reports of abnormality after the quake, according to Kyodo news agency.
Kyodo said the city of Iwate had issued an evacuation advisory.
The United States Geological Survey said the quake struck around 129 kilometres east south-east of Namie, Japan, an estimated 284 kilometres east north-east of the capital Tokyo, at 4.22 am local time (2352 Friday).