The agency reported the quake happened at 05:30 a.m. local time Monday (2230 GMT Sunday) with its epicenter located 47 km southeast of the district of Aceh Singkil and a depth of 23 km under the seabed, the agency said.
The earthquake did not have the potential to trigger a tsunami, it added.