The U.S. Geological Survey said Saturday's quake struck off Sumatra about 122 miles from the town of Bengkulu.
Officials told CNN there was no tsunami threat but the shaking was felt in the areas of Sumatra and Aceh affected by the 6.4 quake that hit earlier in the week. Nearly 300 people were injured in that event.
It was not clear whether Saturday's quake was an aftershock of the 6.4 quake.
Pistorius testifies he didn't consciously pull trigger when he shot girlfriend
Charlize Theron not engaged to Sean Penn 'yet'