The quake struck at 0309 IST at a depth of 30 kilometres (19 miles), 88 kilometres southeast of Sinabang, on the small island of Simeulue, the US Geological Survey said.
Diana Rahyu, an official from Indonesia's meteorology, climatology and geophysics agency, said the quake was felt in parts of Sumatra, a huge island to the west of Simeulue.
But she added: "There is no threat of a tsunami... Until now, there are no reports of casualties or damage."
