The quake hit 140 kilometres (87 miles) northwest of the coastal town of Ternate at a depth of 45 km, according to the US Geological Survey.
The US tsunami warning centre said a "destructive Pacific-wide tsunami is not expected."
Copyright Agence France-Presse, 2019