A strong earthquake struck off the Moluccas islands in eastern Indonesia causing panic among some residents.
A tsunami warning was issued but the country's meteorological agency later said the threat had passed.
The undersea earthquake of magnitude 6.5 struck some 315 km (195 miles) north of Ambon in the Moluccas, the US Geological Survey said.
There were no immediate reports of damage or casualties, an Indonesian meteorological official said.
The quake sent some frightened residents fleeing from shaky buildings and at least one hotel in the capital Ternate was evacuated, the Associated Press reports.
Indonesia sits on the seismically active so-called Pacific Ring of Fire and experiences frequent earthquakes.
Last year, more than 500 people died when a tsunami hit an area of the Java coast after an undersea earthquake.
And in the Asian tsunami of December 2005, over 130,000 people died in the northern island of Sumatra when waves destroyed swathes of the province of Aceh.