The quake measuring up to magnitude 6.5 struck North Sumatra in western Indonesia earlier in the day. The local disaster mitigation office (BPBD) said several buildings had been destroyed.
It was earlier reported that four people were killed as a result of earthquake.
"Dozens of people are under the rubble of collapsed buildings," Said Mulyadi, the deputy head of the district, said as quoted by the news portal Detik.com.
A rescue operation is underway. The BPBD head, Puteh Manaf said the quake razed several public buildings, as well as mosques and private homes, according to the Indonesian news agency Antara.
The earthquake was felt across the region and was followed by four aftershocks, although no tsunami wave is expected.
Indonesia is located in the so-called Ring of Fire quake zone where a large number of earthquakes and volcanic eruptions occur.