The Pacific Tsunami Warning Center said there was "a very small possibility of a local tsunami" affecting coastal areas within about 100 km (62 miles) from the quake's epicenter.
The quake struck at 6:01 a.m. (2300 GMT Thursday), 120 km (75 miles) west-southwest of Sumatra's Bengkulu province and 650 km (405 miles) west-northwest of Jakarta.
The Bureau of Meteorology and Geophysics agency reported the epicenter was located 10 km (6 miles) underwater 153 km (95 miles) west of Lais, Bengkulu.
The region has been wracked by quakes and aftershocks for the past three days. (CNN)