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.

Iran says peace talks would be 'unreasonable' following Israeli strikes
148 dead as Afghanistan faces harsher weather
Vance to lead US delegation to Iran talks on Saturday
Trump criticises NATO over Iran in meeting with alliance's boss
Bahrain airport begins gradual flight resumption
Israeli strikes pummel Lebanon, killing 250 in deadliest day of war
Trump says US will work closely with Iran, discuss sanctions
US and Iran agree to truce; huge strikes on Lebanon as Israel escalates
