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.

Sydney Airport flights disrupted due to air traffic controller shortage
Philippine firefighters enter charred ferry as search continues for dozens missing
More US lawmakers seek AI rules after Anthropic researchers warn of extinction
Fire in rebel-held east Congo kills 24 schoolchildren
Trump says he does not regret Iran war despite potential impact on elections
Trump touts $5,000 payout if Republicans win as Vance waits in wings
Search expands after Philippine ferry fire kills five and leaves dozens missing
Trump says Iran war to end after US midterm elections
