They added that more than 130 people had been injured, many with broken bones.
Saturday's quake was the Southeast Asian nation's deadliest since a 2022 quake killed hundreds in West Java.
A sprawling archipelago of 290 million people, Indonesia straddles the "Pacific Ring of Fire", a seismically active zone where tectonic plates meet, triggering frequent earthquakes and volcanic eruptions.
The disaster agency said on Sunday nearly a thousand aftershocks had been recorded since the quake.
