An earthquake of magnitude 6.6 struck off the northwest coast of Indonesia's Sumatra island on Friday, the GFZ German Research Center for Geosciences (GFZ) said.
The quake was at a depth of 10 km.
Indonesia's weather and geophysics agency, BMKG, put the quake at 7.2 magnitude and at a depth of 19 km but said it had no potential to trigger a tsunami wave.
A Twitter user, Siska Sasmita, said Friday's quake was felt strongly in Padang city on Sumatra's west coast.
"We ran outside the house because the quake was felt for a pretty long time," said Goris Tukan, a resident of Nias island, off Sumatra. He said no damage were seen in his neighbourhood.
Disaster mitigation agency official Filifo Daili said the quake was felt for 20 seconds and authorities were still collecting information about its impact.

Tanzania's Hassan declared landslide winner in election marred by violence
Vietnam's ancient town Hoi An works to restore tourism after devastating floods
Indian temple stampede kills nine, injures several
Turkey to host Gaza meeting amid ceasefire concerns
Tanzania opposition says hundreds killed in vote protests
Turkey sentences 11 people to life in prison over ski resort hotel fire
China sends its youngest astronaut to 'Heavenly Palace' space station
Israel launches more strikes on Gaza overnight, testing fragile truce
