The epicenter of the earthquake which struck at 06.34 a.m. local time was located 71 kilometers northwest of Enggano at a depth of 11 kilometers, the agency said on its official website.
The agency said the earthquake did not have the potential to cause a tsunami.
However, it asked local residents to stay alert for aftershocks.
No injury or casualty was reported.
Related news: Bali quake highlights importance of anticipatory measures: minister
Related news: 4.7-magnitude earthquake jolts Aceh Singkil