The quake, which hit at a depth of 17 km, had a magnitude of 6.8, the US Geological Survey said.
The epicentre of the quake was far from the Sulawesi city of Palu, which was devastated by an earthquake and tsunami in September, but it was felt there and cause people to run into the streets in panic.
Indonesia is prone to earthquakes and volcanic eruptions due to its location on the seismically active Pacific "Ring of Fire."
More than 4,400 people were killed in the Palu disaster.
More about: Indonesia.